集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 9868|回复: 6

解决仿真问题Error: (vsim-19) Failed to access library 。。。

[复制链接]
lcytms 发表于 2016-10-12 23:04:00 | 显示全部楼层 |阅读模式
本帖最后由 lcytms 于 2016-10-14 11:40 编辑

解决仿真问题Error: (vsim-19) Failed to access library 。。。


在使用Quartus II 13.0自带modelsim-altera对DDS程序进行仿真时报错,而使用外部modelsim正常。
查找这个问题,花了近2天时间,进行了各种百度。
最终在大牛的指点下解决。解决的方法很简单,就是修改环境变量,去掉原有的 变量modelsim    值D:\modeltech64_10.2\modelsim.ini 这一项。
然后重启Quartus,自带modelsim-altera即恢复正常工作。




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?我要注册

x
 楼主| lcytms 发表于 2016-10-12 23:06:33 | 显示全部楼层
报错信息

# Loading work.DDS_tb
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_ver' at "./verilog_libs/altera_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/lpm_ver' at "./verilog_libs/lpm_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/sgate_ver' at "./verilog_libs/sgate_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_mf_ver' at "./verilog_libs/altera_mf_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_lnsim_ver' at "./verilog_libs/altera_lnsim_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/cycloneive_ver' at "./verilog_libs/cycloneive_ver".
#
# No such file or directory. (errno = ENOENT)
# Loading work.DDS
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_ver' at "./verilog_libs/altera_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/lpm_ver' at "./verilog_libs/lpm_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/sgate_ver' at "./verilog_libs/sgate_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_mf_ver' at "./verilog_libs/altera_mf_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_lnsim_ver' at "./verilog_libs/altera_lnsim_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/cycloneive_ver' at "./verilog_libs/cycloneive_ver".
#
# No such file or directory. (errno = ENOENT)
# Loading work.DDS_controller
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_ver' at "./verilog_libs/altera_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/lpm_ver' at "./verilog_libs/lpm_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/sgate_ver' at "./verilog_libs/sgate_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_mf_ver' at "./verilog_libs/altera_mf_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_lnsim_ver' at "./verilog_libs/altera_lnsim_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/cycloneive_ver' at "./verilog_libs/cycloneive_ver".
#
# No such file or directory. (errno = ENOENT)
# Loading work.rom
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_ver' at "./verilog_libs/altera_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/lpm_ver' at "./verilog_libs/lpm_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/sgate_ver' at "./verilog_libs/sgate_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_mf_ver' at "./verilog_libs/altera_mf_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_lnsim_ver' at "./verilog_libs/altera_lnsim_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/cycloneive_ver' at "./verilog_libs/cycloneive_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-3033) D:/ZXOPEN2016/class/DDS/rom.v(81): Instantiation of 'altsyncram' failed. The design unit was not found.
#
#         Region: /DDS_tb/dut/rom1
#         Searched libraries:
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_ver' at "./verilog_libs/altera_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/lpm_ver' at "./verilog_libs/lpm_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/sgate_ver' at "./verilog_libs/sgate_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_mf_ver' at "./verilog_libs/altera_mf_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/altera_lnsim_ver' at "./verilog_libs/altera_lnsim_ver".
#
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library './verilog_libs/cycloneive_ver' at "./verilog_libs/cycloneive_ver".
#
# No such file or directory. (errno = ENOENT)
#             D:/ZXOPEN2016/class/DDS/simulation/modelsim/rtl_work
#             D:/ZXOPEN2016/class/DDS/simulation/modelsim/rtl_work
#             D:/ZXOPEN2016/class/DDS/simulation/modelsim/rtl_work
# Error loading design
# Error: Error loading design
#        Pausing macro execution
# MACRO ./DDS_run_msim_rtl_verilog.do PAUSED at line 14

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?我要注册

x
 楼主| lcytms 发表于 2016-10-12 23:20:23 | 显示全部楼层
本帖最后由 lcytms 于 2016-10-14 13:33 编辑

排错过程:

        大牛打开自带modelsim-altera,新建工程时发现modelsim.ini指向了独立modelsim的对应文件D:/modeltech64_10.2/modelsim.ini,而不是自带modelsim-altera的对应文件D:/altera/13.0/modelsim_ase/modelsim.ini
        此时并没有想到去删除环境变量中那一项。
        大牛先用自带modelsim-altera打开DDS 项目,进行仿真,观察liabray发现缺少各种文件,总之又在工程里面添加了一个altera_mf.v文件后,仿真成功。
        再来解决跨平台仿真的问题。
        先是尝试在自带modelsim-altera下能不能修改设置,经过各种尝试没有找到修改的入口。
        经过种种考虑,决定试着删除删除环境变量中那一项,结果一试成功。可喜可贺!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?我要注册

x
泛爱不懂 发表于 2016-10-14 10:09:56 | 显示全部楼层
恭喜啊,这个方法很实用啊
韩辰 发表于 2017-2-13 10:01:21 | 显示全部楼层
很好地一种解决思路,谢谢
zxopenhl 发表于 2017-2-13 13:38:15 | 显示全部楼层
可以让我们初学者少走很多弯路,不错!
zxopenljx 发表于 2025-2-28 16:19:51 | 显示全部楼层
解决仿真问题Error: (vsim-19) Failed to access library
您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|fpga论坛|fpga设计论坛 ( 京ICP备20003123号-1 )

GMT+8, 2025-4-5 00:48 , Processed in 0.067435 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表