Altera_Forum
Honored Contributor
7 years agoGenerating MegaWizard-IPs by scripts
I am used to generate my FPGA projects out of repository with scripts. I do not know how to process the IPs generated in Quartus Prime.
I have learned by doing so long: From Quartus Prime I export the project with "Project/Generate Tcl File for Project..." -->GenPrj.tcl This scipt can be used to restore the project structure with command line: quartus_sh -t GenPrj.tcl From Platform Designer I export with "File/Export System as Platform Designer script (.tcl)" -->GenCpu.tcl This script can be used to restore the .qsys with qsys-script --script=GenCpu.tcl and from qsys I can generate the depending files with qsys-generate cpu.qsys -syn But to (re-)generate the IPs i generated in Quartus Prime from the IP-Catalog I have some problems. With the example of the ALTPLL IP I tried to regenerate a simple pll module. I tried the command ip-generate but than I noted that this is the qsys component. I found mega_altpllq.exe which I do not know how to use I found in Tcl API packages the package ipgen where I do not know what to do with If I understood right until now: Quartus Prime uses the MegaWizard Plug-In Manager which somehow interacts with the mega_altpllq.exe. How can I do the same from command line? (ALTPLL is only an example for any MegaWizard I) Stefan