Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.3.2.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®