Enable_natural_bus_naming, Usage, Options – Altera Quartus II Scripting User Manual
Page 299: Description, Example, Enable_natural_bus_naming –169

Chapter 3: Tcl Packages & Commands
3–169
misc
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
enable_natural_bus_naming
Usage
enable_natural_bus_naming
Options
None
Description
Enables natural bus naming so that square brackets for bus names do not have to be escaped to prevent Tcl
from interpreting them as sub-commands.
Bus names have the following format:
The
greater than or equal to zero or it can be the character "*" used for string matching. Notice that the
names.
Many Quartus II Tcl commands allow bus names in their arguments, such as:
set_location_assignment -to address[10] Pin_M20
If natural bus naming is enabled, you can just use address[10] instead of having to excape the square
brackets into address\[10\].
There are also Quartus II Tcl commands that take Tcl string match patterns in their arguments, such as:
get_all_instance_assignments -name location -to address[10]
Since Tcl string matching take string patterns containing special characters from the set "*?\[]" as values,
address[10] would be interpreted incorrectly. By enabling natural bus naming, these Tcl commands will
automatically detect address[10] as a bus name so that you don't have to doubly escape the brackets into
address\\\[10\\\].
To disable natural bus naming, type "disable_natural_bus_naming".
For more information on the effects of disabling natural bus naming, type "disable_natural_bus_naming
-h".
Example
# Enables natural bus naming
enable_natural_bus_naming