- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is that a space in your file path? Questa (and Modelsim before it) notoriously can't tolerate spaces in file paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you change the file path to remove the space (even just make it "PTST_CPLD") and see if that works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page