Lec22 2003
Lec22 2003
S. Ross
CMOS LOGIC Inside the CMOS inverter, no ID current flows through transistors when input is logic 1 or logic 0, because the NMOS transistor is cutoff for logic 0 (0 V) input the PMOS transistor is cutoff for logic 1 (VDD) input current through the turned on transistor has nowhere to go if next stage consists of transistor gates
VDD S D VIN D VOUT1 VDD S D D VOUT2
S. Ross
VIN = 0 V NMOS transistor cutoff (since VGS(N) = VIN = 0 V) acts as open circuit PMOS transistor on (VGS(P) = VIN VDD = -VDD) but ID(P) = 0 A => VDS(P) = 0 V ID(N) (= -ID(P))
VIN = VDD PMOS transistor cutoff (VGS(P) = VIN VDD = 0 V) acts as open circuit NMOS transistor on (VGS(N) = VIN = VDD) but ID(N) = 0 A => VDS(N) = 0 V ID(N) (= -ID(P))
VDD
VOUT
VDD
VOUT
S. Ross
EASY MODEL FOR LOGIC ANALYSIS There is a simpler model for the behavior of transistors in a CMOS logic circuit, which applies when the input to the logic circuit is fully logic 0 or fully logic 1. VGS = 0 V
D G S
We can use the model to quickly determine the logical operation of a CMOS circuit (but we cannot use it to find circuit currents or voltages that will occur for mid-range input voltages).
S. Ross
REVISIT CMOS INVERTER WITH SIMPLE LOGIC MODEL Fill in the switch positions below
VDD
VDD
VIN =0V
VOUT
VIN = VDD
VOUT
S. Ross
CMOS NAND
VDD
S A PMOS1
S PMOS2 F
NMOS1 S NMOS2 S
S. Ross
Verify the logical operation of the CMOS NAND circuit: VDD S S F S S S VDD S F S S
A = 0V B = 0V
A = 0V B = VDD
S. Ross
Verify the logical operation of the CMOS NAND circuit: VDD S S F S S S VDD S F S S
A = VDD B = 0V
A = VDD B = VDD
S. Ross
CMOS NOR
A B
NMOS1 S
NMOS2 S
S. Ross
A = 0V B = 0V
VDD S S F S S
S. Ross
A = VDD B = 0V
VDD S S F S S
S. Ross
PULL-UP AND PULL-DOWN DEVICES In our logic circuits, the NMOS transistor sources are connected to ground, and the PMOS sources are connected to VDD. Notice that when NMOS transistors are on (when VGSN = VDD) VDSN is shorted by switch, helping connect output to ground. The NMOS transistor functions as a pull-down device; when active, it brings the output to 0 V. When PMOS transistors are on (when VGSP = -VDD) VDSP is shorted by switch, helping connect output to VDD. The PMOS transistor functions as a pull-up device; when active, it brings the output to VDD.
S. Ross
In reality, the pull-up devices must have some VDS voltage and current flow to bring the output high since natural capacitance must be charged. Similarly, the pull-down devices must have some VDS voltage and current flow to bring the output to ground since natural capacitance must be discharged. This is GATE DELAY.
S. Ross
LIMITATIONS OF SWITCH MODEL Suppose one needed to fully analyze the circuit for intermediate input voltages.
VDD S A = VDD PMOS1 S PMOS2 F NMOS1 S NMOS2 S
= VTH(N) +
S. Ross
= VTH(N) +
NMOS1 S NMOS2 S
PMOS1 cutoff NMOS1 barely on (VDS(N2) 0) => saturation NMOS2 fully on, but NMOS1 limits ID to small value => triode PMOS2 on, but NMOS1 and PMOS1 make ID small => triode