Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Same file name with different content of two custom IP core. is it possible to compile it without error? How to separate compilation library for the files having the same name in QSYS?

verilog
Beginner
2,741 Views

we have designed our IP core files in such a way to comply a standard file name, so all custom IP has the common file name but with different content for each IP. 

Now when we try to accommodate more than one custom IP in QSYS having same file names Quartus gives compilation error: Error (10149): Verilog HDL Declaration error at "file_name".sv(62): identifier "file_name" is already declared in the present scope.

Means Quartus found two files with the same name from QIP. so please suggest what would be the possible solution for the same.

NOTE: we have so many numbers of IP core already design with same file names so no scope for rename it all.   

0 Kudos
2 Replies
KhaiChein_Y_Intel
1,854 Views

You have to name the IP differently.

If the Quartus® Prime project contains more than one IP of the same file name, Qsys Pro retains the first instance and removes all other occurrences of the IP file with the specific name.

 

Reference: https://www.intel.com/content/www/us/en/programmable/quartushelp/17.0/system/qsys/qsys_com_sync_ip_files.htm

verilog
Beginner
1,854 Views

Thanks for quick response.

 

 

0 Kudos
Reply