Altera Quartus II Scripting Uživatelský manuál Strana 298

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 634
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 297
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
Zobrazit stránku 297
1 2 ... 293 294 295 296 297 298 299 300 301 302 303 ... 633 634

Komentáře k této Příručce

Žádné komentáře