Example – Altera Quartus II Scripting User Manual
Page 360

3–230
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
For entity-specific assignments, use the "-entity" option to remove the assignment(s) from the specified
entity. If the "-entity" option is not specified, the value for the FOCUS_ENTITY_NAME assignment is
used. If the FOCUS_ENTITY_NAME value is not found, the revision name is used.
Assignments removed by using this Tcl command are not saved to the Quartus II Settings File (.qsf) unless
you explicitly call one of the following two Tcl commands:
■
export_assignments
■
project_close (unless "-dont_export_assignments" is specified)
These two Tcl commands reside in the ::quartus::project Tcl package. You must save assignment changes
before you run Quartus®II command-line executables. Note, however, that the Tcl commands
"execute_flow" and "execute_module" (part of the ::quartus::flow Tcl package) automatically call
"export_assignments" before they run command-line executables.
Example
## Remove all the timing requirements
## Use wildcards to catch TSU_REQUIREMENT, TCO_REQUIREMENT,
## and others
remove_all_instance_assignments -name *_REQUIREMENT
## Remove all the location assignments with
## the destination bus name "timeo".
set bus_name "timeo"
remove_all_instance_assignments -name LOCATION -to $bus_name[*]
Section Id
Description
CHIP
Same as revision name
LOGICLOCK_REGION
A unique name
EDA_TOOL_SETTINGS
A unique name
CLIQUE
A unique name
BREAKPOINT
A unique name
CLOCK
A unique name
AUTO_INSERT_SLD_NODE_ENTITY
A unique name