Intel® Quartus® Prime Standard Edition User Guide: Scripting

ID 683325
Date 9/24/2018
Public
Document Table of Contents

2.3.1.1. Run a Tcl Script

Running an executable with the -t option runs the specified Tcl script. You can also specify arguments to the script. Access the arguments through the argv variable, or use a package such as cmdline, which supports arguments of the following form:
-<argument name> <argument value>

The cmdline package is included in the < Intel® Quartus® Prime directory>/common/tcl/packages directory.

For example, to run a script called myscript.tcl with one argument, Stratix® , type the following command at a system command prompt:

quartus_sh -t myscript.tcl 
               Stratix®