Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 5 Fundamental
parameters
for digital gates
The CMOS Inverter
1
Capacitive and Inductive Coupling Power and Ground Noise
Definitions DC Operation
Voltage Transfer
Characteristic (VTC)
5 VIN VOUT
VOH
DC Operation 4
Switching Threshold
Noise Margins VM when VIN = VOUT
VOUT
3
Vout = VIN
Fan OUT - Fan IN VM
Balanced if VM = VDD/2
2
1
Logical “1” at VOH
VOL Logical “0” at VOL
1 2 3 4 5
VIN
2
Analog versus Digital Signals Analog versus Digital Signals
Nominal Accepteble
VOUT
VOH, VOL = nominal Output Levels Input Levels
The noise margins
5
output
t t voltage
lt
VOH
4
VOH are defined as the
NMH difference
3
VIH between VOH/VOL
VIH, VIL = acceptable
Slope = -1
Undefined and VIH/VIL
2
input voltage Region
1 NML = VIL - VOL
O
VIL NMH = VOH - VIH
VOL NML
1 2 3 4 VIN VOL
VIL VIH
VOUT
Fan-in = M Fan-out = N
Rin=∞
Rout=0
Noise Margin=VDD/2
Gain = ∞
Fan-in = The Fan-out = The
number of number of
inputs to the gates that loads
gate the gate VIN
3
A Real Gate Dynamic Definitions
VIL VDD
3
VM
2
1 VIH
VOL
GND
1 2 3 4 5
VIN
V1 V2 V3 V4 V5
VIN
Odd # of
50% inverters
V1
t pHL + t pLH “De-facto
tpHL tpLH t tp = V2
2 Standard” for
VOUT 90% V3 performance
50% V2
Fan-out = 1
10% V5
tf tr t
2 N tp t
4
Ring Oscillator Power Dissipation
Why? V1 V2 V3 V4 V5
Average power (Battery and cooling)
Low load
Short Wires T
V
Pav = DD ∫ iDD (t ) dt
Fan-out = 1
Low complexity
T 0
PDP = t p × Pav ( J )
The CMOS Inverter
Energy per operation
5
Inverters The CMOS Inverter
VDD
On-chip resistors are large VDD + Lower static power
St ti power consumption
Static ti consumption
ti
VOL ≠ 0 + VOH = VDD; VOL = 0
GND
Large tpLH + tpLH = tpHL If properly designed
+ Low Impedance connection
to ground and VDD
VDD
Extra process step
Static power consumption
VOL ≠ 0 - More fab. stages
Large tpLH GND - Lower hole mobility
GND
GND GND
GND GND
6
CMOS Inverter - Model CMOS Static Behavior
VDD
Complementary i.e. output
Req-p
y a low impedance
have always p Load characteristics
connection to GND or VDD
VTC
VOH = VDD Switching threshold
CL
VOL = 0
Noise margin
g
Req-n
VM = f(Req-n, Req-p)
VM = VDD/2 if Req-n = Req-p
N-channel P-channel
IDn = -IDp ID VGS=5V Vin=0V - IDp IDn VGS=5V
VGS=-3V
Vin = Vout =
VGS=-5V VDD-VGSp VDD-VDSp
VGS=-5V
VDS
7
Inverter Load Characteristics Region: Linear - Saturation
Vin=0V
I Vin=5V
Vin=0V
I Vin=5V
5
N sat
N off
VOUT P lin P lin
Vin=1V Vin=4V
4
Vin=2V Vin=3V
Vin=1V Vin=4V 3 VM
N sat Vin=3V Vin=2V
P sat Vout
2
Vin=2V Vin=3V
VM 1
N lin
Vin=3V Vin=2V N lin
P sat P off
Vout 1 2 3 4
VIN 5
8
Switching Threshold Long Channel Switching Threshold
Transistors
r (VDD + VTp ) + VTn −k p r (VDD + VTp ) + VTn −k p
VM = with r = (VTn = -VTp = 0.5 V) VM = with r =
1+ r kn 1+ r kn
5
5 5
VM
4
VM
4
VM
4
Moderate deviation from
kp/kn = 1 gives only 3
3 3
small changes in VM 2
2 2
Wp = 2Wn common to t 1
1 1
save area, since the
change in VM is small 0.1 0.32 1 3.2
1 2 4 6 8
kp/kn10 0.1 0.32 1 3.2
kp/kn10 kp/kn10
Wp≈3Wn
−k p 103μ
r= = = 0.59
2
kn 300μ VDD = 3V
1.5
(V)
r (VDD + VTp ) + VTn
VM = =
out
V
1+ r 1
= 1.18 V
1 + 0.59 GND
0
0 0.5 1 1.5 2 2.5
V (V)
in
9
VTC: Short Channel Wp 0.375 VTC: Short Channel
=
Lp 0.25
0.25
0.05 PMOS 0
VGS = -0.625
VGS = -1.25
VGS = 0.625
VIN = 0.625
VGS = 1.0
10 VIN = 1.0
10 VIN = 1.0
10
VGS = -1.25 VIN = 1.25
VGS = -0.625 VGS = 0.625 -0.05
0 VGS = -1.5
VDS (V) VIN = 1.875 VIN = 0.625
NMOS
VGS = -2.5 VGS = -1.875
0 0.5 1.0 1.5 2.0 2.5
-0.10
-2.5 -2.0 -1.5 -1.0 -0.5 0 0.5 1.0 1.5 2.0 2.5 VOUT (V)
-0.05
VGS = -1.5
VGS = -2.5 VGS = -1.875 VDS (V)
-0.10 Move the PMOS part to the first quadrant
-2.5 -2.0 -1.5 -1.0 -0.5 0 0.5 1.0 1.5 2.0 2.5
VTC
The threshold
2.0
1.5
VM is when
VIN = 1.875
1.5
VIN=VOUT
1.0
VM =1 V
0.10
VIN = 0 1.0
0.5
VIN = 1.25
VIN = 0.625 0.5
VIN = 1.0 VIN = 1.0 0 0.5 1.0 1.5 2.0 2.5
VIN = 1.25
Vin (V)
VIN = 1.875 VIN = 0.625 0
0 0.5 1.0 1.5 2.0 2.5
0.5 1.0 1.5 2.0 2.5
VOUT (V) Vin (V)
10
Switching Threshold: Short Channel Example 0.25 μm technology
VDSATn ⎛ V ⎞
VTn +
VDSATn ⎛ V ⎞
+ r ⎜VDD +VTp + DSATp ⎟ 0.43 + 0.63 + 0.41⎛⎜ 2.5 − 0.4 − 1 ⎞⎟
VTn + + r ⎜VDD +VTp + DSATp ⎟
2 ⎝ 2 ⎠ k p VDSATp VM =
2 ⎝ 2 ⎠
=
2 ⎝ 2⎠
= 1.0 V
VM = where r = 1+ r 1+ 0.41
1+ r kn VDSATn
11
Balancing the inverter Balancing the inverter
1.8
1.6
2 2 15
1.5
VDSATn 0.63
Wp kn' ((VM −VTn )VDSATn −
) 115× ((1.25 − 0.43) × 0.63 − ) 1.4
V (V)
= 2 = 2 = 3.5 1.3
−1
M
2
Wn V
−k p' ((VDD +VM −VTp )VDSATp + DSATp ) −30 × (−2.5 +1.25 − (−0.4) − ) 1.2
2 2 1.1
W p /W n
For the minimal NMOS with Wn=0.375 μm, VM is rather insensitive to changes in the device ratio
the corresponding PMOS has Wp=1.3 μm A ratio decrease from 3.5 to 2 yields VM = 1.13 V
which often is acceptable
Saves area
the slope is -1
⇒ = −1 VIL A simplified
∂Vin
2.5
piecewise linear VTC
p
2.0
A reasonable
ΔVOUT
2.5
2 approximation is 1.5
g=
1.5
to use the gain (g) 1.0
VM
ΔVin
around VM
(V)
out
V
1
0.5
ΔVOUT
g=
0.5
VIH
ΔVin
0
0 0.5 1.0 1.5 2.0 2.5
0 0.5 1 1.5 2 2.5
V (V)
in
Vin (V)
12
Determining VIH and VIL ΔVOUT The Inverter Gain (g) Derived at
g=
ΔVin page 189
VDD −VM
Vout (V) g= 1 knVDSATn + k pVDSATp 1+ r
VIL −VM g =− ≈−
2.5 VIL
I D (VM ) λn − λp VDSAT
(VM −VTn − DSATn )(λn − λp )
VDD −VM 2
2.0
VIL = VM +
VDD-VM g 0
-2
1.5
-4
Note that the gain is
VM
very
y sensitive to the
-6
1.0
VM-VIL VM
g=
-8
8
channel-length
gain
VM −VIH
-10
0.5
modulation
-12
VIH -14
V
0 0.5 1.0 1.5 2.0 2.5 VIH = VM − M -16
in
VDD −VM 1+ r
Vout (V)
VIL = VM + Vout (V) g ≈−
V
=
2.5 VIL g 2.5 VIL (VM −VTn − DSATn )(λn − λp )
2
V
2.0
VIH = VM − M 2.0
VDD-VM
g VDD-VM 1 + 0.41
1.5 1.5 =− =
0.63
(1 − 0.43 − )(0.06 + 0.1)
1.0
VM
1.0
VM 2
VM-VIL NMH = VDD −VIH ; NML = VIL VM-VIL
0.5 0.5 = −34.6
VIH VIH
0 0.5 1.0 1.5 2.0 2.5 0 0.5 1.0 1.5 2.0 2.5
Vin (V) Vin (V)
13
Example (Minimum size transistors) CMOS Dynamic Behavior
Vin
i
Cgd2
d2 Cdb2 Voutt Cg44 Vout2
t2
Vin Cgd2 Cdb2 Vout Cg4 Vout2
14
Cgd - Overlap Capacitance The Miller Effect
Cgd
VDD
ΔV ΔV
ΔV ΔV
2Cgdd
Vin Cgd2 Cdb2 Vout Cg4 Vout2
VDD VDD
Vin Cgd2 Cdb2 Vout Cg4 Vout2 Vin Cgd2 Cdb2 Vout Cg4 Vout2
15
Channel Capacitance Cg - Gate Capacitance
16
Req in Short Channel Transistors Digital IC-Design
I D VDD / 2 = 145 μ A
0.1 ⎡VDS ⎤ ⎡V ⎤
⎢I ⎥ + ⎢ DS ⎥
In Velocity ⎣ D ⎦ (VOUT =VDD ) ⎣ I D ⎦ (VOUT =VDD / 2)
05
0.5 Saturation Req -n = =
2
2 1
+
VDS (V)
−6
= 153 × 10 145 ×10−6 = 10 kΩ
0
0 0.63 V 1 2
Req -n
2
17
Req in Short Channel Transistors Req for Short Channel NMOS
I D (mA)
Find IDSAT
0.15
VGS = 2 V
Model Based Method
0.1
DSAT (1 + λ
0 0.63 V 1 2
⎝ 2 ⎠
IDSAT = ID when
W ⎛ V2 ⎞ VDS = 0
⎛ V2 ⎞ I DSAT =k'
⎜⎜ (VDD − VT )VDSAT − DSAT ⎟⎟ =
with I DSAT = k ⎜ (VDD − VT )VDSAT − DSAT ⎟ In Velocity n
L ⎝ 2 ⎠ (extrapolated)
⎜ 2 ⎟⎠ Saturation
⎝ 0.375 ⎛ 0.63 ⎞ 2
I DSAT = 115 ⎜ (2 − 0.43)0.63 − ⎟ = 136 μ A
0.25 ⎝ 2 ⎠
18
Inverter - Propagation Delay Propagation Delay (page 202)
Long Channel Short
Q = C × ΔU = CL (VOH - VOL ) / 2 = CLVDD / 2 Transistors
Channel
Q = I ×t =
kn k
(VGS - VT ) 2 × t pHL = n (VDD - VT ) 2 × t pHL 3 CLVDD
Transistors
2 2 t pHL = 0.69 =
4 I DSAT
CLVDD CL CLVDD
t pHL = ≈ = 0.52
2 VDSATn
kn (VDD - VT ) knVDD
V knVDSATn (VDD − VTn − ) V
2
C 1 1
tp = L ( + )
2VDD kn k p CL CL
t p (s)4 V
β=2 (or 2.4) for equal delays
p
CL Wp
3.5
(tpLH=tpHL) V
Wn CL
3 However, β=2 might be acceptable
1 1.5 2 2.5 3 3.5 4 4.5 5
β
β = Wp/Wn (VM≈0.45 VDD)
19
Effect of Input Rise Time Digital IC-Design
tpHL Increase
tpHL [ns] Note the linearly with the
0 35
0.35 gain
input rise time trise
0.30
Driving a Large Fan-out
0.25 tr2
t pHL ( actual ) = t 2pHL ( step ) +
4
0.20
0.15
0.2 0.4 0.6 0.8 1.0
trise [ns]
20
Inverter with Load (External only) Inverter with Internal Load
Delay Delay
Req
Cint Cext
Cext
Req
Load (Cext) External Load
tp = 0.69 Req Cext tp = 0.69 Req (Cint + Cext)
3.8
x 10
-11
Req Cint = Intrinsic capacitance
3.6 (for fixed load) External load Cext = Extrinsic capacitance
capacitances
3.4
dominate Req = Resistance in channel
3.2 Cint = Cdb+Cgd
Cext = Cw + Cg
t (sec)
Cw = Wire capacitance
p
2
2 4 6 8 10 12 14
S Req Cint Cext
21
Scaling to Increase Driving Capability Scaling to increase driving capability
Req
Scaling W with a factor S: Delay RC-model
Cext
t p = 0.69 Req (Cint + Cext ) = 0.69 Req Cint (1 + )
Cint = S × Ciref Cint
Cint = Cdb+Cgd
Scaling with a factor S
Rref
Req = t p = 0.69
Rref
S Ciref (1 +
Cext C
) = t p 0 (1 + ext )
Req S S S Ciref S Ciref
VDD
Ciref Cext 20
10
S
0
5 10 15
22
Sizing a Chain of Inverters Sizing a Chain of Inverters
Cg , j +1
γ = Capacitive proportionality Cint, j f=
factor for each inverter
γ= Cg , j
Cg, j
- Technology Dependent f = The loading capacitive ratio
- Independent of the size (W)
The in- and in two following stages
output
- Close to 1 in Submicron capacitive ratio
1 2 N 1 2 N
Cg,1 Cint,1 Cg,2 Cint,2 Cg,N Cint,N Cg,N+1= CL Cg,1 Cint,1 Cg,2 Cint,2 Cg,N Cint,N Cg,N+1= CL
1 2 N 1 2 N
Cg,1 Cint,1 Cg,2 Cint,2 Cg,N Cint,N Cg,N+1= CL Cg,1 Cint,1 Cg,2 Cint,2 Cg,N Cint,N Cg,N+1= CL
23
Sizing a Chain of Inverters Sizing a Chain of Inverters
f =NF
Cg ,2 N fj N
F
f=
Cg ,1 C
f =N L =NF
t p = t p0 ∑ (1 +
j =1 γ
) = N × t p 0 (1 +
γ
)=
f2=
Cg ,3 Known Cg ,1
Cg ,1
Optimum is found by setting the derivative to 0
C
fN= L =F (F = overall effective fan- out) γ
Cg ,1 (1+ )
1 2 N f =e f
1 2 N
f =e f
solution
so u o except
p for
o γ=00 6
t popt stages
1 2 N
2
1
(1+ )
f for f = e f
24
Buffer Design Inverter Chain
Common practice:
N f tp
1 64 1 64 65
Optimum fan-out around f=4
1 8 2 8 18
64
1 3 4 15 1 4 16
4 16 64
I
In O t
Out
1 64 4 2.8 15.3
CL
2.8 8 22.6
25
Dynamic Power Consumption Current Spikes – Direct Path
Current peak
VDD Edp = VDD
I peak × tr
+ VDD
I peak × t f
=
tr × t f when both N-
Note: The power is VDD I peak
2 2 2 and PMOS are
dissipated in the transistor
Charge open
resistance, Req tr × t f
Pdp = VDD I peak f
2
However: the power VDD-VT
consumption is independent
of the value of Req VT
Discharge
P = CL VDD2 f Ipeak
N open
P open
Dynamic power
Normalized power
1
0 Drain leakage 65 nm
to bulk &
0.01
drain-source
0.0001
subthreshold Static power
current Year
0.0000001
1990 2000 2010 2020
Source: ITRS
26
Digital IC-Design Power-Delay Product
tp CL × VDD
2
PDP = P × t p = CL × VDD
2
× f max × t p = CL × VDD
2
× = (J )
(PDP)
2t p 2
Independent of operating
frequency
In Out
2 fF Out
27
Propagation Delay Power Consumption at Max Speed
2 2t p − Min consumption
t pHL − Comp = 0.69 × CComp × Req − n = 41 ps t pHL −Comp + t pLH −Comp 1
PComp = CComp × VDD × f Max − Comp = CL × VDD × = 230 μW
t pLH − Comp = 0.69 × CComp × Req − Comp = 62 ps t p −Comp = = 52 ps
2 2
2 2t p − Comp
VDD VDD
GND GND
tp CL × VDD
2
PDP = P × t p = CL × VDD
2
× f max × t p = CL × VDD
2
× = (J )
2t p 2 Ptot = Pdyn + Pdp + Pstat =
CMin × VDD
2
Compensating
PDPMin = = 8 fJ
gives higher
2
CComp × VDD energy per
tr + t f
= CLVDD + +
2
2
PDPComp = = 12 fJ f VDD I peak f I leakageVDD
2 switching event 2
VDD
CL × VDD
2
PDP = P × t p = (J )
In Out In Out
2
GND
28