Static Timing Analysis - Maharshi
Static Timing Analysis - Maharshi
Static Timing Analysis - Maharshi
Maharshi Bhattacharya
Cells Interco-
Custom nnects
Block
Memory
Control Logic
Optimized core
STA Tool Requirements
clock
Clock Latency:
• Source Latency: Propagation time from
original waveform to the clock definition point
in circuit.
• Network Latency: Propagation time from
clock definition point to the register clock pin.
• Clock latency is specified by
set_clock_latency command.
set_clock_latency –source 2.0 clk
Input and Output delays
Input delay
Clk-to-q delay
A B
Output delay
Output delay = clock latency+ clk-to-q delay + combo delay A + port delay
Input delay = port delay + combo delay B
Input setup time = input delay – intrinsic setup
Total path delay : Output delay + input delay = Td
Input and Output delays
( cont…)
Intrinsic setup
Td <= Tp
Slack = Data Required time – Data arrival time
= Tp – Td >= 0
Note: For the capture edge clock skew will be considered.
Not shown here for simplicity.
Summary of clock definitions
Delay = resistance*
Different capacitance
Plot for
Wire length
6 8
fan-out
Wire-load models ( cont …)
Wire Load mode selection
wire_load("R1_3M_AVERAGE") {
resistance : 1;
capacitance : 0.000140 ;
slope : 212 ;
fanout_length(1, 102);
fanout_length(2, 255);
fanout_length(3, 425);
fanout_length(4, 680);
fanout_length(5, 935);
}
Design Rule Constraints
SEL
Case Study: Timing Loop
endmodule
Timing Exceptions
• Multicyle
D Paths Huge Combinational Logic
Clock
STA
DESIGN ENTRY
Primetime
Sdf file
BACK ANNOTATION
SIMULATION
SYNTHESYS
NETLIST SDF
Design Compiler SCRIPT Ready for backend
Back Annotation
Why Required ?
• Modeling timing of custom blocks
Components:
• Model File: This file describes the ports,
modes, and interface timing arcs.
• Data File:This file describes timing data with
respect to the mentioned timing arcs.
Stamp Models
New Terms ?
Timing Arcs:
1. Min/Max arcs: Specifies combinational path
directly.
2. Timing Check arcs: Setup/Hold , Clock period ,
clock latency etc.
• Every arc has a label and this label is
referenced in the data file.
Stamp Models ( Cont…)