get_node_info (::quartus::sta)
The following table displays information for the get_node_info Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::sta 1.0 |
|||
| Syntax | get_node_info [-h | -help] [-long_help] [-asynch_edges] [-cell] [-clock_edges] [-fanout_asynch_edges] [-fanout_clock_edges] [-fanout_edges] [-fanout_synch_edges] [-location] [-name] [-synch_edges] [-type] <node_object> | |||
| Arguments | -h | -help | Short help | ||
| -long_help | Long help with examples and possible return values | |||
| -asynch_edges | Return a list of asynchronous edge IDs | |||
| -cell | Return the host cell | |||
| -clock_edges | Return a list of clock edge IDs | |||
| -fanout_asynch_edges | Return a list of asynchronous fanout edge IDs | |||
| -fanout_clock_edges | Return a list of clock fanout edge IDs | |||
| -fanout_edges | Return a list of fanout edge IDs | |||
| -fanout_synch_edges | Return a list of synchronous 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, -fanout_clock_edges, -fanout_synch_edges, -fanout_asynch_edges, -cell and -location options are mutually exclusive. |
|||
| Example Usage |
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
|
|||
| Return Value | Code Name | Code | String Return | |
| TCL_OK | 0 | INFO: Operation successful | ||
| TCL_ERROR | 1 | ERROR: Object with ID <string> is not an object of type <string>. Specify the ID of an object with the correct type. | ||
| TCL_ERROR | 1 | ERROR: Cannot find object of ID <string>. Specify an existing object ID. | ||
| TCL_ERROR | 1 | ERROR: Unsupported object type: <string>. Specify a supported object type. | ||