Get_delay_path, Usage, Options – Altera Quartus II Scripting User Manual
Page 144: Description, Example, Get_delay_path –14

3–14
Chapter 3: Tcl Packages & Commands
advanced_timing
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_delay_path
Usage
get_delay_path -from
Options
-from
-to
-type
Description
Returns a list of all nodes in the path between two keepers.
A keeper is a node of the type pin, register, or clock.
Example
# Print the longest paths from source registers/pin
# to destination register pairs
load_package advanced_timing
project_open
create_timing_netlist
create_p2p_delays
foreach_in_collection node [get_timing_nodes -type reg] {
set reg_name [get_timing_node_info -info name $node]
set delays_from_keeper [get_delays_from_keepers $node]
puts "register $reg_name has longest paths from sources:"
foreach delay $delays_from_keeper {
set src_node [lindex $delay 0]
puts "-> source is [get_timing_node_info -info name $src_node]"
set path [get_delay_path -type longest -from $src_node -to $node]
foreach el $path {
puts "--> node is [get_timing_node_info -info name \
[lindex $el 0]]"
puts "--> delay is [lindex $el 1]"
}
}
}
project_close