Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21612 Discussions

Quartus: TCL build script for ip cores

TT18
Beginner
359 Views

Good morning, 

 

How what are the tcl commands to build IP cores?

 

I have copied the myram.qip to a folder ip_cores and used the following command:

set_global_assignment -name QIP_FILE ip_cores/RAM_1_PORT_16384/myram.qip

 

After building the tcl script, myram ip core is not recognized. 

Let me know how to resolve the issue. 

0 Kudos
4 Replies
sstrell
Honored Contributor III
255 Views

Do you mean to generate an IP or to add an IP to a Quartus project?

The .qip file is just a pointer file, created when you generate an IP,  that you add to a Quartus project to point to all the files that make up that generated IP.  This is intended so you only have to add one file to the project instead of dozens.

I'm not sure what your intention is here.

0 Kudos
RichardTanSY_Altera
169 Views

Thank you sstrell for the answer.

 

Scripting support in Quartus Standard is somewhat limited.

Platform Designer scripting can be used as an alternative to creating systems via the GUI, but there are some limitation. For example, certain IP cores are parameterized using the MegaWizard interface, and not all of them support command-line configuration. Some IPs—like the RAM IP—appear to be available only through the IP Catalog and don’t support scripting at all.

One approach that might help is to first create your system using the GUI, then export it as a .tcl script. You can then modify the script and regenerate the system using the qsys-script utility.

 

You may find the following reference helpful:

https://www.intel.com/content/www/us/en/docs/programmable/683364/18-1/scripting-ip-core-generation.html

 

Regards,

Richard Tan

 

0 Kudos
RichardTanSY_Altera
124 Views

Hi OP,


Dropping a note to ask if my last reply was helpful to you. 

Do you need any further assistance from my side? 


Regards,

Richard Tan


0 Kudos
RichardTanSY_Altera
36 Views

We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transitioning your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding. 

 

If you have any further questions or concerns, please don't hesitate to reach out. Please login to https://supporttickets.intel.com/s/?language=en_US, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions. 


The community users will be able to help you on your follow-up questions. 


Thank you for reaching out to us! 


Best Regards, 

Richard Tan 


0 Kudos
Reply