0% found this document useful (0 votes)
63 views

Lec22 2003

1. Inside a CMOS inverter, no current flows through the transistors when the input is logic 1 or 0 because either the NMOS or PMOS transistor is cut off. 2. CMOS logic circuits can be modeled as simple switches, with transistors considered either on or off. This easy model allows determining the logical operation of a CMOS circuit. 3. In a CMOS circuit, PMOS transistors function as pull-up devices, bringing the output to VDD when active. NMOS transistors function as pull-down devices, bringing the output to 0V when active.

Uploaded by

cass
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Lec22 2003

1. Inside a CMOS inverter, no current flows through the transistors when the input is logic 1 or 0 because either the NMOS or PMOS transistor is cut off. 2. CMOS logic circuits can be modeled as simple switches, with transistors considered either on or off. This easy model allows determining the logical operation of a CMOS circuit. 3. In a CMOS circuit, PMOS transistors function as pull-up devices, bringing the output to VDD when active. NMOS transistors function as pull-down devices, bringing the output to 0V when active.

Uploaded by

cass
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 14

EECS 40 Spring 2003 Lecture 22

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

EECS 40 Spring 2003 Lecture 22

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

EECS 40 Spring 2003 Lecture 22

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

Each transistor will be in one of these two situations!

VGS = VDD (for NMOS) VGS = -VDD (for PMOS)


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).

EECS 40 Spring 2003 Lecture 22

S. Ross

REVISIT CMOS INVERTER WITH SIMPLE LOGIC MODEL Fill in the switch positions below

VDD

VDD

VIN =0V

VOUT

VIN = VDD

VOUT

EECS 40 Spring 2003 Lecture 22

S. Ross

CMOS NAND

VDD

S A PMOS1

S PMOS2 F

NMOS1 S NMOS2 S

EECS 40 Spring 2003 Lecture 22

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

EECS 40 Spring 2003 Lecture 22

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

EECS 40 Spring 2003 Lecture 22

S. Ross

CMOS NOR

VDD S PMOS1 S PMOS2 F

A B

NMOS1 S

NMOS2 S

EECS 40 Spring 2003 Lecture 22

S. Ross

Verify the logical operation of the CMOS NOR circuit: VDD S S F S S


A = 0V B = VDD

A = 0V B = 0V

VDD S S F S S

EECS 40 Spring 2003 Lecture 22

S. Ross

Verify the logical operation of the CMOS NOR circuit: VDD S S F S S


A = VDD B = VDD

A = VDD B = 0V

VDD S S F S S

EECS 40 Spring 2003 Lecture 22

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.

EECS 40 Spring 2003 Lecture 22

S. Ross

LIMITATIONS OF SWITCH MODEL Preview of next class:


VDD S A PMOS1 S PMOS2 F B NMOS1 S NMOS2 S

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.

EECS 40 Spring 2003 Lecture 22

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

Requires many equations, many unknowns.

= VTH(N) +

But, we can at least guess the modes.

EECS 40 Spring 2003 Lecture 22

S. Ross

VDD S A = VDD PMOS1 S PMOS2

Assume VDD around 5 V, VTH(N) around 1 V, VTH(P) around -1 V, around 0.5 V.

= 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

You might also like