Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TMayd
Beginner
121 Views

IP core scripting or regeneration from QIP

Jump to solution

Hello,

I've been building a project with a fair number of IP cores. In the interest of being able to store the minimum required in GIT I was wondering if there's a way to get the generation script for the IP Core after you use the megawizard to create it?

I know there is the ip-generate utility, but I'm not sure how to translate something from the megawizard to this script. I can not find any documentation, especially for more advanced IP cores such as Qsys NCOs. 

Alternatively, should I just save the .QIP and .V files in git? I've noticed with this method it struggles to make changes using the megawizard on files it hasn't generated in the project folder specifically. Any advice and help on this would be greatly appreciated!

Thanks

0 Kudos

Accepted Solutions
ShyanYewT_Intel
Employee
77 Views

Ya, you can also easily create a script that makes all the assignments for an existing project, and then use the script at any time to restore your project settings to a known state. 

From the Project menu, click Generate Tcl File for Project to automatically generate a .tcl file with all of your assignments. You can source this file to recreate your project, and you can edit the file to add other commands, such as compiling the design. 

To answer back if there's is a way to get the generation script for the IP Core after use the megawizard to create:
I don't think there is a way to do that, you might need to manually write the script. It's best to provide the .qip or .ip file directly to the user. 

If you want to generate an IP using a script or the command line interface, you may checkout an example KDB below:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/soluti...

 

View solution in original post

5 Replies
ShyanYewT_Intel
Employee
103 Views

Do you meant to migrate the IP to another project? If so, I believe .qip or .qsys or .ip file should be good enough.

To modify one of your existing IP core variations, perform one of the following:

Option 1: Click File > Open and select the top-level HDL(.v, or .vhd) IP variation file to launch the parameter editor and modify the IP variation. Regenerate the IP variation to implement your changes.
Option 2: Click View > Utility Windows > Project Navigator > IP Components and double-click the IP variation to launch the parameter editor and modify the IP variation. Regenerate the IP variation to implement your changes.

I recommend option 2 as the way to make changes to the IP. 

Option 1 is the option used when you lose the .qip file. Any changes made in the .v file will be lose upon running the .qip in megawizard (currently called IP Catalog).

 

To know more about Intel® FPGA IP Cores, you may checkout the document below:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_intro_to_megafunction...

 

TMayd
Beginner
94 Views

So in your script to build a new project using that IP you would just include the file location of the .QIP file and that should be all you need?

ShyanYewT_Intel
Employee
78 Views

Ya, you can also easily create a script that makes all the assignments for an existing project, and then use the script at any time to restore your project settings to a known state. 

From the Project menu, click Generate Tcl File for Project to automatically generate a .tcl file with all of your assignments. You can source this file to recreate your project, and you can edit the file to add other commands, such as compiling the design. 

To answer back if there's is a way to get the generation script for the IP Core after use the megawizard to create:
I don't think there is a way to do that, you might need to manually write the script. It's best to provide the .qip or .ip file directly to the user. 

If you want to generate an IP using a script or the command line interface, you may checkout an example KDB below:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/soluti...

 

View solution in original post

ShyanYewT_Intel
Employee
54 Views

We do not receive any response from you to the previous question/reply/answer that I have provided. Please post a response in 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 with your follow-up questions.


TMayd
Beginner
50 Views

Okay, thank you for your responses!