ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob University of Maryland ECE Dept. SLIDE 1
ENEE 302H, Fall 2004 Digital Electronics P/N Junction, MOS Transistors, CMOS Inverter Prof. Bruce Jacob
[email protected] TA: Katie Baynes
[email protected] Credit where credit is due: Slides contain original artwork (© Jacob 2004) as well as material taken liberally from Irwin & Vijay’s CSE477 slides (PSU), Schmit & Strojwas’s 18-322 slides (CMU), Wolf’s slides for Modern VLSI Design, and/or Rabaey’s slides (UCB). Device physics: http://hyperphysics.phy-astr.gsu.edu/hbase/solids/sselcn.html
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Overview
Bruce Jacob University of Maryland ECE Dept. SLIDE 2
UNIVERSITY OF MARYLAND
•
Electrons & holes, bands & band gaps, insulators, conductors, semiconductors
•
Silicon crystal lattice & doping
•
P/N junction & parasitic capacitance
•
n-type/n-channel MOSFET
•
Timing analysis of MOSFET, capacitance
•
Body effect, series-connected FETs
•
CMOS inverter: timing, switching threshold, transistor sizing
•
Dynamic behavior (preview)
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
What Is Conductivity?
Bruce Jacob University of Maryland ECE Dept.
Perspective from Band Theory of Solids:
Energy of electrons
Large band gap (not “Gap Band”) between valence and conduction bands in insulator material suggests that, at ordinary temperatures, no electrons can reach conduction band (i.e. material won’t conduct)
Conduction Band
In semiconductors, the band gap is small enough that thermal energy can bridge gap for small fraction of electrons.
SLIDE 3
In conductors, there is no band gap (conduction and valence bands overlap).
INSULATOR
SEMICONDUCTOR
Fermi level
CONDUCTOR Fermi level
Conduction Band Valence Band UNIVERSITY OF MARYLAND
Valence Band
Conduction Band Valence Band
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept. SLIDE 4
Si
14 protons in nucleus 4 valence electrons
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Si
SLIDE 5
Si
Shared electrons of covalent bonds
UNIVERSITY OF MARYLAND
Si
Si
Si
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Silicon Lattice (artistic license exploited) Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
SLIDE 6
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Silicon Lattice — It is a semiconductor Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Free Si electron
Si
SLIDE 7
Hole Si UNIVERSITY OF MARYLAND
Si
Si
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Semiconductor current: electron/hole flow
SLIDE 8
UNIVERSITY OF MARYLAND
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
Si
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Perspective from Band Theory of Solids: Energy of electrons
SLIDE 9
0K (no electrons in conduction band)
Conduction Band Fermi level
Valence Band
• UNIVERSITY OF MARYLAND
300K
Free electrons
Conduction Band
1.09 eV
Holes
Valence Band
Conductivity is non-zero; mobile electrons/holes in conduction/valence band; can be increased w/ doping
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Silicon, Specifically
Bruce Jacob University of Maryland ECE Dept.
Doping: small % of foreign atoms in lattice
SLIDE 10
P
B
Breaks up regular lattice, produces dramatic changes in electrical properties •
•
UNIVERSITY OF MARYLAND
Donors: pentavalent impurities (5 valence electrons) produce n-type semiconductors by adding electrons. E.g. antimony, arsenic, phosphorus Acceptors: trivalent impurities (3 valence electrons) produce p-type semiconductors by adding electron deficiencies (“holes”). E.g. boron, aluminum, gallium
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
P-Type Semiconductor
Bruce Jacob University of Maryland ECE Dept.
Si
Acceptor impurity creates a hole
SLIDE 11
Si
B
Si
Si
Conduction Band Extra hole energy levels
Valence Band Addition of acceptor impurities contributes hole energy levels low in the semiconductor band gap so that electrons can be easily excited from the valence band into these levels, leaving mobile holes in the valence band. This shifts the effective Fermi level to a point about halfway between the acceptor levels and the valence band. Electrons can be elevated from the valence band to the holes in the band gap with the energy provided by an applied voltage. Since electrons can be exchanged between the holes, the holes are said to be mobile. Holes are said to be the “majority carriers” for current flow in a p-type semiconductor. UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
N-Type Semiconductor
Bruce Jacob University of Maryland ECE Dept.
Si Donor impurity creates free electron
SLIDE 12
Si
P
Si
Si
Conduction Band Extra electron energy levels
Valence Band Addition of donor impurities contributes electron energy levels high in the semiconductor band gap so that electrons can be easily excited into the conduction band. This shifts the Fermi level to a point about halfway between the donor levels and the conduction band. Electrons can be elevated to the conduction band with the energy provided by an applied voltage and move through the material. Electrons are said to be the “majority carriers” for current flow in an n-type semiconductor. UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
Acceptor side
Donor side
Conduction Band
Conduction Band
SLIDE 13
Extra hole energy levels Extra electron energy levels
Valence Band
P-type •
•
UNIVERSITY OF MARYLAND
Valence Band
N-type
P-type: extra holes in band gap allow excitation of valence-band electrons, leaving mobile holes in valence band N-type: electron energy levels near the top of the band allow easy excitation of electrons into conduction band
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob University of Maryland ECE Dept.
The P/N Junction Acceptor side Donor side
Conduction Band
SLIDE 14
Extra hole energy levels
Conduction Band Extra electron energy levels
Valence Band
Valence Band
Diode P-type silicon
N-type silicon
p-n junction
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
DEPLETION REGION
SLIDE 15
If not touching, nothing happens
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
DEPLETION REGION
SLIDE 16
With a connection, electrons from n-region in conduction band diffuse across junction and combine with holes in p-region (why doesn’t this continue indefinitely?) UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
DEPLETION REGION
SLIDE 17
depletion region
Ions are formed on both sides of junction (negative ion from filled hole; positive ion from removed electron). This forms a space charge that impedes further electron flow. UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
DEPLETION REGION
SLIDE 18
Cj
UNIVERSITY OF MARYLAND
two plates of a capacitor
Parasitic capacitance:
Built-in junction potential:
C j0 C j = -----------------------m Vd 1 – -----φ0
N A N D φ 0 = φ T ⋅ ln --------------- n2 i
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept.
BIAS EFFECT on DEPLETION REGION Equilibrium
SLIDE 19
P
N depletion region
Conduction Band Extra hole energy levels
Valence Band
Conduction Band Extra electron energy levels
Valence Band •
UNIVERSITY OF MARYLAND
Upward = increased electron energy (must supply energy to make electron go up or hole to go down)
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept. SLIDE 20
BIAS EFFECT on DEPLETION REGION Forward Bias P
N depletion region still exists
Conduction Band
Conduction Band
Extra hole energy levels Extra electron energy levels
Valence Band Valence Band P-side is made more positive relative to N-side, making it “downhill” to move an electron across the junction. Electron on N-side can fill a vacancy (“hole”) on P-side & move from hole to hole to the left to positive terminal (hole “moves” right).
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
The P/N Junction
Bruce Jacob University of Maryland ECE Dept. SLIDE 21
BIAS EFFECT on DEPLETION REGION Reverse Bias P
N depletion region increases in size until new potential = applied bias
Conduction Band Extra hole energy levels
Valence Band Conduction Band P-side is made more negative relative to N-side, making it “uphill” to move an electron across the junction. Applied voltage impedes the flow of N-region electrons across the p/n junction. Initial transient electron flow is left to right; it stops when potential (widening depletion region) equals the applied voltage. UNIVERSITY OF MARYLAND
Extra electron energy levels
Valence Band
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors MOS Transistor, reverse-biased:
University of Maryland ECE Dept. SLIDE 22
N-Doped Region [mobile electrons]
PN Junction
n
P-Doped Region [mobile holes]
p-doped semiconductor substrate UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors MOS Transistor, reverse-biased:
University of Maryland ECE Dept. SLIDE 23
VDD
VDD P-Doped Region [acceptor holes]
n
N-Doped Regions [donor electrons]
n
p-doped semiconductor substrate UNIVERSITY OF MARYLAND
VSS
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors MOS Transistor, reverse-biased:
University of Maryland ECE Dept. SLIDE 24
VDD
VDD Insulator (gate oxide)
n
n
p-doped semiconductor substrate UNIVERSITY OF MARYLAND
VSS
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors NMOS Transistor with bias voltages:
University of Maryland ECE Dept.
+
SLIDE 25
0
+ Gate (conductor)
Insulator (gate oxide)
n
n CURRENT
p-doped semiconductor substrate UNIVERSITY OF MARYLAND
0
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors NMOS Transistor, two views:
University of Maryland ECE Dept.
Length
SLIDE 26
Width
TOP VIEW Gate
FOX n SIDE VIEW UNIVERSITY OF MARYLAND
Gate oxide n
p-doped semiconductor substrate
FOX
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors NMOS Transistor with bias voltages:
University of Maryland ECE Dept.
Gate Source
Drain
SLIDE 27
n
channel
VSS
n
p-doped semiconductor substrate
Gate Source
0
Gate Drain
0
V>0
Source
0
Drain
V>0
Electron Flow UNIVERSITY OF MARYLAND
V>0
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Transistors PMOS Transistor with bias voltages:
University of Maryland ECE Dept.
Gate Drain
Source
SLIDE 28
p
channel
VDD
p
n-doped semiconductor substrate
Gate Drain
0
Gate Source
VDD
V>0
Drain
0
Source
V0
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob University of Maryland ECE Dept.
MOS Transistors MOS Transistors: Gate
Gate Source
Source
Drain
Drain
SLIDE 29
n
channel
VSS
n
p-doped semiconductor substrate
p
PMOS
Gate
UNIVERSITY OF MARYLAND
Gate
Drain
Substrate
VDD
p
n-doped semiconductor substrate
NMOS Source
channel
Source
Drain
Substrate
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
0.25 µm transistor (Bell Labs)
Bruce Jacob University of Maryland ECE Dept.
Silicide
SLIDE 30
Poly Gate oxide
Source & Drain
Poly+silicide = “polycide gate” (lower R) UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
MOS Behavior VSource
University of Maryland ECE Dept.
VDrain
Gate n+
n+
SLIDE 31
p (bulk)
UNIVERSITY OF MARYLAND
VGate
Depletion Regions
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
MOS Behavior VGate
VSource
Bruce Jacob University of Maryland ECE Dept.
VDrain
Gate n+
n+
SLIDE 32
p (bulk)
VS = 0V
Depletion Regions
VG = 0.5V
VD = 0V
Charge Density Gate Oxide Substrate (p-type)
Depletion layer
x (depth) UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
MOS Behavior VSource
Bruce Jacob
Channel
University of Maryland ECE Dept.
VGate VDrain Free electrons
Gate n+
SLIDE 33
n+
Depletion Regions
p (bulk)
VS = 0V
Inversion Layer forms when
VGS > VT
Assume VT = 0.75V (threshold voltage)
VD = 0V
VG = 1V
Charge Density Gate Oxide Substrate (p-type)
Inversion layer
Depletion layer
x (depth) UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
MOS Behavior: linear region VGate
VSource
Bruce Jacob University of Maryland ECE Dept.
VDrain
Gate n+
SLIDE 34
n+
Inversion Layer existence requires VGS – VT > V(y)
p (bulk)
VD = 0.001V
VG = 1V
VS = 0V
Assume VT = 0.75V (threshold voltage)
ε ox W = µ n ------- ----- ( V GS – V T )V DS t ox L dielectric constant
electron mobility
I DS
oxide thickness
VGS – V(y)
V(y) 1V
VDS
0.75V
y (channel)
y (channel)
True when VGS > VT & VDS V(y)
p (bulk)
Assume VT = 0.75V (threshold voltage)
VD = 0.15V VG = 1V VS = 0V dielectric constant electron mobility ε ox W 1 2 I DS = µ n ------- ----- ( V GS – V T )V DS – --- V DS t ox L 2 oxide thickness
VGS – V(y)
V(y) VDS
1V 0.85V 0.75V
y (channel)
y (channel)
True when VGS > VT & VDS ≤ VGS – VT UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
MOS Behavior: saturation VGate
VSource
Bruce Jacob University of Maryland ECE Dept.
VDrain
Gate n+
n+
SLIDE 36
Inversion Layer “pinched off” when
VDS = VGS – VT
p (bulk)
VS = 0V I DS
Assume VT = 0.75V (threshold voltage)
VD = 0.25V
VG = 1V
1 ε ox W 2 = --- µ n ------- ----- ( V GS – V T ) 2 t ox L VGS – V(y)
V(y) VDS
1V 0.75V
y (channel)
y (channel)
True when VGS > VT & VDS = VGS – VT UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
MOS Behavior: modulation VGate
VSource
Bruce Jacob University of Maryland ECE Dept.
VDrain
Gate n+
n+
SLIDE 37
Inversion Layer does not exist here
VDS ≥ VGS – VT
p (bulk)
VS = 0V I DS V(y)
Assume VT = 0.75V (threshold voltage)
VD = 0.35V
VG = 1V
1 ε ox W 2 ---------= µ ( V – V T ) ( 1 + λ V DS ) 2 n t ox L GS effective channel length decreases
VDS
1V
y (channel)
0.75V 0.65V
VGS – V(y)
length modulation factor
over this range, effective gate potential is not sufficient to create inversion layer
y (channel)
True when VGS > VT & VDS ≥ VGS – VT UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Example of Drain Current
Bruce Jacob University of Maryland ECE Dept.
Values for generic 0.5 µm process: ε ox k’ (transconductance) = µ n ------t ox
VT
n-type
k’n = 73 µA/V2
0.7V
p-type
k’p = 21 µA/V2
-0.8V
SLIDE 38
Assume W/L = 3/2, VGS = 2V, find IDS for NMOS device at saturation point: 1 W 2 I DS = --- k' ----- ( V GS – V T ) 2 L 1 µA 3 2 I DS = --- 73 -------2 --- ( 2V – 0.7V ) = 93µA 2 V 2 UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Review: RC Circuits
Bruce Jacob University of Maryland ECE Dept. SLIDE 39
VC = ?
R
vc(t)
V
C t
v out(t) = ( 1 – e
–t ⁄ τ
)V
τ = RC
RC time-constant: dictates how rapidly the output voltage reacts to the voltage rise on input (step function). Larger RC, slower response
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Capacitances VGate
VSource
Bruce Jacob University of Maryland ECE Dept.
VDrain
Gate n+
SLIDE 40
n+ Gate is capacitor
p (bulk) Depletion Regions are capacitors
C gate
WLε ox = ----------------t ox
C SC
Aε si = ---------t si
C diff
I ⋅ τc = ----------V th
Yes, there are others … Result: parasitic capacitances hinder switching speeds UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Body Effect
Bruce Jacob
VSource > 0
University of Maryland ECE Dept.
VGate
VDrain
Gate n+
SLIDE 41
n+
p (bulk/body)
•
•
Suppose source and body are not in equilibrium: reverse bias increases size of depletion region around that diode (and changes its parasitic capacitance) Called “body effect” … it changes the threshold voltage for that device 2qε si N A ∆V t = ------------------------- ( φ S + V SB – φ S ) C ox
But can it happen? UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Body Effect
Bruce Jacob
NAND gate
University of Maryland ECE Dept.
VDD
SLIDE 42
A
B
A
output #A
GNDeffective for #A B
•
• UNIVERSITY OF MARYLAND
#B
If #B propagates signal in non-zero time, the effective source voltage for #A can go positive (higher than ground) Perspective: Things start to get interesting when you start connecting these things together …
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
CMOS Inverter VDD
Bruce Jacob
Rp
University of Maryland ECE Dept.
VDD
SLIDE 43
Vin = 0 CL
Rp Vout VDD
Rn
CL (load) Vin = VDD CL Rn
• UNIVERSITY OF MARYLAND
Gate response time is determined by the time to charge CL through Rp or discharge CL through Rn
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
CMOS Inverter
Bruce Jacob University of Maryland ECE Dept.
NMOS off PMOS res
2.5
NMOS sat PMOS res
2
Vout (V)
SLIDE 44
1.5
NMOS sat PMOS sat
1 NMOS res PMOS sat
0.5
NMOS res PMOS off
0 0
0.5
1
1.5
Vin (V)
UNIVERSITY OF MARYLAND
2
2.5
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Capacitive Load, etc.
Bruce Jacob University of Maryland ECE Dept. SLIDE 45
Fan-out Fan-in
Fan-out: number of gates connected to the output of the driving date •
Gates with large fan-out are slower
Fan-in: the number of inuts to the gate •
UNIVERSITY OF MARYLAND
Gates with large fan-in are bigger and slower
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter Bruce Jacob
Aside:is capacitance all bad? Slows down output …
University of Maryland ECE Dept.
Bigger capacitor, more charge to change voltage => SLOWER
SLIDE 46
… but stabilizes power supply Bigger capacitor, more charge to change voltage => more stable power-supply voltage levels
Capacitors are de facto frequency filters … can be a good thing (“bypass caps”) UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Delay Definitions
Bruce Jacob
Vin University of Maryland ECE Dept.
Vout
Vin
Propagation Delay tp = (tpHL + tpLH) / 2
SLIDE 47
50%
Input Waveform
Vout
time
tpLH
tpHL
90%
50% Signal slopes Output Waveform UNIVERSITY OF MARYLAND
10% tf
tr
time
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
Inverter Pair (preview)
Bruce Jacob
Vout
University of Maryland ECE Dept. SLIDE 48
Vout 2.5V Vh Vth
Vtl Vl Output Waveform
UNIVERSITY OF MARYLAND
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
CMOS Inverter Layout I
Bruce Jacob University of Maryland ECE Dept. SLIDE 49
N-regions for source, drain
Gate (poly)
P-regions and gate for PMOS device
input
GND NMOS
output
PMOS N-Well
Cut line
UNIVERSITY OF MARYLAND
VDD
ENEE 302H Lecture/s 3+4 Transistors & CMOS Inverter
CMOS Inverter Layout II
Bruce Jacob
VDD
University of Maryland ECE Dept.
+
SLIDE 50
a
tub ties out transistors a
out
GND
Another view (note: wells/tubs not shown) UNIVERSITY OF MARYLAND