出错报告信息如下:
** Error (suppressible): (vcom-12110) All optimizations are disabled because the -novopt option is in effect. This will cause your simulation to run very slowly. If you are using this switch to preserve visibility for Debug or PLI features, please see the User’s Manual section on Preserving Object Visibility with vopt. -novopt option is now deprecated and will be removed in future releases.
Errors: 1, Warnings: 0
** Error: C:/modeltech64_10.7/win64/vcom failed.
Error in macro ./load.do line 27
C:/modeltech64_10.7/win64/vcom failed.
while executing
“vcom …/src/lvds_trans/test_gen.vhd”
改正的方法是:
1.在do文件vcom或者vlog后面加-vopt
比如vcom …/src/lvds_trans/test_gen.vhd
改为vcom -vopt …/src/lvds_trans/test_gen.vhd
或者
2.在modelsim10.7安装路径下找到modelsim.ini文件,我的在C:\modeltech64_10.7\modelsim.ini,
将modelsim.ini中的VoptFlow = 0 改为 VoptFlow = 1
1和2选择其中一种修改方式即可