Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHey Dave,
Check out the synthesis projects in these threads; SDRAM on DE0-nano board (post# 2 zip): http://www.alteraforum.com/forum/showthread.php?t=45927 BeMicro CV - Qsys starter project? (post# 5 zip) http://www.alteraforum.com/forum/showthread.php?t=43992 Look at the scripts/ folder, specifically constraints.tcl, synth.tcl, and the support scripts. These scripts and the source layout has been simplified to make it easier for anyone to simply run the script without having to setup a build environment. Normally I'll keep common code in a single folder, eg., the pin assignments constraints.tcl file normally lives in a <board>/share/scripts folder. The DE0-nano design contains a new scripting concept that I've been playing with. Altera saves its Qsys systems in XML, but that XML is not portable across multiple versions of Quartus. I show how to convert the XML to Tcl and then edit the Tcl to support multiple versions of Quartus. Much nicer to check into version control, since it then works for anyone who checks it out :) Cheers, Dave