Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

UniPHY command line

Altera_Forum
Honored Contributor II
1,358 Views

I'm trying to pass on to the design team the understanding and the ability to generate their own qdrii controller using UniPHY. Currently this is a done via a document which walks them through the generation using a number of screen shots from the Megawizard GUI.  

 

It would be a lot simpler if we could do this via command line, say with a file with all the parameters in. I've had a look through the documentation and failed to find anything. We do this for memory generation. 

 

Before I go running to support does anybody know if this can be done for UniPHY? 

 

Thanks.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
572 Views

Yes, you can do this, however you need to run the GUI MegaWizard once to create the retrieval information (at the bottom of the generated .v or .vhd instance file). Once you have this, you can copy just the retrieval info from the file and save it to a file <filename>. Then from the command line, you can type "qmegawiz -silent <filename>", and it should run the MegaWizard from the command line without any output to the console and without opening the GUI. You can now modify the parameters in the retrieval info in <filename> and re-run qmegawiz and it will recreate the files with your changes.

0 Kudos
Altera_Forum
Honored Contributor II
572 Views

Thanks Jimbo. 

 

That sounds simple enough, I'll give it a go. 

Sounds very much like something I could do generate all our IP. 

 

Is this documented somewhere?
0 Kudos
Altera_Forum
Honored Contributor II
572 Views

My mistake - looking back thats how I did our RAM generation - long time ago. 

 

The documentation I wanted was Command-Line Scripting chapter in Vol 2 of Quartus II Handbook. 

 

What I think is the question, and I think I have now have the answer, is can you use it for UniPHY and I think, looking at the documentation, is no you have to use GUI. 

 

Thanks,
0 Kudos
Altera_Forum
Honored Contributor II
572 Views

I can't say that I've actually tried this with UniPHY, so unfortunately that may be the case.

0 Kudos
Reply