consistent timing constraints with primetime - trilobyte · consistent timing constraints with...
TRANSCRIPT
![Page 1: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/1.jpg)
TRILOBYTE
SYSTEMS
Consistent Timing Constraints with PrimeTime
Steve GolsonTrilobyte Systems
http://www.trilobyte.com
![Page 2: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/2.jpg)
2
Physical implementation
Rule #1Do not change the functionality
Rule #2Meet the specified timing constraints
![Page 3: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/3.jpg)
3
Physical Implementation Tools
automatic test pattern generation (ATPG)
cell placement
clock tree synthesis (CTS)
design-for-manufacturing/design-for-yield (DFM/DFY) tools
detail router
floorplanning
![Page 4: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/4.jpg)
4
Physical Implementation Tools
gate-level power analysis
global router
RTL power analysis
scan insertion
static timing analysis
synthesis from RTL to gate-level netlist
voltage drop analysis
![Page 5: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/5.jpg)
5
Timing-drivenPhysical Implementation Tools
Q: What do all these timing-driven tools have in common?
A: They require correct and complete timing constraints
Correct: constraints agree with the chip spec
Complete: all paths are constrained
![Page 6: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/6.jpg)
6
What’s the big deal?
Just write
“the SDC file”
and use it for every tool
![Page 7: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/7.jpg)
7
Why tools require different files
• File formats
• Versions
• Netlist status
• Features
![Page 8: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/8.jpg)
8
Flow
![Page 9: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/9.jpg)
9
Problems
Problem #1How to manage this multiplicity of files
Problem #2How to ensure consistency across tools
![Page 10: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/10.jpg)
10
Consistency
Timing-driven tools have
consistent timing constraints
if, given the same netlist,
they identify the same critical path
for a given path group.
![Page 11: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/11.jpg)
11
Consistency
1. For tool A, for each path group,report the critical path.
2. In tool B, report the identical path(startpoint, endpoint, through points, clocks).
3. Tool B path must report same constraints(e.g., launch clock time, capture clock time,clock latencies, input/output delay).
4. Tool B must report the same slack.
![Page 12: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/12.jpg)
12
Consistency
1. For tool A, for each path group,report the critical path.
2. In tool B, report the identical path(startpoint, endpoint, through points, clocks).
3. Tool B path must report same constraints(e.g., launch clock time, capture clock time,clock latencies, input/output delay).
4. Tool B must report the same slack,within some reasonable margin.
![Page 13: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/13.jpg)
13
Solution #2:Use PrimeTime throughout the flow
Switches to add to “signoff” PrimeTime scripts:
• High-fanout nets? (yes or no)
• Back-annotated parasitics? (yes or no)
• Propagate clocks? (yes or no)
• Crosstalk analysis? (yes or no)
• Netlist status (for example, scan inserted or not)
![Page 14: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/14.jpg)
14
Flow
![Page 15: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/15.jpg)
15
Solution #1:Use PrimeTime to generateall needed files
• write_sdc
• write_sdc and post-process the SDC (Perl script)
• custom PrimeTime Tcl to generate needed files
![Page 16: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/16.jpg)
16
Flow
![Page 17: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/17.jpg)
17
Flow
![Page 18: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/18.jpg)
18
Flow
![Page 19: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/19.jpg)
19
Problem: SDC command interpretation
SDC specification defines syntax, not behavior
If the SDC saysset_multicycle_path 2 -from [get_clocks clkA]
set_multicycle_path 3 -from [get_clocks clkA] \ -to [get_clocks clkB]
set_multicycle_path 4 -to [get_clocks clkB]
What is the multicycle value for a path from clkA to clkB?
![Page 20: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/20.jpg)
20
Problem: Hierarchy and budgeting
• Maintain consistent constraints across hierarchy
• Block-level constraintsmust be automatically generatedfrom full-chip constraints
• Min delays (hold) are as important as max delays
• Use default budgets, or simple slack allocation
• Accurate clock latencies are critical
• This is really hard
![Page 21: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/21.jpg)
21
Problem: Hierarchy and promotion
• Block-level constraints must be promoted to full-chipexample: IP block with supplied block-level path exceptions
• Must automate this process
• “Identical” blocks may have different constraintsexample: multiple copies of CPU, or IO interfaceperhaps different modes, with different path exceptionsperhaps operating at different voltages
![Page 22: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/22.jpg)
22
Example: extract clock latencies
Given a netlist with propagated clocks,how to describe the equivalent ideal clock timing?
What we want is a Tcl file that looks like this:########## cpuA_clkset clock_source_latency(cpuA_clk:SLOW:early:rise) 1.987set clock_source_latency(cpuA_clk:SLOW:late:rise) 2.305set clock_source_latency(cpuA_clk:SLOW:early:fall) 1.959set clock_source_latency(cpuA_clk:SLOW:late:fall) 2.272set clock_network_latency(cpuA_clk:SLOW:early:rise) 1.228set clock_network_latency(cpuA_clk:SLOW:late:rise) 1.405set clock_network_latency(cpuA_clk:SLOW:early:fall) 1.257set clock_network_latency(cpuA_clk:SLOW:late:fall) 1.438set clock_global_skew(cpuA_clk:SLOW) 0.187
Then source this into Design Compiler, PrimeTime…
![Page 23: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/23.jpg)
23
PrimeTime Tcl scriptto extract clock latencies
foreach clock that is propagated and has a defined sourceget source latency attributesprint source latency valuesforeach register using this clock
find the max delay critical path to this capture registerget capture clock latency => total early latencynetwork early latency = total early – source
find the min delay critical path to this capture registerget the capture clock latency => total late latencynetwork late latency = total late – source
simple statistics on all network latency valuesprint network latency valuesprint global skew
![Page 24: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/24.jpg)
24
Summary
Our goals:
• A methodology/flow which isautomatedflexibleconsistent
• Repeatable, reliable results from our tools
• Manually edit and maintain constraints in one place:full-chip PrimeTime Tcl scripts
• Methodology which is not design-specific
![Page 25: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/25.jpg)
25
Thank you
• Mark Sprague, AMD
• Jerry Frenkil, Sequence Design
• Many previous clients for examples, good and bad…
![Page 26: Consistent Timing Constraints with PrimeTime - Trilobyte · Consistent Timing Constraints with PrimeTime ... Physical Implementation Tools automatic test pattern generation (ATPG)](https://reader034.vdocument.in/reader034/viewer/2022051321/5ac901cf7f8b9aa3298c99f1/html5/thumbnails/26.jpg)
26
Questions?