Forum Discussion
Altera_Forum
Honored Contributor
14 years agounderstanding library "Work"
I am getting an error I am not sure how to approach:
Error (10430): VHDL Primary Unit Declaration error at pulse_across_clock_domains.vhd(36): primary unit "pulse_across_clock_domains" already exists in library "work" I understand we cannot have to of the same units compiled into the same library but How do I go about finding each part and eliminating or changing one of them? Thank you3 Replies
- Altera_Forum
Honored Contributor
global search function?
then rename one of the entities (thats not going to be fun). - Altera_Forum
Honored Contributor
you could:
1. compile portions of the designs in individual projects and export the post-map .qxp, then import it into the top level project. i put a script on alterawiki.com to do just this because its a common problem when using DSP Builder 2. use .qip files to add all of your sources to the project, adding the -library <lib_name> flag. this is how Altera is avoiding module name clashes in things like memory controllers - Altera_Forum
Honored Contributor
Did it solve the problem?