微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 有關quartus II 16.1 + modelsim SE仿真問題

有關quartus II 16.1 + modelsim SE仿真問題

时间:10-02 整理:3721RD 点击:
Quartus 16.1 的Simulator waveform editor無法模擬仿真波形200us,所以利用quartus II 16.1 + modelsim SE進行波形仿真
我使用quartus II 16.1軟件編譯了下列程式:
//////////////////////////////////////////////////////////////////////////
module and_or_gate (a,b,c,d,o1,o2,o3);
input a, b, c, d;
output o1, o2, o3;
reg o2, o3;
assign o1 = ~( (a&b) | (c&d)  );
always @ (a or b or c or d)  // events only used by simulators
begin
o2 = ~( (a&b) | (c&d) );
end
always
begin
o3 = ~( (a&b) | (c&d) );
end
endmodule

////////////////////////////////////////////////////////////////////////////////
編譯完後沒有任何錯誤報告產生,然後再generate Modelsim Testbench and Script產出兩個
and_or_gate.vwf.vt 和 and_or_gate.vwf.do檔案
完成後開啟modelsim將and_or_gate.vo, and_or_gate.vwf.do, and_or_gate.vwf.vt三個檔案加入到專案進行組譯, 如下圖1



圖1

完成組譯後在Simulatate\start simution進行設置SDF,將reduce SDF error to warmings and disable SDF warmings打勾,如下圖2,3



圖2



圖3

完成後卻出現Error loading Design,如下圖4



圖4

要如何才能進行modelsim 波形仿真?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top