Primetime
Primetime
Objectives:
In this lab, you will learn:
1. How to use STA tools to analyze the timing of synchronous digital ASICs.
2. How to fix these problems of the timing violations.
Environment Setup:
1. Source the license file:
source /usr/cad/synopsys/CIC/primetime.csh
Filename Description
ALU_syn.v Gate level Verilog code for the simple ALU
ALU.spef Time and RC information file for the simple ALU
ALU_pt.script Scripts to run PrimeTime
ALU_syn.script Scripts to run PrimeTime
.Synopsys_dc.setup Synopsys Dft Compiler setup file (same format as Design
Vision). Define search paths, library name etc.
In spite of the above advantages, command mode sometimes is not as good as GUI
mode in terms of debugging the schematic problem. We will use command mode
throughout this Lab. You are welcome to try the GUI mode by yourself.
Start Operating PrimeTime STA tool
Questions:
How many reference cells will you have? _____.
And total area size = ________.
Questions:
Does the design meet the timing requirement? ________.
Find the critical path: Start-point = _______________
End-point = _______________
Questions:
Now, does the design meet the timing requirement? ________.
Is it the setup time violation or the hold time violation? _ setup time _______.
If all other setting is the same, what is the maximum clock period for the
design to meet the timing requirement? ________ ns.
Try to modify the setting and verify the number you get with STA tool. Do
you succeed? ________.
Questions:
Now, does the design meet the timing requirement? ___________.
Where is the new critical path: Start-point = _____________
End-point = _______________
Reports:
1. Show the types of checks being done (setup, hold, min pulse width, recovery,
removal and so forth)
report_constraint
report_constraint -all_violators
report_analysis_coverage
Questions:
How many timing violations are there in the design? __________
2. Change the setting and check the report again:
set_clock_uncertainty 0.0 $design_clock
report_constraint
report_constraint -all_violators
report_analysis_coverage
Questions:
Why are the hold-time violations fixed? Think about the clock setting in the
previous synthesis Lab and try to explain. Note that the synthesis script can be
referred in “ALU_syn.script.”
______________________________________________________________
______________________________________________________________
______________________________________________________________
______________________________________________________________
Checkpoints:
Please check with TAs before leaving this lab to make sure the following goals are
accomplished and to get credits.
1. Show your final STA results as follows.
END of LAB……………………………………………………………………………….
Creator:
1st Edition: Huai-Yi Hsu, 2002
2nd Edtion: Yu-Lin Chang, 2004
3rd Edition: Yu-Lin Chang, 2006
4th Edition: Jui-Hsin Lai (Larry), 2008
5th Edition: Fu-Chen Chen, Chieh-Li Chen 2009
6th Edition: Yung‐Lin Huang 2010
7th Edition: Tung‐Chien Chen 2011