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

Quartus: TCL build script for ip cores

TT18
Beginner
223 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
2 Replies
sstrell
Honored Contributor III
119 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
33 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
Reply