Forum Discussion
Altera_Forum
Honored Contributor
11 years agoCommand line scripting for windows 7
Hi all,
I am new to Altera and planning to have some Command line scripting (for Windows 7 ) to compile code fully from start to end. Can anybody tell me some commands for that or provide any link of document/thread which can be used for windows 7? Thanks in advance. Nikhil M4 Replies
- Altera_Forum
Honored Contributor
You need the quartus ii scripting reference manual (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/tclscriptrefmnl.pdf).
However, I recommend you start with Quartus' GUI, especially if you're new to Altera. It'll help you understand the process required to take your source code through the tool chain to a target. You'll also find that, via the GUI's message window, Quartus will give you the commands it's running underneath - which will then help you towards your goal. You'll be looking for 'quartus_map', 'quartus_fit' & 'quartus_asm' to generate you programming files for your target. You might also want to look through using the quartus ii executables in shell scripts (http://quartushelp.altera.com/current/master.htm#mergedprojects/reference/scripting/tcl_about_execs_scripts_makes.htm), part of Quartus' online documentation. Cheers, Alex - Altera_Forum
Honored Contributor
Hello sir,
Thanks a lot for valuable reply..That is looking helpful..I will update once I will use that commands. Thanks once again. Nikhil M - Altera_Forum
Honored Contributor
--- Quote Start --- I am new to Altera and planning to have some Command line scripting (for Windows 7 ) to compile code fully from start to end. Can anybody tell me some commands for that or provide any link of document/thread which can be used for windows 7? Thanks in advance. --- Quote End --- I've posted plenty of examples that use Tcl to script the synthesis and simulation flow. Take a look at the DE0-nano and BeMicro-CV examples ... See Post#2 http://www.alteraforum.com/forum/showthread.php?t=45927 See Post#5 http://www.alteraforum.com/forum/showthread.php?t=43992 See the Arria V example https://www.ovro.caltech.edu/~dwh/correlator/cobra_docs.html You should be able to run these from the command-line by passing the script to quartus_sh. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- I've posted plenty of examples that use Tcl to script the synthesis and simulation flow. Take a look at the DE0-nano and BeMicro-CV examples ... See Post#2 http://www.alteraforum.com/forum/showthread.php?t=45927 See Post#5 http://www.alteraforum.com/forum/showthread.php?t=43992 See the Arria V example https://www.ovro.caltech.edu/~dwh/correlator/cobra_docs.html You should be able to run these from the command-line by passing the script to quartus_sh. Cheers, Dave --- Quote End --- Thanks Dave for the sharing.