Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

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

Document Table of Contents

3.1.24.6. execute_assignment_batch (::quartus::project)

The following table displays information for the execute_assignment_batch Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax execute_assignment_batch [-h | -help] [-long_help] <tcl commands>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
<tcl commands> Tcl list of Tcl commands
Description

Iterates through the specified Tcl list of Tcl commands and executes each command sequentially in batch mode. In batch mode, Tcl commands that set Quartus Prime Settings File (.qsf) assignments are optimized to prevent them from repeatedly write-locking and write-unlocking the QSF during consecutive calls, thereby slowing down the execution. Currently, only the following commands are supported: assignment_group remove_all_global_assignments remove_all_instance_assignments remove_all_parameters set_global_assignment set_instance_assignment set_io_assignment set_location_assignment set_parameter set_power_file_assignment

Example Usage
project_open one_wire
set tcl_cmds [list [list set_global_assignment -name FAMILY StratixII] \
                   [list set_global_assignment -name DEVICE AUTO] \
                   [list set_global_assignment -name TOP_LEVEL_ENTITY one_wire] \
                   [list set_global_assignment -name SAVE_DISK_SPACE OFF] \
                   [list set_location_assignment PIN_1 -to in1] \
                   [list set_instance_assignment -name MULTICYCLE 4 -from in1 -to out1] \
                   [list set_parameter -name STYLE FAST]]
execute_assignment_batch $tcl_cmds
project_close
Return Value Code Name Code