get_net_info (::quartus::sta)
The following table displays information for the get_net_info Tcl command:
Tcl Package and Version |
Belongs to ::quartus::sta 1.0 |
|||
Syntax | get_net_info [-h | -help] [-long_help] [-name] [-pin] [-type] <net_object> | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-name | Return the net name | |||
-pin | Return the pin ID of this net | |||
-type | Return the net type. | |||
<net_object> | Net object | |||
Description |
Returns information about the specified net (referenced by net ID). Net ID's can be obtained by Tcl commands such as get_nets. The "-type" option returns "net". The options "-name", "-type", and "-pin" are mutually exclusive. |
|||
Example Usage |
project_open chiptrip create_timing_netlist set nets [get_nets] foreach_in_collection net $nets { puts [get_net_info $net -name] } delete_timing_netlist project_close |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: Option <string> is not allowed to be specified with option -<string>. Remove the disallowed option. | ||
TCL_ERROR | 1 | ERROR: Options <string> are exclusively allowed to be specified with option -<string>. Specify one of the allowed options. | ||
TCL_ERROR | 1 | ERROR: Options are mutually exclusive: <string>. Specify only one of the these options. | ||
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: Option <string> is required to be specified with option -<string>. Specify a required option. | ||
TCL_ERROR | 1 | ERROR: Unsupported object type: <string>. Specify a supported object type. |