Set_operating_conditions, Set_operating_conditions –153 – Altera SDC and TimeQuest API User Manual
Page 163

Chapter 2: SDC and TimeQuest API Package and Commands
2–153
sta
© December 2009
Altera Corporation
SDC and TimeQuest API Reference Manual
set_operating_conditions
Usage
set_operating_conditions [-force_dat] [-grade
Options
-force_dat: Option to force delay annotation
-grade
-model
-speed
-temperature
-voltage
Description
Use this command to specify operating conditions different from the initial conditions used to create the
timing netlist. When a timing model is not specified, the slow model is used.
Voltage and temperature options must be used together. These two options are not available for all
devices. The get_available_operating_conditions command returns the list of available operating
conditions for your device.
Use the -speed option to analyze the design at a different speed grade of the selected device.
Use the -grade option to analyze the design at a different temperature grade. This option is provided to
support what-if analysis and is not recommended for final sign-off analysis.
By default, delay annotation is skipped if previously performed. Use -force_dat to rerun delay annotation.
Example
#do report timing for different operating conditions
foreach_in_collection op [get_available_operating_conditions] {
set_operating_conditions $op
update_timing_netlist
report_timing
}
#manually set operating conditions
set_operating_conditions -model fast -temperature 85 -voltage 1200
update_timing_netlist
#change device speed grade and set operating conditions
set_operating_conditions -speed 3 -model slow -temperature 0 -voltage \
1100
update_timing_netlist