Get_timing_edge_info, Usage, Options – Altera Quartus II Scripting User Manual
Page 150: Description, Example, Get_timing_edge_info –20

3–20
Chapter 3: Tcl Packages & Commands
advanced_timing
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_timing_edge_info
Usage
get_timing_edge_info -info
Options
-info
Description
Returns the requested type of information for the specified timing edge.
Available information types include the following:
Example
# Count the number of clock edges in the design
load_package advanced_timing
project_open
create_timing_netlist
set count 0
foreach_in_collection edge [get_timing_edges] {
set type [get_timing_edge_info -info type $edge]
if { [string compare $type "clock"] == 0} {
incr count
}
}
puts "found $count clock edges"
# Print the worst case slack on every edge
# (This assumes timing constraints exist)
compute_slack_on_edges
foreach_in_collection edge [get_timing_edges] {
set slack [get_timing_edge_info -info slack $edge]
puts "Slack is $slack"
}
project_close
Information Type
Description
type
Type of node (synch, asynch, clock).
src_node
Source node.
dst_node
Destination node.
atom_iport
Corresponding atom's iterm (if any).
ic_delay
IC delay of the edge.
cell_delay
Cell delay of the edge.
delay_string
Symbolic representation of the delay.
slack
Worst case slack of the edge (Available after calling "compute_slack_on_edges").
wysiwyg_port_type
Atom's iterm type.