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

Compilation fail duo to hps_csdram_p0

davidyu1
Beginner
2,543 Views

We used platform designer and use hps IP to build our design.

But Compilation failed and had the following message:

Error: The auto-constraining script was not able to detect any instance for core < hps_sdram_p0 >
Error: Verify the following:
Error: The core < hps_sdram_p0 > is instantiated within another component (wrapper)
Error: The core is not the top-level of the project
Error: The memory interface pins are exported to the top-level of the project
Error: Alternatively, if you are no longer instantiating core < hps_sdram_p0 >,
Error: clean up any stale SDC_FILE references from the QSF/QIP files.

 

How to solve this issue?

Untitled.png

0 Kudos
12 Replies
sstrell
Honored Contributor III
2,500 Views

Is this a golden reference design you downloaded or something you created yourself?  Can you show the Platform Designer system design (.qsys)?

0 Kudos
davidyu1
Beginner
2,443 Views

@sstrell I created new project with "DE10_Nano_golden_top" template to design our FPGA SoC.

I have attached .qsys file to this post.

 

 

0 Kudos
david711205
Beginner
2,388 Views

@sstrell Any suggestion about this issue?

0 Kudos
aikeu
Employee
2,323 Views

Hi davidyu1,


Do you still require help regarding this issue?


Thanks.

Regards,

Aik Eu


0 Kudos
davidyu1
Beginner
2,314 Views

Yes, I still need help.

 

0 Kudos
aikeu
Employee
2,278 Views

Hi davidyu1,


May I know which document which you refer to build your project?

The original ghrd used was working fine without compilation issue or after you modify it only got issue?


Thanks.

Regards,

Aik Eu


0 Kudos
davidyu1
Beginner
2,274 Views
Hi Aik Eu,
I created new project with your de10-nano template file(DE10_Nano_golden_top.qar) and use platform designer to add hps-to-fpga interface in my design.
You can see my project files I attached the post previously.
I found that the compilation issue is from adding hps-to-fpga interface.
If I remove hps-to-fpga interface from qsys, the compilation is without error.
0 Kudos
aikeu
Employee
2,213 Views

Hi davidyu1,


I am referring to this link:

https://gist.github.com/addisonElliott/8c229e47184a724d1a00328110dc094c

Under Building the project, there are a few steps before step 7 which you might need to perform after you have compile your qsys design in order to avoid the errors.


Thanks.

Regards,

Aik Eu


0 Kudos
davidyu1
Beginner
2,199 Views

Hi Aik Eu,

When I followed these steps from the link you metioned, running hps_sdram_p0_pin_assignments.tcl had the similar error.

I have attached the screen shot file to the post.

 

Thanks.

Regards,

David Yu

0 Kudos
aikeu
Employee
2,188 Views

Hi davidyu1,


I understand that you have modified the golden design example of DE10 nano. I not very sure the problem from your modification other than adding additional soft IP which connect to the bridge.

Anway can try run with other example like from previous link or any example which uses a PIO controller IP:

https://www.rocketboards.org/foswiki/Documentation/SoCEDS

From there only add on your modification.


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
2,138 Views

Hi davidyu1,


I am closing this thread now. Do consider re-open a new thread after you have tried the compilation with a working pio design example.


Thanks.

Regards,

Aik Eu


0 Kudos
anonimcs
New Contributor III
300 Views

Hi,

I'm not using a golden ref design but I have similar errors at the fitter stage (I'm using Quartus 17.1 Standard on Ubuntu 20.04). I tried removing the db/ and incremental_db/ folders and the run a full compilation as well, but it didn't help. If anyone knows the fix, that'd be great to find out.

Cheers

0 Kudos
Reply