Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17267 讨论

Error: (vcom-11) Could not find

Niho
新手
2,736 次查看

Hello,

I am trying to do RTL simulation under Questa Intel Starter FPGA Edition-64 2021.2 & Quartus Prime V22.1 Build 917 Lite edition. Device is MAXII cpld.

But when run_msim_rtl_vhdl.do runs, vcom outputs Error:vcom-11 at top.vhd defined the library.

# ** Error: (vcom-11) Could not find cpld_lib.cpld_pkg.

Top.vhd describes the library define under the bellow. Quartus compilation is normal.

------------------------------

library cpld_lib;
use cpld_lib.cpld_pkg.all;

------------------------------

I defined the library using "Create a New library" already under Questa.

I attached Questa screen.

Could you support the solution for this error?

 

Best regard

Yasushi Niho

Questa screen.jpg

标签 (1)
0 项奖励
1 解答
Niho
新手
2,673 次查看

Hello sstrell-san,

 

I didn't use Nativelink and ran the .do developed 10 years ago and it compiled successfully.

Thank you for your support.

 

Best regard

Yasushi Niho

在原帖中查看解决方案

0 项奖励
7 回复数
sstrell
名誉分销商 III
2,719 次查看

Is that a space in your file path?  Questa (and Modelsim before it) notoriously can't tolerate spaces in file paths.

0 项奖励
Niho
新手
2,707 次查看

Hello,

Thank you for your support.
I cannot confirm space in the file path.
Questa recognized the path as the bellow in .do.
----------------------
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST CPLD/trunk/src/cpld_lib/cpld_pkg.vhd}
----------------------

I'm just trying to rebuild a project using Modelsim from 10 years ago........

Best regard
Yasushi Niho

0 项奖励
sstrell
名誉分销商 III
2,705 次查看

Can you change the file path to remove the space (even just make it "PTST_CPLD") and see if that works?

0 项奖励
Niho
新手
2,699 次查看

Hello sstrell-san,

Sorry, I understood about the mean of SPACE in the file path.
I changed the path as your support and show .do as the bellow.
-----------------------
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/serial_tx.vhd}
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/serial_rx.vhd}
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/heartbeat.vhd}
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/crc16_ser.vhd}
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/cpld_lib/cpld_pkg.vhd}
vcom -93 -work work {C:/Users/NIHO-PC3/SCST2/PTST_CPLD/trunk/src/cpld_top.vhd}
-------------------------
After re-created a New library, although I executed .do, but error is same.
# ** Error: (vcom-11) Could not find cpld_lib.cpld_pkg.

 

Best regard

Yasushi Niho

0 项奖励
Niho
新手
2,674 次查看

Hello sstrell-san,

 

I didn't use Nativelink and ran the .do developed 10 years ago and it compiled successfully.

Thank you for your support.

 

Best regard

Yasushi Niho

0 项奖励
SyafieqS
员工
2,599 次查看

May I know if previous reply solve the issue.

You may try Nativelink method if applicable (std version) as the flow is pretty straight forward.


0 项奖励
SyafieqS
员工
2,568 次查看

 I now transition this thread to community support. If you have a new question, Please login to https://supporttickets.intel.com/, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution, give Kudos and rate 5/5 survey



0 项奖励
回复