Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16666 Discussions

Quartus/Platform designer instantiate my custom IP HDL as a new_component_cmp and results in error

Khalidov
Novice
449 Views

Hi,

 

Each time I build my Quartus project that contains a .qsys with my custom IP used, it results in a syntax error where instead of using my custom entity name it uses new_component_cmp for the HDL generated by my system design (platform design). So, each time I have to replace/correct it manually and then it passes the syntesis.

Is there a ways around this silly issue?

 

Example: in auto-generated file soc_system_avalon_custom_leds_0.vhd this line is wrong:

avalon_custom_leds_0 : component new_component_cmp

 

The correct one should be:

avalon_custom_leds_0 : component avalon_custom_leds

 

Thank you in advance

Khalid.

Labels (1)
0 Kudos
1 Solution
Khalidov
Novice
398 Views

Yes, the issue seems to be in the _hw.tcl, this line:

set_fileset_property QUARTUS_SYNTH TOP_LEVEL new_component.

 

Solution:

1- change it manually to use top entity name:

set_fileset_property QUARTUS_SYNTH TOP_LEVEL avalon_custom_leds

 

2- I noticed in the editor, if you click Analyze HDL bouton, it fixes it:

 

Khalidov_0-1709133008656.png

 

 

Thank you for you help and time @ShengN_Intel 

Khalid 

View solution in original post

0 Kudos
4 Replies
ShengN_Intel
Employee
420 Views

Hi,

 

In the component editor, you probably have to change the Name and Display Name for custom ip. Check screenshot

ShengN_Intel_0-1709119596607.png

 

Thanks,

Best Regards,

Sheng

 

0 Kudos
Khalidov
Novice
409 Views

Hi Sheng,

 

I did change that while creating my custom IP the first time. Also, I just locked everywhere in the editor and all looks good. See my screenshot below:

 

Khalidov_0-1709128319100.png

 

Thanks

Khalid

0 Kudos
ShengN_Intel
Employee
402 Views

Hi,


Have you check does the _hw.tcl correct? If not may be can modify that.


0 Kudos
Khalidov
Novice
399 Views

Yes, the issue seems to be in the _hw.tcl, this line:

set_fileset_property QUARTUS_SYNTH TOP_LEVEL new_component.

 

Solution:

1- change it manually to use top entity name:

set_fileset_property QUARTUS_SYNTH TOP_LEVEL avalon_custom_leds

 

2- I noticed in the editor, if you click Analyze HDL bouton, it fixes it:

 

Khalidov_0-1709133008656.png

 

 

Thank you for you help and time @ShengN_Intel 

Khalid 

0 Kudos
Reply