Timing Analyzer Report Multiple Operating Conditions

author-image

By

This example shows a simple Tcl script that you can use to generate a multicorner analysis in the Timing Analyzer user interface. A multicorner analysis verifies that the timing constraints specified for the design meet all operating conditions of the device. Download or copy the Tcl script and run it by typing the following in the Timing Analyzer Console pane:

tcl> source multicorner.tcl

Multicorner Analysis Tcl Script

Download or copy the multicorner.tcl script.

The use of this design is governed by, and subject to, the terms and conditions of the Intel® Design Example License Agreement.

proc analyze { id } {
# Insert timing reports here
create_timing_summary -setup -panel_name "$id: Summary (Setup)"
create_timing_summary -hold -panel_name "$id: Summary (Hold)"
create_timing_summary -recovery -panel_name "$id: Summary (Recovery)"
create_timing_summary -removal -panel_name "$id: Summary (Removal)"
report_min_pulse_width -nworst 100 -panel_name "$id: Minimum Pulse Width"
}

# Create a timing netlist for analysis
create_timing_netlist

# Read in SDC file
read_sdc

# Determine the current & default operating conditions. The default is used
# to prevent re-analyzing the default condition while looping through the
# available operating conditions.

set default_operating_conditions [get_operating_conditions]
set current_operating_conditions $default_operating_conditions

# Generate the corner-specific analyses for the default operating
# conditions.

analyze $current_operating_conditions

# Now loop over the remaining operating conditions

foreach_in_collection current_operating_conditions \ [get_available_operating_conditions] {

# Make sure we don't re-analyze the default conditions.

if {$current_operating_conditions != $default_operating_conditions} {
# Generate the corner-specific analyses for the
# next operating conditions.

set_operating_conditions $current_operating_conditions

update_timing_netlist

analyze $current_operating_conditions
}

}

 

The Tcl script generates the timing reports defined in the procedure proc analyze for all available operating conditions of the device. All reports generated are marked as out-of-date in the Timing Analyzer View pane except for the final reports generated for the last operating condition.