Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

understanding 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 you

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    global search function?

    then rename one of the entities (thats not going to be fun).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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