- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to simulate a design that make use of a component and constants in a custom library:
LIBRARY CommonBlocks;
USE CommonBlocks.CommonBlocksPackage.all;
...
ncoControl: ENTITY CommonBlocks.GenericNcoControl
GENERIC MAP
(
...
It compiles fine, but when I launch modelsim from Quartus (launch EDA simulation) it give me the following error when it tries to compile the .vho output generated by Quartus: --- Quote Start --- # ** Error: NcoControlTest.vho(29): Library commonblocks not found. # ** Error: NcoControlTest.vho(32): (vcom-1136) Unknown identifier "commonblocks". --- Quote End --- Normally I would just compile the CommonBlocks library in modelsim and include it in the simulation project, but it's making use of VHDL 2008 unconstrained array so modelsim won't compile it. Is there any way I can get Quartus to compile the used library components into the .vho output or workaround this issue in any way? I can modify the library if needed. Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figure out what the problem was. I had a custom type (non std_logic) that was declared in the CommonBlocksPackage file that I was using in the top-level port. I built a wrapper that mapped the custom type to std_logic and compile that with no issues.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page