- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used a bunch of VHDL files which implement EnDAT interface to create a component in QSYS.
The files use design library called "endat22".
All works fine and Platform Designer generate QSYS file.
However, when I try to compile the design in Quartus, I get the following:
Error (10481): VHDL Use Clause error at control.vhd(52): design library "endat22" does not contain primary unit "endat5_pkg". Verify that the primary unit exists in the library and has been successfully compiled.
How to fix that ? How can I tell QSYS to use other library than "work" ?
(Note that in the past, all source VDHL files were just added to the Quartus project files and the compilation worked ok).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So you successfully created a component in the Platform Designer Component Editor, which created a _hw.tcl file? And then you used that component in a system design, generated the system, compiled your Quartus project and got that error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, exactly.
Platform Designer generated the system. Quartus stopped with that error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Go to ../quartus/libraries/vhdl and put the vhdl libraries there. Then do,
library <library_name>;
use <library_name>.<package_name>.all;
Best Regards,
Sheng
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any further update or concern? Have your problem being resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I changed all "endat22" references and library to "work" and all works as I expected.
I cannot put libraries to ../quartus/libraries/vhdl because we keep our design in our project folder(s) and we use various versions of Quartus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you can't put libraries to ../quartus/libraries/vhdl then "work" will be the choice.
Btw glad to hear that your issue has been addressed. I'll now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts.

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