Modelsim与ISE联和仿真错误

用Modelsim与ISE联和仿真的时候出现了以下错误

错误1

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
复制出来就是:

** Error: (vopt-19) Failed to access library ‘D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/xilinxcorelib_ver’ at “D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/xilinxcorelib_ver”.

No such file or directory. (errno = ENOENT)
** Error: …/…/sim/tb/flow_led_tb.v(1): Library xilinxcorelib_ver not found.
** Warning: …/…/sim/tb/flow_led_tb.v(1): (vopt-2669) Unable to find library ‘xilinxcorelib_ver’.

** Error: (vopt-19) Failed to access library ‘D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/unisims_ver’ at “D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/unisims_ver”.

No such file or directory. (errno = ENOENT)
** Error: …/…/sim/tb/flow_led_tb.v(1): Library unisims_ver not found.
** Warning: …/…/sim/tb/flow_led_tb.v(1): (vopt-2669) Unable to find library ‘unisims_ver’.

** Error: (vopt-19) Failed to access library ‘D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/unimacro_ver’ at “D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/unimacro_ver”.

No such file or directory. (errno = ENOENT)
** Error: …/…/sim/tb/flow_led_tb.v(1): Library unimacro_ver not found.
** Warning: …/…/sim/tb/flow_led_tb.v(1): (vopt-2669) Unable to find library ‘unimacro_ver’.

** Error: (vopt-19) Failed to access library ‘D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/secureip’ at “D:_FPGA_AX309_Learning\Xilinx\Xilinx_lib/secureip”.

No such file or directory. (errno = ENOENT)
** Error: …/…/sim/tb/flow_led_tb.v(1): Library secureip not found.
** Warning: …/…/sim/tb/flow_led_tb.v(1): (vopt-2669) Unable to find library ‘secureip’.

Optimization failed
Error loading design
Error: Error loading design
Pausing macro execution
MACRO ./flow_led_tb.fdo PAUSED at line 29

,最终解决就是

错误 2

The path specified in the “Compiled Library Directory” property (“C:/Xilinx/Xilinx_lib”) does not exist.

解决

这两个错误其实是Modelsim与ISE的仿真时候,Xilinx的库的位置不对,所以重新联和仿真,也就是需要重新编译库Simulation Library Compilation(具体网上很多教程),然后选择一个位置
在这里插入图片描述
选择好之后,继续执行,然后按照教程完成即可。
联和完成之后,需要选择在仿真模式下选中tb文件在这里插入图片描述
然后打开菜单栏中的Process Properties ,
在这里插入图片描述
将路径修改为之前设置的路径即可。
在这里插入图片描述
(注意,主要是针对问题2 需要修改路径。而问题1 呢,一般在问题2 修改完成之后,问题1 就解决了,问题1 的路径就是上图中的路径)

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值