Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AGENDA
2
TIMING ANALYSIS
▪ Timing Analysis is a method of checking the timing correctness of any design
▪ Checking timing correctness requires the ability to measure delay through the circuit during various steps in the
design flow.
▪ Synthesis, Place & Route, Optimizations
▪ Timing correctness has to be checked across a range of PVT variations
▪ Verify device core and periphery works at specified frequency
▪ Identify poorly driven / overhead nets
▪ Identify nodes with large rise / fall time
▪ Types of Timing Analysis
▪ Static Timing Analysis
▪ Dynamic Timing Analysis
3
STATIC TIMING ANALYSIS (STA)
▪ STA is a method of analyzing, debugging and validating the timing performance of a design without having to
simulate it
▪ Much faster than timing-driven, gate-level simulation
▪ due to usage of simplified timing models
▪ Vector generation NOT required
▪ Proper circuit functionality is not checked
4
DTA V/S STA
5
CONCEPTS OF STATIC TIMING ANALYSIS
▪ Delays
▪ Clocks
▪ Timing Arcs
▪ Timing Paths
▪ Setup, Hold, Recovery and Removal Timing Checks
▪ Timing Exceptions
6
DELAYS
▪ Delay is the time taken by a signal to propagate through a gate or net (wire).
▪ The delay for a signal to propagate through a cell / gate is called Gate of Cell Delay and for a wire / net is
called Net Delay.
▪ Delays related to Cells:
▪ Intrinsic Delay
▪ Cell Delay / Propagation Delay / Gate Delay
▪ Transition Time or Slew
▪ Contamination Delay
▪ Delays related to Net:
▪ Net Delay / Interconnect Delay / Wire Delay / Extrinsic Delay / Flight Time
7
CELL DELAY / GATE DELAY / PROPAGATION DELAY
▪ Propagation delay of a gate or cell is the time it takes for a change of a
signal level at the input pin to result in a change at the output pin.
8
TEST YOUR UNDERSTANDING…
▪ Is the delay for Rise and Fall same? Why?
▪ No. There is a different delay corresponding to rise and fall
transitions. Rise and Fall delays depend on sizes of N & P transistors in
the design.
▪ What happens to the delay if the Load is increased?
▪ As the load increases the delay increases.
▪ What happens to Cell Delay if input transition time is reduced?
▪ Cell Delay decreases if the input transition time is reduced.
9
EFFECTS OF NET GEOMETRY ON R & C
Capacitance Resistance
Length
Width
Thickness
10
TEST YOUR UNDERSTANDING…
11
CONCEPTS OF STATIC TIMING ANALYSIS
▪ Delays
▪ Clocks
▪ Timing Arcs
▪ Timing Paths
▪ Setup, Hold, Recovery and Removal Timing Checks
▪ Timing Exceptions
12
CLOCKS
13
CLOCK LATENCY
▪ Clock Latency is the time taken by a clock signal to reach the leaf pins (e.g. clock pin of Flip-Flops)
from the source of clock.
Clock Latency
CLK
CLK FF2
D Q
CLK
14
TYPES OF CLOCK LATENCY
▪ Clock Latency can be seen in two ways- Source Latency and Network Latency
▪ Source Latency is the delay of clock from oscillator to clock port
▪ Network Latency is the delay from clock port to clock end port
15
16
CAUSES OF CLOCK SKEW
▪ Temperature variations
▪ Flip-Flops that clock on different edges (need to invert clock for some Flop-Flops)
17
POSITIVE CLOCK SKEW
▪ Positive Clock Skew occurs when the clock reaches the receiving
register later than it reaches the register sending data to the
receiving register.
Input Output
D Q D Q
DFF DFF
D1 D2
1ns
CLK
Clock at D1
▪ Negative Clock Skew occurs when the clock reaches the receiving register earlier
than it reaches the register sending data to the receiving register.
Input Output
D Q D Q
DFF DFF
D1 D2
1ns
CLK
19 Skew
TEST YOUR UNDERSTANDING…
20
TEST YOUR UNDERSTANDING…
C x z
Combo
Delay
FF1 FF2
y
T-j
22
MULTIPLE CLOCKS
▪ Synchronous Clocks
▪ Two clocks are synchronous with respect to each other if they share a common source and have a fixed
phase relationship.
▪ Asynchronous Clocks
▪ Two clocks are asynchronous with respect to each other if they don’t have a fixed phase relationship.
▪ Exclusive Clocks
▪ Two clocks are exclusive if only one of them is active at a given time.
23
SYNCHRONOUS CLOCKS
▪ Unless specified, tools (primetime/dc) assumes clocks to be synchronous
▪ You might see timing paths launched by one clock and captured by another
▪ Clock waveforms are synchronized at time 0
CK1
D Q CK2
U1
CLK QN
CK2
CK1
CK1 CP1
CK2 CP2
▪ Out of CLK and TCLK, only one can be acting on the circuit at any given time
FF1 FF2
CLK
TCLK
▪ Delays
▪ Clocks
▪ Timing Arcs
▪ Timing Paths
▪ Setup, Hold, Recovery and Removal Timing Checks
▪ Timing Exceptions
27
TIMING ARC
28
TYPES OF TIMING ARC
29
UNATE TIMING ARC
Timing Arc
of buffer
Input Output
Rise A Y Rise
Fall Fall
Bufx1
Timing Arc
Positive Unate of Inverter
Input Output
A Y
Rise Fall
Fall Rise
Invx1
30
Negative Unate
More on Timing Arcs..
31
TEST YOUR UNDERSTANDING…
In1
A
Output
Y
In2
B
Invx1
Sel
32
DIFFERENT TIMING ARC
▪ Delay Arcs
▪ Normally Input Transition V/s Output Load Arcs
▪ A ? Y of inverter (invx1) specifies the propagation delay of the cell
▪ CK ? Q of Flip-Flop (dffrx1)
33
CONCEPTS OF STATIC TIMING ANALYSIS
▪ Delays
▪ Clocks
▪ Timing Arcs
▪ Timing Paths
▪ Setup, Hold, Recovery and Removal Timing Checks
▪ Timing Exceptions
34
TIMING PATH
▪ Timing Path is a point to point path in a design that can propagate data
▪ From one Flip-Flop to another (reg to reg path)
▪ Input port to Output port
▪ Input port to Flip-Flop
▪ A Flip-Flop to a Output port
35
TYPES OF TIMING PATH
The four paths are:
▪ Path 1: Primary Input to D Input of sequential cell
▪ Path 2: Primary Input to Primary Output
▪ Path 3: Clock to D Input of next sequential cell
▪ Path 4: Clock to Primary Output
36
??
??
37
CONCEPTS OF STATIC TIMING ANALYSIS
▪ Delays
▪ Clocks
▪ Timing Arcs
▪ Timing Paths
▪ Timing Exceptions
38
SETUP & HOLD TIME
▪ Setup Time
▪ For an edge triggered sequential element, the Setup Time is the time interval before the active
clock edge during which the data should remain unchanged.
▪ Setup Timing violation occurs when the data changes too late, missing the time at which it should
advance
▪ Hold Time
▪ Time interval after the active clock edge during which the data should remain unchanged.
▪ A hold timing violation occurs when data changes too quickly after clock’s active transition
D Q
Clock CLK
39 Setup Hold
SETUP CHECK
40
Hold Check
41
42
Complete list of checks that STA does ::
43
RECALLING PATH GROUPS ..
44
WHAT ABOUT LATCHES??
45
WHAT ARE MULTI CYCLE PATHS ( MCPS)
46
COMBINATIONAL FEEDBACK LOOPS
Using a dynamic
simulation tool
47