Quartus® Prime Pro Edition User Guide: Design Optimization

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

4.3. Scripting Support

You can run procedures and assign settings described in this chapter in a Tcl script. You can also run procedures at a command prompt. For detailed information about scripting command options, refer to the Quartus® Prime command-line and Tcl API Help browser.
  1. To run the Help browser, type the following command at the command prompt:
    quartus_sh --qhelp

    You can specify many of the options described in this section either in an instance, or at a global level, or both.

  2. Use the following Tcl command to make a global assignment:
    set_global_assignment -name <QSF variable name> <value>
  3. Use the following Tcl command to make an instance assignment:
    set_instance_assignment -name <QSF variable name> <value> -to <instance name>
Note: If the <value> field includes spaces (for example, ‘Standard Fit’), you must enclose the value in straight double quotation marks.