Moelsim error(一)

(一)this

Modelsim報錯:atom

Error loading design
# Error: Error loading design
# Pausing macro execution
# MACRO ./myadder_run_msim_gate_verilog.do PAUSED at line 12spa

網上有說解決辦法有:1)在安裝目錄下把modelsim.ini文件的只讀去掉,但我已是隻讀了blog

                            2)license問題,沒有破解好,但我作其餘仿真的時候是好的 it

解決辦法:在testbench中添加了一句`timescale 1ns/1nsio

 

 (二)編譯

這個錯誤好像是由於已經開了一個modelsim,關掉再來就行了。test

 直接調用modelsim-altera獲得了仿真波形。file

 

(三) model

** Warning: E:/modelsim/adder/simulation/modelsim/myadder.vo(85): Unable to access $sdf_annotate file pathname myadder_v.sdo for reading.

# ** Error: E:/modelsim/adder/simulation/modelsim/myadder.vo(1616): Module 'cyclone_lcell' is not defined.
# ** Error: E:/modelsim/adder/simulation/modelsim/myadder.vo(1644): Module 'cyclone_io' is not defined.

# Optimization failed
# Error loading design

沒有添加.sdo文件。

 

(四) 

# ** Error: (vsim-3033) E:/modelsim/adder/simulation/modelsim/myadder.vo(267): Instantiation of 'cyclone_io' failed. The design unit was not found.
# Region: /t/m
# Searched libraries:
# D:\modeltech_10.0c\win32\work
# ** Error: (vsim-3033) E:/modelsim/adder/simulation/modelsim/myadder.vo(310): Instantiation of 'cyclone_lcell' failed. The design unit was not found.
# Region: /t/m
# Error loading design

這是由於我編譯的是cycloneii_atoms.v

 (五) 

# Compile of t.v failed with 1 errors.
# Compile of myadder.vo failed with 1 errors.
# Compile of cyclone_atoms.v failed with 1 errors.

這是由於work這個library被刪掉了。

 

 (六) 
# ** Error: (vsim-7) Failed to open SDF file "myadder_v.sdo" in read mode.
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-SDF-3445) Failed to parse SDF file "myadder_v.sdo".
# Time: 0 ps Iteration: 0 Instance: /t File: E:/modelsim/adder/t.v
# Error loading design

解決:http://blog.chinaaet.com/detail/35266

將用QuartusII先生成的.sdo文件考到與工程名同目錄下,工程名的後綴名爲.mpf

 

 (七) 

# ** Error: E:/QUARTUS/ex9/sdram_mdl/sdr_test.v(148): 'syswr_done' already declared in this scope (sdr_test).
# ** Error: E:/QUARTUS/ex9/sdram_mdl/sdr_test.v(162): 'tx_start' already declared in this scope (sdr_test).
# ** Error: D:/modeltech_10.0c/win32/vlog failed.

 

# ** Error: E:/QUARTUS/ex9/sdram_mdl/sdram_ctrl.v(88): Undefined variable: cnt_clk_r.
# ** Error: E:/QUARTUS/ex9/sdram_mdl/sdram_ctrl.v(192): 'cnt_clk_r' already declared in this scope (sdram_ctrl).
# ** Error: D:/modeltech_10.0c/win32/vlog failed

經過把信號定義挪到調用模塊前面問題解決

相關文章
相關標籤/搜索