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

  • 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 426
Chapter 3: Tcl Packages & Commands 3–297
sdc
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_ports
Usage
get_ports [-nocase] [-nowarn] <filter>
Options
-nocase: Specifies case-insensitive node name matching
-nowarn: Do not issue warnings messages about unmatched patterns
<filter>: Valid destinations (string patterns are matched using Tcl string matching)
Description
Returns a collection of ports (design inputs and outputs) in the design.
The filter for the collection is a Tcl list of wildcards, and must follow standard Tcl or TimeQuest-extension
substitution rules. See help for the use_timequest_style_escaping command for details.
Example
project_open chiptrip
create_timing_netlist
# Get all ports starting with "In".
set ports [get_ports In*]
foreach_in_collection port $ports {
puts [get_port_info -name $port]
}
delete_timing_netlist
project_close
Zobrazit stránku 426
1 2 ... 422 423 424 425 426 427 428 429 430 431 432 ... 633 634

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

Žádné komentáře