Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 9/30/2024
Public
Document Table of Contents

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