Article ID: 000079821 Content Type: Troubleshooting Last Reviewed: 09/11/2012

Why do I get the error "ALT_CUSP110_PACKAGE already exists in library altera" when instantiating multiple VIP cores within, and outside of Qsys?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

An issue has been seen when instantiating multiple Video and Image Processing (VIP) cores when some cores are included within the Qsys tool, and others instantiated in the Quartus®  II software directly within the same project. The issue stems from the inclusion of the alt_cusp110_package VHDL library file multiple times, from different source files.  The following error is seen during synthesis:

Error (10430): VHDL Primary Unit Declaration error at alt_cusp110_package.vhd(19): primary unit "ALT_CUSP110_PACKAGE" already exists in library "altera"

To work around this issue, a manual modification is required to the Qsys-generated .qip file that is included in the Quartus II project. Open the .qip file and locate the line that refers to the "alt_cusp110_package.vhd" file. Modify the entry to point to the same file as your other Quartus II-based VIP files, for example:

set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) ../../../../quartus/top_top/db/alt_cusp110_package.vhd] -library lib_di_and_mem

Note that regerenation of the Qsys system will result in the .qip file being overwritten, and so this step will need to be performed again.

This issue shall be addressed in a future release of the Quartus II software.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1