Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,100 Views

Generating 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
0 Kudos
3 Replies
Highlighted
Valued Contributor III
1 View

Re: Generating MegaWizard-IPs by scripts

Hi, 

 

Refer the below link ->page2-13. 

https://dewapurnama.files.wordpress.com/2012/08/modul-dewa89s-qts_qii52002.pdf 

 

Let me know if this has helped resolve the issue you are facing or if you need any further assistance. 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Highlighted
Valued Contributor III
1 View

Re: Generating MegaWizard-IPs by scripts

Thank you, that was exactly what I needed.

0 Kudos
Highlighted
Valued Contributor III
1 View

Re: Generating MegaWizard-IPs by scripts

Hi, 

 

The link is no longer available... 

 

Could you please share the document?  

 

Thanks 

 

Rainer