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

  • 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 531
3–402 Chapter 3: Tcl Packages & Commands
sta
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
get_node_info
Usage
get_node_info [-asynch_edges] [-cell] [-clock_edges] [-fanout_edges] [-location]
[-name] [-synch_edges] [-type] <node_object>
Options
-asynch_edges: Return a list of asynchronous edge IDs
-cell: Return the host cell
-clock_edges: Return a list of clock edge IDs
-fanout_edges: Return a list of fanout edge IDs
-location: Return the atom location in device
-name: Return the node name
-synch_edges: Return a list of synchronous edge IDs
-type: Return the node type
<node_object>: Node object
Description
Gets information about the specified node (referenced by node ID). Use Tcl commands such as get_nodes
to obtain node IDs. The -type option returns "reg", "port", "pin", "net", or "comb". The -name, -type,
-clock_edges, -synch_edges, -asynch_edges, -fanout_edges, -cell and -location options are mutually
exclusive.
Example
project_open chiptrip
create_timing_netlist
set registers [get_registers]
foreach_in_collection reg $registers {
puts "[get_node_info $reg -name]: [get_node_info $reg -type]"
}
delete_timing_netlist
project_close
Zobrazit stránku 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 633 634

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

Žádné komentáře