当前位置:   article > 正文

Modelsim与Vivado联合仿真问题解决_[usf-modelsim-51] path to custom 'vsim.exe' execut

[usf-modelsim-51] path to custom 'vsim.exe' executable program does not exis

一、USF-ModelSim-51

[USF-ModelSim-51] Path to custom 'vsim.exe' executable program does not exist:D:/modelsim%202019.2/win64/vsim.exe'

解决办法:

modelsim 安装路径存在空格导致不能正常使用_[usf-modelsim-51] path to custom 'vsim.exe' execut-CSDN博客

二、USF-ModelSim-70

 [USF-ModelSim-70] 'compile' step failed with error(s) while executing 'G:/Project/13_lcd_rgb_colorbar/lcd_rgb_colorbar.sim/sim_1/behav/modelsim/compile.bat' script. Please check that the file has the correct 'read/write/execute' permissions and the Tcl console output for any other possible errors or warnings.

 

问题解决参考: 

Modelsim仿真问题解疑二:ERROR: [USF-ModelSim-70]_launch_simulation 报错,.bat文件打不开-CSDN博客 

在添加了环境变量值LM_LICENSE_FILElicense路径后,再重启电脑,我的问题得到了解决。

 

三、vopt-19

在成功启动了modelsim之后,modelsim并未仿真成功,而是报出了如下错误:

# vsim -voptargs=""+acc"" -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip -lib xil_defaultlib xil_defaultlib.tb_lcd_rgb_colorbar xil_defaultlib.glbl 
# Start time: 23:55:27 on Jan 02,2024
# ** Note: (vsim-3812) Design is being optimized...
# ** Error (suppressible): (vopt-19) Failed to access library 'D:/modelsim 2019.2/Vivado2019.2_lib/unisims_ver' at "D:/modelsim 2019.2/Vivado2019.2_lib/unisims_ver".
# No such file or directory. (errno = ENOENT)
# ** Error (suppressible): (vopt-19) Failed to access library 'D:/modelsim 2019.2/Vivado2019.2_lib/unimacro_ver' at "D:/modelsim 2019.2/Vivado2019.2_lib/unimacro_ver".
# No such file or directory. (errno = ENOENT)
# ** Error (suppressible): (vopt-19) Failed to access library 'D:/modelsim 2019.2/Vivado2019.2_lib/secureip' at "D:/modelsim 2019.2/Vivado2019.2_lib/secureip".
# No such file or directory. (errno = ENOENT)
# ** Warning: ../../../../lcd_rgb_colorbar.srcs/sim_1/new/tb_lcd_rgb_colorbar.v(27): (vopt-2685) [TFMPC] - Too few port connections for 'u_lcd_rgb_colorbar'.  Expected 9, found 8.
# ** Warning: ../../../../lcd_rgb_colorbar.srcs/sim_1/new/tb_lcd_rgb_colorbar.v(27): (vopt-2718) [TFMPC] - Missing connection for port 'lcd_rst'.

 

根据报错的提示,是在修改了 USF-ModelSim-51的空格路径以后,Modelsim本体的编译路径依旧是旧版本的带空格的路径:D:/modelsim 2019.2/Vivado2019.2_lib/unisims_ve。

后来发现是我一开始进行Vivado和Modelsim联合仿真,在D:\modelsim2019.2\modelsim.ini设置的lib地址还是原来带空格的地址。设置的教程如下:

Vivado联合ModelSim仿真设置(附图步骤)_modelsim关联vivado-CSDN博客

可以看到在modelsim.ini中的地址仍然带有空格

那么接下来再次进行上述编译,重新创建一个新的库,然后再次添加地址即可。 

这是成功仿真的情况:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/431511
推荐阅读
相关标签
  

闽ICP备14008679号