Forum Discussion
Altera_Forum
Honored Contributor
17 years agoYes it can be done. All the individual commands are available from the command line.
Look-up quartus_fit, quartus_map, quartus_asm, quartus_tan. I actually haven't automated my builds yet, but if you search the Quartus_8.0 help it gives you some very simple examples. (Search "Command-line Script") (From the help) Note: The script example below works with a previously existing Verilog HDL file named testproject.v, that contains an entity called testproject. Modify any Verilog HDL file to meet this description and place it in the directory containing the script, or use the following code: module testproject(switch[15:0], light[15:0]); input [15:0] switch; output [15:0] light; assign light[15:0] = switch[15:0]; endmodule To test this example script: Create a directory for the project. Copy the example script and save it in the new directory with the file name shell_example_1.bat. Copy the Verilog HDL example source code and save it in the new directory as testproject.v. At the system command prompt, navigate to the new directory. Type shell_example_1.bat to run the script. SET PROJECT=testproject SET TOP_LEVEL_FILE=testproject.v SET FAMILY=Cyclone SET PART=EP1C12Q240C6 SET FMAX=80MHz quartus_map %PROJECT% --family=%FAMILY% --source=%TOP_LEVEL_FILE% quartus_fit %PROJECT% --part=%PART% --fmax=%FMAX% quartus_asm %PROJECT% quartus_tan %PROJECT% There's also "Generate TCL file, that dumps all the project settings into a TCL script, but doesn't give you the next step. of actually compiling the design. This is a start anyway. Pete