Disable_natural_bus_naming, Usage, Options – Altera Quartus II Scripting User Manual

Page 298: Description, Example, Disable_natural_bus_naming –168

Advertising
background image

3–168

Chapter 3: Tcl Packages & Commands

misc

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

disable_natural_bus_naming

Usage

disable_natural_bus_naming

Options

None

Description

Disables natural bus naming.

You may choose to disable natural bus naming to string match patterns such as "in\[024\]". In this
example, you are string matching the names "in0", "in2", and "in4".

Note that if you disable natural bus naming, then square brackets must be escaped twice (\\\[ or \\\]) so
that the strings are interpreted as bus names during a string match, such as:

set bus_name "address\[0\]" string match [escape_brackets $bus_name]
$bus_name

The "escape_brackets" command escapes "address\[0\]" into "address\\\[0\\\]".

To enable natural bus naming again, type "enable_natural_bus_naming".

For more information about natural bus naming, type "enable_natural_bus_naming -h".

Example

# Disables natural bus naming
disable_natural_bus_naming

Advertising