Get_node_info, Get_node_info –93 – Altera SDC and TimeQuest API User Manual
Page 103

Chapter 2: SDC and TimeQuest API Package and Commands
2–93
sta
© December 2009
Altera Corporation
SDC and TimeQuest API Reference Manual
get_node_info
Usage
get_node_info [-asynch_edges] [-cell] [-clock_edges] [-fanout_edges] [-location]
[-name] [-synch_edges] [-type]
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
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