static timing analysis
static timing analysis
static timing analysis
• 100 % path coverage is possible because no design specific pattern is required (All paths are assumed critical)
• Process variation across die can be modeled
• constraints and reports are concise and easy to interpret
• Outputs
• Reports : The timing paths report which can be used for debugging.
Timing Point
INPUT
OUTPUT
D Q D Q
FF1 FF2
CLOCK
Setup time: the time required for the data to be stable before the clock edge
D1 Q1 Combo logic D2 Q2
FF1 FF2
4.5ns
0.4ns
CLK
CLK
Launch Edge
setup violation
Capture Edge
D2
4.9
setup time
CLK
0.3
0 4.7 5
Hold time: the time required for the data to remain stable after the clock edge
D1 Q1 D2 Q2
FF1 FF2
CLK1 0.4ns
0.3ns CLK2
CLK1
Launch Edge
Capture Edge
CQ
D2=Q1
0.4
Hold violation
hold time
CLK2 0.2
Setup time: the time required for the data to be stable before the clock edge
Hold time: the time required for the data to remain stable after the clock edge
D1 Q1 D2 Q2
FF1 FF2
CLK
hold time
CQ
D2=Q1
CQ
Q2
CONFIDENTIAL© Copyright 2006 Wipro Technologi 8
es
Setup and Hold time in STA
Clk
at FF2
0 100
Data
at D pin
of FF2
Early Required Time Late Required Time
Important!!
In STA, Setup is checked at next edge and hold is checked at same edge
CONFIDENTIAL© Copyright 2006 Wipro Technologi 9
es
Setup •Check
Setup check
D Q D Q
FF1 FF2
CALCULATION:
Arrival time (max) = clock delay FF1 (max) +clock-to-Q delay FF1 (max) + comb. Delay( max)
Required time = clock adjust + clock delay FF2 (min) - set up time FF2
Slack = Required time - Arrival time (since we want data to arrive before it is required)
clock adjust = clock period (since setup is analyzed at next edge)
CONFIDENTIAL© Copyright 2006 Wipro Technologi 10
es
Hold check
• Hold check
• .
D Q D Q
FF1 FF2
CALCULATION:
Arrival time = clock delay FF1 (min) +clock-to-Q delay FF1 (min) + comb. Delay( min)
Required time = clock adjust + clock delay FF2 (max) + hold time FF2
Slack = Arrival time - Required time (since we want data to arrive after it is required)
clock adjust = 0 (sinceCONFIDENTIAL©
hold is analyzedCopyright
at same 2006
edge)Wipro Technologi 11
es
STA Problems
Calculation of Maximum clock
frequency
• When no delay in the clock path
Calculation of Maximum clock
frequency
• When delay is there in the clock path
Calculation of Maximum clock
frequency
• When delay is there in the clock path
Calculation of Maximum clock
frequency
• When delay is there in the clock path