Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21608 Discussions

understanding library "Work"

Altera_Forum
Honored Contributor II
1,565 Views

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 you
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
458 Views

global search function?  

then rename one of the entities (thats not going to be fun).
0 Kudos
Altera_Forum
Honored Contributor II
458 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
458 Views

Did it solve the problem?

0 Kudos
Reply