Altera SDC and TimeQuest API User Manual

Page 109

Advertising
background image

Chapter 2: SDC and TimeQuest API Package and Commands

2–99

sta

© December 2009

Altera Corporation

SDC and TimeQuest API Reference Manual

puts \
[format "%10s %8s %-2s %-6s %s" "Total" "Incr" "RF" "Type" "Name"]
puts \
"=================================================================="

foreach_in_collection pt [ get_path_info $path -arrival_points ] {
print_point $pt
}

}

project_open my_project

# Always create the netlist first
create_timing_netlist
read_sdc my_project.sdc
update_timing_netlist

# And now simply iterate over the 10 longest delay paths,
# printing each as we go.
foreach_in_collection path [get_path -nworst 10] {

print_path $path
puts ""

}

delete_timing_netlist
project_close

Advertising