ModelSim仿真错误集锦!!!

ModelSim仿真过程中经常出现很多错误,我们知道在Quartus中调用RTL Simulation(寄存器传输水平的仿真)会自动自动打开安装ModelSim仿真软件。在不能出现波形文件的时候常常是这些问题:

需要开发者向上定位到错误所在位置,一般出现红色的还需要往上查找错误。。。。

1、Missing instance name in instantiation of 'xxx'.  

    xxx为模块名,这说明你在testbench文件中调用的xxx模块,但是没有给实例名

修改方法: 查看文件为模块【添加实例名】

2、near "initial": syntax error, unexpected initial, expecting ';'

在initial模块附近缺少分号" ; "

3、

# ** Error: (vsim-3053) C:/Users/tlm/Desktop/cnt_8/prj/cnt_tb.v(19): Illegal output or inout port connection for "port 'RST_N'".
#
#         Region: /cnt_tb/cnt_ins
# Error loading design

指明了cnt_tb模块中实例名cnt_ins的信号RST_N没有连接,或者连接错误

猜你喜欢

转载自blog.csdn.net/qq_40793742/article/details/81669131