在Quartus-ii中出现Error: (vsim-19) Failed to access library ‘cycloneive_ver‘ at “cycloneive_ver“.

一、在仿真运行时出现如上错误。

因为我的Quartus的安装和Modelsim的安装是分开进行的(出现的具体原因未知maybe)可能在关联时出现问题。

二、解决方法(非一劳永逸版)

每次新打开文件都要重新设置,不知道为什么,有大神可以解答嘛。

菜单栏点开tools,选择第二个"launch simulation library compiler"点开。

第一步

运行位置选择,modelsim的下载位置中的win64(maybe 32个人电脑配置)第二步

输出位置选择建立的该项目的文件里的simulation的qsim文件夹。

第三步

点击开始编译。

编译成功,打开仿真。vmf文件。

运行即可。

Determining the location of the ModelSim executable... Using: D:\FPGA\modelsim\win64 To specify a ModelSim executable directory, select: Tools -> Options -> EDA Tool Options Note: if both ModelSim-Altera and ModelSim executables are available, ModelSim-Altera will be used. **** Generating the ModelSim Testbench **** quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off Block1 -c Block1 --vector_source="D:/FPGA/Quartus/zuoye/Waveform.vwf" --testbench_file="D:/FPGA/Quartus/zuoye/simulation/qsim/Waveform.vwf.vt" Info: ******************************************************************* Info: Running Quartus Prime EDA Netlist Writer Info: Version 18.0.0 Build 614 04/24/2018 SJ Standard Edition Info: Copyright (C) 2018 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and its AMPP partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details. Info: Processing started: Sat Dec 20 17:21:44 2025 Info: Command: quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off Block1 -c Block1 --vector_source=D:/FPGA/Quartus/zuoye/Waveform.vwf --testbench_file=D:/FPGA/Quartus/zuoye/simulation/qsim/Waveform.vwf.vt Warning (18236): Number of processors has not been specified which may cause overloading on shared machines. Set the global assignment NUM_PARALLEL_PROCESSORS in your QSF to an appropriate value for best performance. Completed successfully. Completed successfully. **** Generating the functional simulation netlist **** quartus_eda --write_settings_files=off --simulation --functional=on --flatten_buses=off --tool=modelsim_oem --format=verilog --output_directory="D:/FPGA/Quartus/zuoye/simulation/qsim/" Block1 -c Block1 Info: ******************************************************************* Info: Running Quartus Prime EDA Netlist Writer Info: Version 18.0.0 Build 614 04/24/2018 SJ Standard Edition Info: Copyright (C) 2018 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and its AMPP partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details. Info: Processing started: Sat Dec 20 17:21:45 2025 Info: Command: quartus_eda --write_settings_files=off --simulation=on --functional=on --flatten_buses=off --tool=modelsim_oem --format=verilog --output_directory=D:/FPGA/Quartus/zuoye/simulation/qsim/ Block1 -c Block1 Warning (18236): Number of processors has not been specified which may cause overloading on shared machines. Set the global assignment NUM_PARALLEL_PROCESSORS in your QSF to an appropriate value for best performance. Info (204019): Generated file Block1.vo in folder "D:/FPGA/Quartus/zuoye/simulation/qsim//" for EDA simulation tool Info: Quartus Prime EDA Netlist Writer was successful. 0 errors, 1 warning Info: Peak virtual memory: 4625 megabytes Info: Processing ended: Sat Dec 20 17:21:47 2025 Info: Elapsed time: 00:00:02 Info: Total CPU time (on all processors): 00:00:01 Completed successfully. **** Generating the ModelSim .do script **** D:/FPGA/Quartus/zuoye/simulation/qsim/Block1.do generated. Completed successfully. **** Running the ModelSim simulation **** D:/FPGA/modelsim/win64/vsim -c -do Block1.do Reading D:/FPGA/modelsim/tcl/vsim/pref.tcl # 10.4 # do Block1.do # ** Warning: (vlib-34) Library already exists at "work". # # Model Technology ModelSim SE-64 vlog 10.4 Compiler 2014.12 Dec 3 2014 # Start time: 17:21:48 on Dec 20,2025 # vlog -work work Block1.vo # -- Compiling module Block1 # -- Compiling module hard_block # # Top level modules: # Block1 # End time: 17:21:48 on Dec 20,2025, Elapsed time: 0:00:00 # Errors: 0, Warnings: 0 # Model Technology ModelSim SE-64 vlog 10.4 Compiler 2014.12 Dec 3 2014 # Start time: 17:21:48 on Dec 20,2025 # vlog -work work Waveform.vwf.vt # -- Compiling module Block1_vlg_vec_tst # # Top level modules: # Block1_vlg_vec_tst # End time: 17:21:48 on Dec 20,2025, Elapsed time: 0:00:00 # Errors: 0, Warnings: 0 # vsim -c -do "Block1.do" # Start time: 17:21:48 on Dec 20,2025 # ** Warning: (vsim-8891) All optimizations are turned off because the -novopt switch 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. # # // ModelSim SE-64 10.4 Dec 3 2014 # // # // Copyright 1991-2014 Mentor Graphics Corporation # // All Rights Reserved. # // # // THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION # // WHICH IS THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS # // LICENSORS AND IS SUBJECT TO LICENSE TERMS. # // THIS DOCUMENT CONTAINS TRADE SECRETS AND COMMERCIAL OR FINANCIAL # // INFORMATION THAT ARE PRIVILEGED, CONFIDENTIAL, AND EXEMPT FROM # // DISCLOSURE UNDER THE FREEDOM OF INFORMATION ACT, 5 U.S.C. SECTION 552. # // FURTHERMORE, THIS INFORMATION IS PROHIBITED FROM DISCLOSURE UNDER # // THE TRADE SECRETS ACT, 18 U.S.C. SECTION 1905. # // # Refreshing D:/FPGA/Quartus/zuoye/simulation/qsim/work.Block1_vlg_vec_tst # Loading work.Block1_vlg_vec_tst # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # Refreshing D:/FPGA/Quartus/zuoye/simulation/qsim/work.Block1 # Loading work.Block1 # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # Refreshing D:/FPGA/Quartus/zuoye/simulation/qsim/work.hard_block # Loading work.hard_block # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(76): Instantiation of 'cycloneive_io_obuf' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(89): Instantiation of 'cycloneive_io_ibuf' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(99): Instantiation of 'cycloneive_io_ibuf' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(109): Instantiation of 'cycloneive_io_ibuf' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(119): Instantiation of 'cycloneive_io_ibuf' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-3033) Block1.vo(129): Instantiation of 'cycloneive_lcell_comb' failed. The design unit was not found. # Time: 0 ps Iteration: 0 Instance: /Block1_vlg_vec_tst/i1 File: Block1.vo # Searched libraries: # ** Error: (vsim-19) Failed to access library 'cycloneive_ver' at "cycloneive_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_ver' at "altera_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_mf_ver' at "altera_mf_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library '220model_ver' at "220model_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'sgate_ver' at "sgate_ver". # # No such file or directory. (errno = ENOENT) # ** Error: (vsim-19) Failed to access library 'altera_lnsim_ver' at "altera_lnsim_ver". # # No such file or directory. (errno = ENOENT) # D:/FPGA/Quartus/zuoye/simulation/qsim/work # Error loading design Error loading design # End time: 17:21:50 on Dec 20,2025, Elapsed time: 0:00:02 # Errors: 90, Warnings: 1 Error.
最新发布
12-21
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值