Documente Academic
Documente Profesional
Documente Cultură
Delay
1.
2.
3.
4.
Delay definition
Transient response
RC delay models
Linear delay models
1. Delay Definitions
tpdr: rising propagation delay
From input to rising output
crossing VDD/2
tpdf: falling propagation delay
From input to falling output
crossing VDD/2
tpd: average propagation delay
tpd = (tpdr + tpdf)/2
tr: rise time
From output crossing 0.2
VDD to 0.8 VDD
tf: fall time
From output crossing 0.8
VDD to 0.2 VDD
5: DC and Transient Response
4th Ed.
1. Delay Definitions
tcdr: rising contamination delay
From input to rising output crossing VDD/2
tcdf: falling contamination delay
From input to falling output crossing VDD/2
tcd: average contamination delay
tpd = (tcdr + tcdf)/2
4th Ed.
Arrival time
Arrival time is the latest time at which each node in a block of logic
will switch
The slack is the difference between the required and arrival times.
Positive slack means that the circuit meets timing.
Negative slack means that the circuit is not fast enough.
4th Ed.
2. Transient Response
DC analysis tells us Vout if Vin is constant
Transient analysis tells us Vout(t) if Vin(t) changes
Requires solving differential equations
Input is usually considered to be a step or ramp
From 0 to VDD or vice versa
4th Ed.
DC Response
DC Response: Vout vs. Vin for a gate
Ex: Inverter
When Vin = 0
->
Vout = VDD
When Vin = VDD
->
Vout = 0
VDD
In between, Vout depends on
Idsp
transistor size and current
Vin
Vout
By KCL, must settle such that
Idsn
Idsn = |Idsp|
We could solve equations
But graphical solution gives more insight
5: DC and Transient Response
4th Ed.
Transistor Operation
Current depends on region of transistor behavior
For what Vin and Vout are nMOS and pMOS in
Cutoff?
Linear?
Saturation?
4th Ed.
Vout(t)
Cload
dVout (t )
I (t )
= dsn
dt
Cload
Idsn(t)
0
t t0
I dsn (t ) =
Vout > VDD Vt
2 (VDD V )
V (t )
VDD Vt out 2 Vout (t ) Vout < VDD Vt
5: DC and Transient Response
4th Ed.
Vin(t)
Vout(t)
t0
1.5
1.0
(V)
Vin
tpdf = 66ps
tpdr = 83ps
Vout
0.5
0.0
0.0
200p
400p
600p
800p
1n
t(s)
4th Ed.
Delay Estimation
We would like to be able to easily estimate delay
Not as accurate as simulation
But easier to ask What if?
The step response usually looks like a 1st order RC
response with a decaying exponential.
Use RC delay models to estimate delay
C = total capacitance on output node
Use effective resistance R
So that tpd = RC
Characterize transistors by finding their effective R
Depends on average current as gate switches
5: DC and Transient Response
4th Ed.
10
Effective Resistance
Shockley models have limited value
Not accurate enough for modern transistors
Too complicated for much hand analysis
Simplification: treat transistor as resistor
Replace Ids(Vds, Vgs) with effective resistance R
Ids = Vds/R
R averaged across switching of digital gate
Too inaccurate to predict current at any given time
But good enough to predict RC delay
4th Ed.
11
3. RC Delay Model
Use equivalent circuits for MOS transistors
Ideal switch + capacitance and ON resistance
Unit nMOS has resistance R, capacitance C
Unit pMOS has resistance 2R, capacitance C
Capacitance proportional to width
Resistance inversely proportional to width
d
d
k
s
s
kC
R/k
kC
2R/k
g
kC
kC
d
k
s
s
5: DC and Transient Response
kC
g
kC
d
4th Ed.
12
RC Values
Capacitance
C = Cg = Cs = Cd = 2 fF/m of gate width in 0.6 m
Gradually decline to 1 fF/m in nanometer techs.
Resistance
R 6 K*m in 0.6 m process
Improves with shorter channel lengths
Unit transistors
May refer to minimum contacted device (4/2 )
Or maybe 1 m wide device
Doesnt matter as long as you are consistent
5: DC and Transient Response
4th Ed.
13
2 Y
2C
2C
2C
2C
Y
R
C
R
C
C
d = 6RC
5: DC and Transient Response
4th Ed.
14
4th Ed.
15
2
3
3
3
4th Ed.
16
2C
2C
2
2C
2C
2C
2
2C
2C
3
3C
3C
3C
2C
3C
3C
3C
3C
4th Ed.
17
Elmore Delay
ON transistors look like resistors
Pullup or pulldown network modeled as RC ladder
Elmore delay of RC ladder
t pd
Ri to sourceCi
nodes i
R2
R3
C1
C2
RN
C3
4th Ed.
CN
18
2
3
3 n1
3
t pdr = ( 9 + 5h ) RC
Y
9C
5hC
n2
3C
3C
t pdf = ( 3C ) ( R3 ) + ( 3C ) ( R3 + R3 ) + ( 9 + 5h ) C ( R3 + R3 + R3 )
= (11 + 5h ) RC
4th Ed.
19
Delay Components
Delay has two parts
Parasitic delay
9 or 11 RC
Independent of load
Effort delay
5h RC
Proportional to load capacitance
4th Ed.
20
10
Contamination Delay
Best-case (contamination) delay can be substantially less than
propagation delay.
Ex: If all three inputs fall simultaneously
2
2
3
3 n1
3
Y
9C
5hC
n2
3C
3C
5
R
tcdr = ( 9 + 5h ) C = 3 + h RC
3
3
4th Ed.
21
Diffusion Capacitance
We assumed contacted diffusion on every s / d.
Good layout minimizes diffusion area
Ex: NAND3 layout shares one diffusion contact
Reduces output capacitance by 2C
Merged uncontacted diffusion might help too
2C
2C
Shared
Contacted
Diffusion
Isolated
Contacted
Diffusion
Merged
Uncontacted
Diffusion
2
3
3
3C 3C 3C
4th Ed.
7C
3C
3C
22
11
Isolated/Shared/Merged Diffusion
Shared contacted diffusion can reduce the diffusion capacitance
Un-contacted diffusion nodes can reduce more capacitance
Isolated
Merged
Shared
4th Ed.
23
Layout Comparison
Which layout is better?
VDD
VDD
GND
5: DC and Transient Response
GND
CMOS VLSI Design
4th Ed.
24
12
4th Ed.
25
Logical Effort
Logical Effort is defined as the ratio of the input
capacitance of the gate to the input capacitance of
an inverter that can deliver the same output current.
Logical effort of common gates
Gate type
Number of Inputs
1
Inverter
4/3
5/3
6/3
(n+2)/3
5/3
7/3
9/3
(2n+1)/3
NAND
NOR
Tristate,
multiplexer
4th Ed.
26
13
Parasitic Delay
The parasitic delay of a gate is the delay of the gate
when it drives zero load
Parasitic delay of common gates
Gate type
Number of Inputs
1
Inverter
NAND
NOR
2n
Tristate,
multiplexer
4th Ed.
27
Parasitic Delay
Parasitic Delay for n-input NAND gate
4th Ed.
28
14
Example
Use the linear delay model to estimate the delay of
the fanout-of-4 (FO4) inverter. Assume the inverter
is constructed in a 65 nm process with = 3 ps.
4th Ed.
29
4th Ed.
30
15
Review
1. What are tpdr, tpdf, tf, tr, tcdr, tcdf?
2. Calculate arrive time of the following circuit:
20
10
30
40
30
40
4th Ed.
31
16