Altera SDC and TimeQuest API User Manual
Page 85

Chapter 2: SDC and TimeQuest API Package and Commands
2–75
sta
© December 2009
Altera Corporation
SDC and TimeQuest API Reference Manual
# Ready to call report functions
report_timing -npaths 1 -clock_setup
# The following command is optional
delete_timing_netlist
project_close
project_open my_top
# Report worst case period for -9 speed grade
create_timing_netlist -speed 9
# Read SDC and update timing
read_sdc
update_timing_netlist
report_timing -clock_setup -clock_filter clk
delete_timing_netlist
# Report hold violation for fastest corner
# Use set_operating_conditions instead
create_timing_netlist -model fast
# Read SDC and update timing
read_sdc
update_timing_netlist
report_timing -clock_hold -clock_filter clk
delete_timing_netlist
# If Delay Annotation has been run for the fast corner
# Force Delay Annotation
create_timing_netlist -model fast -force_dat
# Read SDC and update timing
read_sdc
update_timing_netlist
report_timing -clock_hold -clock_filter clk
delete_timing_netlist
# Report worst case period for post-technology mapping netlist
create_timing_netlist -post_map
# Read SDC and update timing
read_sdc
update_timing_netlist
report_timing -clock_setup -clock_filter clk
delete_timing_netlist
project_close