get_edge_slacks (::quartus::sta)
The following table displays information for the get_edge_slacks Tcl command:
| Tcl Package and Version | Belongs to ::quartus::sta 1.0 |
||
| Syntax | get_edge_slacks [-h | -help] [-long_help][-hold][-recovery][-removal][-setup] | ||
| Arguments | -h | -help | Short help | |
| -long_help | Long help with examples and possible return values | ||
| -hold | Hold analysis | ||
| -recovery | Recovery analysis | ||
| -removal | Removal analysis | ||
| -setup | Setup analysis | ||
| Description |
Returns a collection of edge slack pairs for the specified analysis type. A setup analysis is performed by default if no option is specified. Results are sorted by slack, then by the name of the source node for the edge, and last by the node name of the destination of the edge. |
||
| Example Usage |
project_open top
create_timing_netlist
read_sdc
update_timing_netlist
foreach_in_collection edge_slack [get_edge_slacks -setup] {
# Each item in the collection is an {edge slack} pair
set edge [lindex $edge_slack 0]
set slack [lindex $edge_slack 1]
set src_node [get_edge_info -src $edge]
set dst_node [get_edge_info -dst $edge]
post_message -type info "Found edge [get_node_info -name $src_node] -> [get_node_info -name $dst_node] with slack $slack"
}
delete_timing_netlist
project_close
|
||
| Return Value | Code Name | Code | String Return |
| TCL_OK | 0 | INFO: Operation successful | |
| TCL_ERROR | 1 | ERROR: Timing netlist does not exist. Use create_timing_netlist to create a timing netlist. | |