集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 726|回复: 0

TimeQuest Example: Reporting Multiple Operating Conditions

[复制链接]
王建飞 发表于 2015-9-2 09:37:33 | 显示全部楼层 |阅读模式
This example shows a simple Tcl script that you can use to generate a multicorner analysis in the TimeQuest 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 TimeQuest 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 Altera Hardware Reference Design 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 TimeQuest View pane except for the final reports generated for the last operating condition.
您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|fpga论坛|fpga设计论坛 ( 京ICP备20003123号-1 )

GMT+8, 2025-6-21 02:52 , Processed in 0.061080 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表