Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I have some systems designed in Qsys and would like to add them to my Quartus project. --- Quote End --- You have several options with Qsys; 1. Include the .qsys file into the project and Quartus will build it. 2. Include the .qip file into the Quartus project, and you have to build the .qsys file I'm a "control freak", so I went with option 2 :) This allows me to use ip-generate in scripts to generate the synthesis model and/or the simulation model. The arguments to ip-generate can be copied from the Qsys console as its processing the design (after you click the "generate" button). The BeMicro-CV DDR example in this thread has a synthesis script that uses this approach (scroll down to post# 5). http://www.alteraforum.com/forum/showthread.php?t=43992 The downside of .qsys files is that they are Quartus version-specific, and not easily scriptable, since they are written in XML. However, the AlteraWiki has a nice solution; http://www.alterawiki.com/wiki/qsys_scripts you can use this to convert the XML to Tcl. The Tcl script can then have Quartus-version dependent logic (eg., adds/removes ports or generics). So your synthesis script can convert the Tcl back to Quartus-version specific XML, then run that through ip-generate, and you have a nice portable solution that you can check into your favorite code-versioning repo, but yet use with multiple Quartus versions. Cheers, Dave