1
EE241 - Spring 2013Advanced Digital Integrated Circuits
Lecture 6: Delay Models
2
Announcements
Homework #1 posted Due February 25
Project teaming by January 20Title
½ page description
5 references
Project web page – e-mail me the link
2
3
Outline
Last lectureTransistor on-currents and leakage
This lectureDelay modeling
C. Transistor C-V
3
5
MOS Transistor as a Switch
Discharging a capacitor• Can solve:
DS DS DSi i v
DSDS DS
dvi C v
dt
• Prefer using equivalent resistances• Find tpHL
• Find equivalent C, R
+
-
vDSiDS
vGS
,
( )dDS DSpHL
DS GS DS
C v vt
i v v
C
6
MOS Capacitances
Gate capacitanceNon-linear channel capacitance
Linear overlap, fringing capacitances
Miller effect on overlap, fringing capacitance
Non-linear drain diffusion capacitancePN junction
Wiring capacitancesLinear
4
7
Gate and Drain CapacitancesGate capacitance
Drain capacitance
8
Gate Capacitances
Gate capacitance is non-linearFirst order approximation with CoxWL (CoxL = 1.5fF/m)
Need to find the actual equivalent capacitance by simulating it
Since this is a linear approximation of non-linear function, it is valid only over the certain range
Different capacitances for HL, LH transitions and power computation
Drain capacitance non-linearity compensatesBut this changes with fanout
5
D. Gate Delays
10
MOS Transistor as a Switch (EECS141)Traversed path
C
6
11
MOS Transistor as a Switch (EECS141)
Solving the integral:
Averaging resistances:
with appropriately calculated Idsat
12
CMOS Performance
Propagation delay: LeqnpHL CRt 2ln LeqppLH CRt 2ln
ln2 = 0.7
7
13
0.0E+00
1.0E-04
2.0E-04
3.0E-04
4.0E-04
5.0E-04
6.0E-04
0.2 0.4 0.6 0.8 1.0
VDS[V]
IDS[A]
Switching Trajectory
14
Effective Current
Ion(VDD) is never reached
Define Ieff = (IH + IL)/2
IL = IDS(VGS=VDD/2, VDS=VDD); IH=IDS(VGS=VDD, VDS=VDD/2),
Na, IEDM’2002Von Arnim, IEDM’2007
8
15
Effective Current in Stacks
Von Arnim, IEDM’2007
Add linear current, I3
16
Calibrating Delays
Accurate delay model needs to incorporate:Slope effects
Non-linear capacitive loading
Signal arrival times
Wire models
9
17
FO4 Inverter Delay
In
tpShapes the input slope to FO4
FO4 load Suppresses Millerkickback
Horowitz, IEEE Micro1/98
18
Input Slope Dependence
One way to analyze slope effectPlug non-linear IV into diff. equation and solve…
Simpler, approximate solution:Use VThZ model
From Elad Alon
outout L NMOS PMOS
dVI C I I
dt
10
19
Slope Analysis
For falling edge at output:
For reasonable inputs, can ignore IPMOS
Either Vds is very small, or Vgs is very small
So, output current ramp starts when Vin=VThZ
Could evaluate the integral
Learn more by using an intuitive, graphical approach
20
Slope Dependence
Iout ramps linearly for VThZ<Vin<VDD
Constant once Vin =VDD
CL integrates Iout
VThZ<Vin<VDD: Vout quadratic
Vin = VDD: Vout linear
11
21
Slope Dependence (2)
Consider step input whose output crosses VDD/2 at same time
Vout set by charge removed from CL
Need to makeQR = QS
Step has to shift to when Iout=IDSAT/2
22
Slope Dependence (3)
To find Δtslope: Find Vin when Iout = IDSAT/2 (Vhalf)
And use input tr
IDSAT α (VDD-VThZ):Vhalf – VThZ = VDD/2 – VThZ/2
Vhalf = (VDD+VThZ)/2
So Δtslope = (VThZ/2)/kr
kr = VDD/(2*tp,in)
12
23
Result Summary
For reasonable input slopes:
For tp,avg, VThZ is (VThZN + VThZP)/2VThZ/VDD typically ~1/3-1/2 at nominal supply
24
Model vs. Spice Data
For reasonable input slope
Model matches Spice very well
Model breaks withvery large tr
Input looks “DC” –traces out VTCHave other problems here anyways
Short-circuit current
13
E. Standard Cells
26
Standard Cell LibraryContains for each cell:
Functional information: cell = a *b * c
Timing information: function of
input slew
intrinsic delay
output capacitance
non-linear models used in tabular approach
Physical footprint (area)
Power characteristics
Wire-load models - function ofBlock size
Fan-out
Library
K. Keutzer, EE244
14
27
Synopsys Delay Models
Linear (CMOS2) delay model
28
Example Cell Timing
15
29
Cell Characterization (Linear Model)
30
Synopsys Nonlinear Delay Model
Delay is a function of:
16
31
Synopsys Nonlinear Delay Model
F. Static Timing
17
33C. Visweswariah, ICCAD’07 tutorial
Setup Timing
LF1 LF2 CFLF3 Comb.
Comb.
Comb.
early clock
34
Hold Tests
LF1 LF2 CFLF3 Comb.
Comb.
Comb.
early data
late clock
C. Visweswariah, ICCAD’07 tutorial
18
35
Static Timing Analysis
clk
Combinationallogic
clk
Combinationallogic
clk
Combinationallogic
original circuit
extracted block
Combinationallogic
K. Keutzer, EE244
36
Each Combinational Block
Arrival time in green A
C
B
f
2
2
2
1
0
1
0
.20.20
.20
.10
X
YZ
W
.15
.05
.05
.05
Interconnect delay in red
Gate delay in blue
What’s the right mathematical object to use to represent this physical object?
K. Keutzer, EE244
19
37
Problem formulation - 1
C
B
f
X
Y
W
0
.05.1
1
.2
0
0
1
A
.15.20
.20
A
C
B
f
2
2
2
1
0
1
0
.20.20
.20
.10
X
YZ
W
.15
.05
.05
.05
12
2
2
Z
Use a labeled directed graph
G = <V,E>
Vertices represent gates, primary inputs and primary outputs
Edges represent wires
Labels represent delays
Now what do we do with this?
K. Keutzer, EE244
38
Problem formulation - Arrival Time
Arrival time A(v) for a node v is time when signal arrives at node v
uu
A( ) max (A(u) d )
FI( )
X
Y
A(Z)
Z
x zd
Y zd
A(X)
A(Y)
where d is delay from to andu u, {X,Y}, {Z}. FI(υ) = =
K. Keutzer, EE244
20
39
Static Timing Analysis
Computing critical (longest) and shortest path delayLongest path algorithm on DAG [Kirkpatrick, IBM Jo. R&D, 1966]
Used in most ASIC designs today
LimitationsFalse paths
Simultaneous arrival times
40
False Paths
21
41
Signal Arrival Times
NAND gate:
1
42
Signal Arrival Times
NAND gate:
1
22
43
Simultaneous Arrival Times
NAND gate:
44
Impact of Arrival Times
A
B
Delay
0 tB - tA
A arrives early B arrives early
Up to 25%
23
45
Next Lecture
Introduction to variability