Get_path, Usage, Options – Altera Quartus II Scripting User Manual
Page 537: Description, Example, Get_path –407

Chapter 3: Tcl Packages & Commands
3–407
sta
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_path
Usage
get_path [-from
[-pairs_only] [-show_routing] [-through
Options
-from
-min_path: Find the minimum delay path(s)
-npaths
same value as nworst, if nworst is specified
-nworst
unspecified, there is no limit. If nworst is specified, but npaths is not, npaths
defaults to the same value as nworst
-pairs_only: When set, paths with the same start and end points are considered
equivalent. Only the longest delay path for each unique combination is displayed.
-show_routing: Option to display detailed routing in the path
-through
matching)
-to
Description
Returns a collection of path objects for the longest delay paths between arbitrary points in the netlist.
This command behaves the same as the report_path command. However, instead of reporting the paths, it
returns a Tcl collection of path objects. You can retrieve path object data using the get_path_info and
get_point_info commands.
Note that get_path_info does not provide any clock-related information, required points, or meaningful
slack values, for paths represented by the path objects returned by this function.
For help on the options shared with report_path, see help for the report_path command.
Example
# Define a few helper procedures to print out points
# on a path, and the path itself
proc print_point { point } {
set total [ get_point_info $point -total ]
set incr [ get_point_info $point -incr ]
set node_id [ get_point_info $point -node ]
set type [ get_point_info $point -type ]
set rf [ get_point_info $point -rise_fall]
set node_name ""
if { $node_id ne "" } {
set node_name [ get_node_info $node_id -name ]
}
puts \
[format "%10s %8s %2s %-6s %s" $total $incr $rf $type $node_name ]
}
proc print_path { path } {
puts "Delay : [ get_path_info $path -arrival_time]"
puts ""