ECE 520 Class Notes
Introduction to CMOS Design
Dr. Paul D. Franzon
Outline
1. CMOS Transistors
2. CMOS cell design
3. Transistor Sizing
4. Low Power Design
References
l Smith and Franzon, Chapter 11
l Weste and Eshraghian, Principles of CMOS VLSI Design, A
Systems Perspective
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 1
ECE 520 Class Notes
CMOS Transistors
Gate Polysilicon Conductor
1. nMOS Transistor
Silicon Oxide Gate
Drain
Source
W
n n
p substrate
Gate L Gate
Drain Source Drain Source
substrate
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 2
ECE 520 Class Notes
Transistors
2. pMOS transistor: Gate
Silicon Oxide Gate
Drain
Source
W
p p
n substrate
Gate L Gate
Drain Source Drain Source
substrate
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 3
ECE 520 Class Notes
MOS Transistor Theory
Transistor States:
1. Cutoff Region
Ids = 0 when Vgs < Vt
Vt = Threshold Voltage (typically 1 V for nMOS, - 1V for pMOS)
2. Linear Region
Ids = Β ((Vgs - Vt)Vds - Vds2/2)
when 0 < Vds < Vgs - Vt
Β=(µε/tox)(W/L)
W = channel width
L = channel length
µ = electron (n) / hole (p) mobility
ε = permittivity of gate insulator
tox = gate insulator (oxide) thickness
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 4
ECE 520 Class Notes
... nMOS Transistor Theory
.... Transistor States
3. Saturatation Region
Ids = Β (Vgs - Vt)2
when 0 < Vgs - Vt < Vds
Q: Draw a large signal equivalent model for transistor in Linear and Saturation
States:
Transistor Characteristics:
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 5
ECE 520 Class Notes
Transistor Characteristics
V-I Characteristics:
|Ids|
|Vgs|
|Vds|
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 6
ECE 520 Class Notes
CMOS Inverter
Static CMOS Inverter: 5V
Vin Vout
0V
What are the transistor states when:
Vin = 0 V
Vin = 2 V
Vin = 3 V
Vin = 5 V
given |Vt| = 1 V
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 7
ECE 520 Class Notes
Transistor Speed is determined by SIZE
CMOS circuit speeds can be modeled to a first approximation as RC delays:
1. What does the input of a CMOS gate `look like’?
C in =
2. What does the `output’ of a CMOS gate `look like’ during switching?
Rn =
Rp =
3. Usually hole mobility is half of electron mobility. So what must you do to make
the pull up and pull down delays about the same?
4. If a gate is heavilly loaded what must you do to speed up the delay?
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 8
ECE 520 Class Notes
Other Gate Designs
Refer to data sheets in CMOSX library:
l NAND gate
l NOR gate
l D Flip Flop
Analyse the circuits to determine `how these gates work’.
Exercise in transistor sizing:
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 9
ECE 520 Class Notes
Power Consumption
Why is power consumption important?
l Battery powered devices
l Maximize battery life
l Minimize cost of wall-powered systems
l Plastic packaging is 10x cheaper than ceramic packaging but can only dissipate 1 - 2
W
u What happens if the chip gets too hot?
l Need a fan to cool somewhere above 10 W
l Difficult to air cool at all somewhere above 50 W
l Cost of power supply
l `Green’ systems
l Minimize pollution by reducing demand from power stations
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 10
ECE 520 Class Notes
Power Consumption in Digital Electronics
Bipolar Circuits:
l Always draw DC current
l Average current per gate high
l Gate layout area larger than CMOS
CMOS Circuits:
l Static CMOS draws current only when it changes state
u When input = Vcc, nMOS transistor off
u When input = GND, pMOS transistor off
u Gate load = capacitor, no current load
u Reverse current through backbiased pn junction to substrate is small unless Vcc is
very small
u `through’ current small during switching
l Derive power consumption for CMOS:
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 11
ECE 520 Class Notes
Minimizing Power Consumption
Power consumption in a CMOS module:
Power = Σ Nswitch f Vcc2 Cload
l Sum over all nodes in circuit
l f = clock frequency
l Nswitch = average % of clock periods in which node switches
l Cload = capacitance of node
Approaches to minimizing power consumption
l Reduce Supply Voltage
l Reduce clock frequency
u Only useful when performance can be satisfied with slower clock
u Can induce `sleep’ mode by turning off clock, or `idle’ mode by slowing clock
down a lot
l Reduce Nswitch through clever design
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 12
ECE 520 Class Notes
Reducing Power Consumption
Reduce the power consumption in this Solution1: Use a Mux
circuit:
Specification
lCalculates memory address by adding Solution 2: Use an Enable
busA and busB
lOnly 15% of bus transactions contain
memory address
Solution 3: Gate the clock
always@(posedge clock)
address <= busA + busB;
Calculate Power Consumption if address
bus load = 100 inverters and adder Disadvantages of gating clock:
equivalent to 30 inverters switching
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 13
ECE 520 Class Notes
Summary
l Complementary MOS transistors gives dense circuits and lower
power than other circuit families
l Standard Cell designs use Static CMOS
l Transistor speed approximated using `on resistance’
l Ron proportional to electron/hole mobility and W/L
u Hole mobility = half electron mobility
Ð Inverter Wp = 2 Wn to make trise = tfall
u To drive larger loads, increase transistor width proportionally
l Power consumption important in many designs
Power = Σ Nswitch f Vcc2 Cload
l Lower ing voltage by one-half, quarters the power but halves the speed
l Turn clock frequency down when performance not needed
l Reduce Nswitch through good design (enable circuits)
© 2000, Dr. Paul D. Franzon, www.ece.ncsu.edu/erl/faculty/paulf.html 14