Get_timing_edges, Usage, Options – Altera Quartus II Scripting User Manual

Page 151: Description, Example, Get_timing_edges –21

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–21

advanced_timing

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

get_timing_edges

Usage

get_timing_edges

Options

None

Description

Returns a collection of edge ids.

Example

# Count the number of synchronous edges in the design
load_package advanced_timing
project_open <design>
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 "synch"] == 0} {
incr count
}
}

puts "found $count synchronous edges"
project_close

Advertising