Escolar Documentos
Profissional Documentos
Cultura Documentos
EEM216A
Models
Fall 2015
2.22
D. Markovic / Slide
Levels of Modeling
Analytical
CAD analytical
Switch-level sim
Transistor-level sim
complexity
2.33
D. Markovic / Slide
MOS Transistor Modeling
2.44
D. Markovic / Slide
MOSFET, Notations
G
D S
tox
Leff
xd xd
Ld
2.77
D. Markovic / Slide
Threshold Voltage, VT
VSB = 0
G VT S
NMOS:
D
• VSB > 0 (RBB)
• VSB < 0 (FBB)
VSB PMOS:
• VSB > 0 (FBB)
B • VSB < 0 (RBB)
2.88
D. Markovic / Slide
Vsat Occurs at LOWER VDS than Sat
ID
Vsat Sat 𝟏
𝑘=
k 𝑽𝑮𝑻
𝟏+
𝝐𝒄 ⋅ 𝑳
k = k(VGT)
VDS
2.99
D. Markovic / Slide
Vsat: Less Current for Same VGS
ID Sat (Long-L)
VGS = VDD
Vsat (Short-L)
2.10
D. Markovic / Slide 10
CLM Holds in Vsat
S VDS D
Leff Lp
VDSAT
ΔVDS
2.11
D. Markovic / Slide 11
Simulation: Long vs. Short Channel (90nm)
• IDVSat(VGS) quadratic, IDSat(VGS) linear
• Stronger CLM in short-L than long-L
• IDVsat < IDSat only for large VGS
2.4µm/0.5µm
0.48µm/0.1µm
2.12
D. Markovic / Slide 12
Simplification: VDSAT = Constant
ID
BUT…
VDS
2.13
D. Markovic / Slide 13
Regions of Operation
Const • Simplification
VDSAT introduces “Sat”
region for low VGS
ID
• VGT < VDSAT, the
device appears
Lin VSat to be in “Sat”
VGT = VDSAT
“Sat”
VDS
2.14
D. Markovic / Slide 14
Unified Model vs. SPICE Simulation
VDS = VDSAT simulation
model
0.25
• Transition
lin/v-sat:
0.2 Lin largest
VSat modeling
ID (mA)
0.15 error
0.1
2.16
D. Markovic / Slide 16
Modeling the Sub-threshold Behavior
G
S D Parasitic BJT
Cox 𝑽𝑩𝑬
n+ E B C n+ 𝑰𝑪 = 𝑰𝟎 𝒆 𝚽𝒕
𝑽𝑮𝑺
Cd 𝑽𝑩𝑬 =
𝑪𝒅
𝟏+
𝑪𝒐𝒙
𝐶𝑑
𝑛 =1+
𝐶𝑜𝑥
𝑽𝑮𝑺 𝑽 𝑘𝑇
− 𝜱𝑫𝑺 Φ𝑡 =
𝑰𝑫 = 𝑰𝟎 ⋅ 𝒆𝒏𝜱𝒕 ⋅ (𝟏 − 𝒆 𝒕 ) 𝑞
2.17
D. Markovic / Slide 17
Sub-threshold ID vs. VGS
Physical 𝑽𝑮𝑺 𝑽
− 𝑫𝑺
model 𝑰𝑫 = 𝑰𝟎 ⋅ 𝒆𝒏𝚽𝒕 ⋅ (𝟏 − 𝒆 𝚽𝒕 )
𝑉𝑇
𝑊 2 −𝑛Φ
𝐼0 = 𝜇 Φ𝑡 𝑒 𝑡
𝐿
DIBL
2.18
D. Markovic / Slide 18
Drain Induced Barrier Lowering (DIBL)
Effective VT
Long-L
Short-L
decreasing L
VDS
2.20
D. Markovic / Slide 20
90nm Simulation: Sub-threshold ID vs. VGS
10x
𝑺 = 𝒏𝚽𝒕 𝐥𝐧(𝟏𝟎)
90mV
90mV/dec
2.21
D. Markovic / Slide 21
90nm Simulation: Sub-threshold ID vs. VDS
480nm/100nm 240nm/100nm
2.22
D. Markovic / Slide 22
Transistor Stacks Reduce Leakage
VDD
A=B=0
A B
Vx @ ID1 = ID2?
B M1 • VT1 > VT10 (RBB)
𝑉
− 𝑆𝑇1
Vx ▪ 𝐼𝐷1 ∝ 10
A M2 • Large ΔVDS1 required
▪ Vx very small
2.23
D. Markovic / Slide 23
~10x Lower Leakage for a Stack of 2
VDD
A=B=0 VDD − VT
A B
Temp
B M1
10x
A M2
Vx
[IEEE Press, New York, 2000]
2.24
D. Markovic / Slide 24
Practically Stack 2 or 3 Transistors
2.25
D. Markovic / Slide 25
Near-VT Region
(VT + ΔV Region)
2.26
D. Markovic / Slide 26
Definition: Inversion Coefficient (IC)
Inversion coefficient indicates proximity to VT
IC = 1 (@ VT), IC < 1 (sub-VT), IC > 1 (above-VT)
a.k.a. VT + ΔV region
2.27
D. Markovic / Slide 27
Current Model
Start from IS
𝑾
𝑰𝑺 = 𝟐𝒏 ⋅ 𝝁 ⋅ 𝑪𝒐𝒙 ⋅ ⋅ 𝚽𝒕 𝟐
𝑳
(𝟏+𝝈)𝑽𝑫𝑫 −𝑽𝑻
𝑰𝑪 = (𝒍𝒏 (𝒆 𝟐𝒏𝚽𝒕 + 𝟏))𝟐
2.28
D. Markovic / Slide 28
Calculate VDD from IC
𝑽𝑻 + 𝟐𝒏𝚽𝒕 𝒍𝒏 (𝒆 𝑰𝑪 − 𝟏)
𝑽𝑫𝑫 =
𝟏+𝝈
2.29
D. Markovic / Slide 29
Fitting the IC Parameter
Constrain MMSE-based curve fit with IC = 1 @ VT
65nm tech.
2.30
D. Markovic / Slide 30
Toward Delay Model:
Alpha-Power-Law Model
2.31
D. Markovic / Slide 31
Alpha-Power Model of the Drain Current
Basis for delay calculation, useful for hand analysis
1 W α Neglects
ID μ·C ox · ·(VGS VT )
2 L CLM
T. Sakurai and R. Newton, “Alpha-Power Law MOSFET Model and its Applications to CMOS Inverter
Delay and Other Formulas,” IEEE J. Solid-State Circuits, vol. 25, no. 2, pp. 584-594, Apr. 1990.
1.32
D. Markovic / Slide 32
α-Power Model: Curve Fitting (MMSE)
simulation model
6
How to fit the model?
VGS
ID (normalized)
4 • 1<α<2
3 ▪ Degree of v-sat
2 • α depends on VT
1
▪ Many combinations
0
▪ Use VT0 (your tech.)
0 0.2 0.4 0.6 0.8 1
VDS / VDD
1.33
D. Markovic / Slide 33
Simulation Models
Physical + empirical parameters (100+ parameters)
/w/apps/public.2/tech/cadence
/45nm/gpdk045_v_3_5/models
/spectre/gpdk045_mos.scs
/w/apps/public.2/tech/synopsys
/32-28nm/SAED32_EDK/tech
/hspice/saed32nm.lib
2.34
D. Markovic / Slide 34
MOSFET Behavior: Summary
2.35
D. Markovic / Slide 35
MOSFET: Modes of Operation
• Velocity saturation
▪ Charge velocity saturates at high EDS
• Subthreshold
▪ Current still flows when VGS < VT
• Linear
▪ Not interesting in digital design
• Weak (near-VT) inversion
▪ Crucial for ultra-low-power design
2.36
D. Markovic / Slide 36
Modeling
Gate Delay
2.37
D. Markovic / Slide 37
Review: CMOS Inverter VTC
WP/LP P: Lin
in out Vout N: Off P: Lin
WN/LN N: Sat
1.0 Vin = Vout
0.8
• Inverter DC response P: Sat
0.6 VM N: Sat
0.4
• 5 regions of operation P: Sat P: Off
0.2 N: Lin N: Lin
• Logical threshold
▪ Vin = Vout 0.2 0.4 0.6 0.8 1.0 Vin
2.38
D. Markovic / Slide 38
Logical Threshold Voltage
• Set IDP = IDN and solve
▪ Dependence on P:N sizing WP/LP
in out
and mobility ratio WN/LN
▪ Slight dependence on VTP/N
𝑽𝑫𝑺𝑨𝑻𝑵 𝑽𝑫𝑺𝑨𝑻𝑷
𝑽𝑻𝑵 + + 𝒓 ⋅ (𝑽𝑫𝑫 + 𝑽𝑻𝑷 + )
𝑽𝑴 = 𝟐 𝟐
𝟏+𝒓
𝒌𝒑 ⋅ 𝑽𝑫𝑺𝑨𝑻𝑷
𝒓=
𝒌𝒏 ⋅ 𝑽𝑫𝑺𝑨𝑻𝑵
2.39
D. Markovic / Slide 39
Use VM = VDD/2 Unless Severely Skewed
• Not so easy if not an inverter
▪ Depends on which input the gate is driving
• In1 to Out VTC can be different from In2 to Out
▪ Use VDD/2 as average case
• Unless severely skew the P:N ratio
Vin
2.40
D. Markovic / Slide 40
Sensitivity of VTC to P:N
• Fortunately, VM is not very sensitive to P:N ratio (skew)
▪ Ranges from 1.35V to 1.75V (for a 3.3-V VDD)
▪ VM = VDD/2 is quite reasonable
10-15% change
for 2x skew
2.41
D. Markovic / Slide 41
Gate Delay
Inputs Outputs
Logic Gates
2.42
D. Markovic / Slide 42
Logic Transition
• Time at which a signal crosses logical threshold voltage
▪ Digital abstraction for 1 and 0
▪ Often use VDD/2
out in
tpHL
Voltage
VM High-to-Low
Output Transition
Time
tpHL
2.43
D. Markovic / Slide 43
Delay Definitions
50%
Logic
delay
90%
50%
10%
tp
in out
CLOAD
tp = tpLH or tpHL
2.45
D. Markovic / Slide 45
Multi-Stage Logic
tp1 tp2
in out
tp = tp1 + tp2
2.46
D. Markovic / Slide 46
RC Delay Model
• R: we can use the resistor model of a transistor
▪ Take into account the different regions of operation
▪ Use a realistic slope to model an input switching
2.47
D. Markovic / Slide 47
Switched Resistor Model
600
• Switch model insufficient
500
• Regions of operation matter
400
IDS (µA)
100
0
0 0.5 1 1.5 2 2.5
VDS (V)
2.48
D. Markovic / Slide 48
Resistor Approximation
600
• Linear R approximation
500
• With digital input on gate,
400
device is either ON or OFF
IDS (µA)
2.49
D. Markovic / Slide 49
Range of VDS = Vswing
600
Assumptions:
500
• Saturation region
400
IDS (µA)
• VDS : VDD VM
300
100
0
0 0.5 1 1.5 2 2.5
VDS (V) Ron
S D
Vo = VDD
G CG
2.50
D. Markovic / Slide 50
Calculating the Resistance
• Ron is an “effective” resistance that is averaged
𝑽𝑫𝑫
𝑹 𝑽𝑫𝑺 = + 𝑹(𝑽𝑫𝑺 = 𝑽𝑫𝑫 )
𝑹𝒐𝒏 = 𝑹𝒂𝒗𝒈 = 𝟐
𝟐
• R is large-signal resistance
𝑽𝑫𝑺𝟎
𝑹(𝑽𝑫𝑺 = 𝑽𝑫𝑺𝟎 ) =
𝑰𝑫 (𝑽𝑫𝑺𝟎 )
• Input transition dependent
▪ Input is not a perfect step
2.51
D. Markovic / Slide 51
Calculating (Effective) Ron
R0 Vswing
VDS
VDD /2 VDD
[EE115C stuff]
2.52
D. Markovic / Slide 52
0th Order Model: Step Input
IDS (µA)
300
• NNOS and PMOS drive
200
with maximum |VGS|
100
• I = CdV/dt, Δt = CΔV/I 0
0 0.5 1 1.5 2 2.5
▪ Discharge CLOAD in VSat VDS (V)
▪ Discharge in Triode
2.53
D. Markovic / Slide 53
0th Order Model: Discharge Model
• Discharge in VSat
off Vo = VDD ▪ VDSAT < Vout < VDD
CLOAD 𝑽𝑫𝑫 − 𝑽𝑫𝑺𝑨𝑻
𝚫𝒕𝟏 = 𝑪𝑳𝑶𝑨𝑫 ⋅
𝑰𝑫𝑺𝑨𝑻,𝒂𝒗𝒈
2.54
D. Markovic / Slide 54
Output Transition of 0th Order
ID
VSat
off Vo = VDD
CLOAD Lin
time
2.55
D. Markovic / Slide 55
Calculating the Capacitance
• Like R, MOS capacitances are voltage-dependent
• Many capacitance models, here’s a common one:
G
CGS CGD
Too detailed
S D
CSB CGB CDB
for designers
B
• For delay analysis, we linearize gate and diffusion caps
▪ Gate capacitance (G-Ch, G-overlap)
▪ S/D capacitance (Diffusion)
2.56
D. Markovic / Slide 56
MOS Capacitances: Summary
• Gate-Channel Capacitance
▪ CGC = Cox·W·Leff (Off, Lin)
▪ CGC = (2/3)·Cox·W·Leff (VSat)
Cgate
• Gate Overlap Capacitance
▪ CGSO = CGDO = CO·W (All)
• Junction/Diffusion Capacitance
Cparasitic
▪ Cdiff = Cj·LS·W + Cjsw·(2LS + W) (All)
2.57
D. Markovic / Slide 57
Elmore Delay
2.58
D. Markovic / Slide 58
Elmore Delay (1948)
• Defined as the first moment of the impulse response
▪ Derivative of the unit step response, V’(t)
∞
V’(t)
𝒕𝑬𝒍𝒎𝒐𝒓𝒆 = 𝒕 ⋅ 𝒗′ 𝒕 ⋅ 𝒅𝒕
𝟎
tElmore t ∞
when 𝒗′ 𝒕 ⋅ 𝒅𝒕 = 𝟏
𝟎
2.60
D. Markovic / Slide 60
The ln(2) Issue: Another Look
𝒕𝒑 = 𝟎. 𝟔𝟗 ⋅ 𝒕𝑬𝒍𝒎𝒐𝒓𝒆 = 𝟎. 𝟔𝟗 ⋅ 𝑹𝑪
𝒕𝒑 = 𝑹𝒆𝒇𝒇𝒆𝒄𝒕𝒊𝒗𝒆 𝑪
Slope dependent
2.61
D. Markovic / Slide 61
The Impact of Input Slope
• Model the delay as tp = 0.69RC (step response)
▪ Non-step input: rise/fall time is absorbed in R
▪ R is different than the one extracted from I-V
2.62
D. Markovic / Slide 62
Input Slope: A Better Model
Delay is linearly dependent on input rise/fall time:
tp = 0.69RC + η·tslope
Pull-Down Pull-Up
2.64
D. Markovic / Slide 64
Accounting for Velocity Saturation
2.65
D. Markovic / Slide 65
Including Self-Loading Capacitance
• CN: diffusion cap (depends on the layout and sharing)
Pull-Down Pull-Up
out RP
RN out
CLoad
CN RN CLoad
CN
2.66
D. Markovic / Slide 66
Finding the Capacitances
in2 in1
3µm 3µm
12µm Assumptions (Sat):
out
• CGN = CGP = 2 fF/µm
in2 2µm 6µm
• CDN = 1.5 fF/µm
CLoad
CN 2µm • CDP = 2 fF/µm
in1
2.69
D. Markovic / Slide 69
C·ΔV/I Delay Model
• Based on the capacitance charging and discharging
• ΔV is the voltage to the transition (~VDD/2)
2.70
D. Markovic / Slide 70
Alpha-Power-Law Model
2.71
D. Markovic / Slide 71
Alpha-Power Model: Saturation Current
• |VDS| > 0.5V
simulation model
300 300
Kn = 63 Kp = 31
250 VTn = 0.28 250 VTp = 0.30 12%
an = 1.13
13% ap = 1.31 rms error
NMOS ID ( A)
PMOS ID ( A)
200 200
rms error
150 150
100 100
50 50
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
V (V) |V | (V)
DS DS
simulation model
300 300
Kn = 54 Kp = 26
250 VTn = 0.29
an = 1.09
250 VTp = 0.33
ap = 1.23
40%
rms error
46%
NMOS ID ( A)
PMOS ID ( A)
200 200
100 100
50 50
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
V (V) |V | (V)
DS DS
Fitting parameters:
Von, αd, Kd
100,000
100000
10,000 Exp.
Delay (norm.)
10000
increase
1,000
1000 in sub-VT
Delay (norm.)
100
100
10
10
11
00 0.2
0.2 0.4
0.4 0.6
0.6 0.8
0.8 11 1.2
1.2
V DD (V)
Vdd (V)
2.75
D. Markovic / Slide 75
Summary
• Device R and C determine circuit performance
• Elmore delay (approximation): initial insight into design
▪ Step response, does not account for signal slopes
▪ Several models to account for slope (+ more coming)
▪ Simulation-based parameter extraction most accurate
(next lecture)
Next lecture:
• Logic design concepts
• Simulation-based models
• Gate vs. wire delay
• Gate sizing basics
2.76
D. Markovic / Slide 76