get_edge_info (::quartus::sta)

The following table displays information for the get_edge_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::sta 1.0

Syntax get_edge_info [-h | -help] [-long_help] [-delay] [-delay_type] [-dst] [-ff] [-fr] [-hslp] [-max] [-min] [-name] [-rf] [-rr] [-src] [-type] [-unateness] <edge_object>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-delay Return the delay.
-delay_type Return the type of the delay (ic/cell).
-dst Return the destination node ID.
-ff Return the fall-to-fall delay
-fr Return the fall-to-rise delay
-hslp Return the HS/LP setting
-max Max delay
-min Min delay
-name Return the edge name
-rf Return the rise-to-fall delay
-rr Return the rise-to-rise delay
-src Return the source node ID
-type Return the edge type.
-unateness Return the unateness.
<edge_object> Edge object
Returns information about the specified edge (referenced by edge ID).
Edge ID's can be obtained by Tcl commands such as get_node_info <node_id>

The "-type" and "-name" options exist only to keep the interface compliant
with the get_object_info command. The "-type" option always returns "edge",
while the "-name" option always returns an empty string.

The "-delay" option returns the delay associated to the edge. Use
-max/min and -rr/rf/fr/ff options to specify the type of returned
delay. One of the -max/min options must be specified. One of the
-rr/rf/fr/ff options must be specified.

	    The -hslp option returns the HS/LP setting associated to the edge.

The -unateness option returns the unateness associated to the edge.
Example Usage
project_open chiptrip
set nodes [get_pins] 
foreach_in_collection node $nodes {
    set node_name [get_node_info -name $node]
    set edges [get_node_info $node -fanout_edges]
    foreach edge $edges {
        # Traverse to the fanout node
        set dst_node [get_edge_info -dst $edge]
        set dst_name [get_node_info -name $dst_node]
        set delay_type [get_edge_info -delay_type $edge]

        set rr_delay [get_edge_info $edge -max -delay -rr]
        set rf_delay [get_edge_info $edge -max -delay -rf]
        set fr_delay [get_edge_info $edge -max -delay -fr]
        set ff_delay [get_edge_info $edge -max -delay -ff]
        puts "Max $delay_type delay of edge $edge, from $node_name to $dst_name: (RR:$rr_delay RF:$rf_delay FR:$fr_delay FF:$ff_delay)"
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.