Execute_assignment_batch, Usage, Options – Altera Quartus II Scripting User Manual
Page 320: Description, Example, Execute_assignment_batch –190
3–190
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
execute_assignment_batch
Usage
execute_assignment_batch <tcl commands>
Options
<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 II 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
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