IP core scripting or regeneration from QIP
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
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/solutions/rd12182013_862.html