Docsity

Digital Logic: Understanding NMOS and PMOS Transistors and CMOS Logic Gates in ECE380, Slides of Digital Logic Design and Programming

Toggle sidebar
bg1
1
Dr. D. J. Jackson Lecture 13-1Electrical & Computer Engineering
ECE380 Digital Logic
Implementation Technology:
NMOS and PMOS Transistors,
CMOS logic gates
Dr. D. J. Jackson Lecture 13-2Electrical & Computer Engineering
Logic values as voltage levels
•V
ss is the minimum
voltage that can exist
in the system. We
will use Vss=0V.
•V
DD is the power
supply voltage. We
will use VDD =+5V.
VDD =+3.3V is also
common.
• Exact levels of V0,max
and V1,min depend on
the implementation
technology
Logic value 0
Logic value 1
Undefined
Vss (Gnd)
VDD
V1,min
V0,max
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Digital Logic: Understanding NMOS and PMOS Transistors and CMOS Logic Gates in ECE380 and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

ECE380 Digital Logic

Implementation Technology:

NMOS and PMOS Transistors,

CMOS logic gates

Logic values as voltage levels

  • V (^) ss is the minimum

voltage that can exist

in the system. We

will use Vss=0V.

  • V (^) DD is the power

supply voltage. We

will use VDD =+5V.

V DD =+3.3V is also

common.

  • Exact levels of V0,max

and V1,min depend on

the implementation

technology

Logic value 0

Logic value 1

Undefined

Vss (Gnd)

VDD

V1,min

V0,max

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

Transistor switches

  • Logic circuits are built with transistors
  • We will assume a transistor operates as a simple

switch controlled by a logic signal x

  • The most popular type of transistor for implementing

a simple switch is the metal oxide semiconductor

field effect transistor (MOSFET)

  • Two types of MOSFETs
    • N-channel ( NMOS )
    • P-channel ( PMOS )
  • Early circuits relied on NMOS or PMOS transistors,

but not both

  • Current circuits use both NMOS and PMOS

transistors in a configuration called complementary

MOS (CMOS)

NMOS transistor as a switch

x=“low” x=“high”

A simple switch controlled by the input x

Source Drain

NMOS transistor

Gate

Substrate (Body) (^) VS VD

Simplified NMOS symbol

V

G

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

PMOS transistor as a switch

  • The transistor operates by controlling the voltage V (^) G at the gate terminal
  • If VG is high, there is no connection between the source and the drain terminals. The transistor is turned off.
  • If VG is low, the transistor is turned on and acts as a closed switch between the source and drain terminals.

= “high”

= “low”

VG

VS VD

VG

VS VD

NMOS and PMOS in logic circuits

NMOS transistor

VD = 0 V

V

G

VD

VS = 0 V

VD

Closed switch when VG =VDD

Open switch when VG =0V

VS =VDD

VD

PMOS transistor VG

VDD

Open switch when VG =VDD

VDD

Closed switch when VG =0V

VD=VDD

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

NMOS and PMOS in logic circuits

• When the NMOS transistor is turned on, its

drain is pulled down to Gnd

• When the PMOS transistor is turned on, its

drain is pulled up to V DD

• Because of the way transistors operate:

  • An NMOS transistor cannot be used to pull its

drain terminal completely up to V DD

  • A PMOS transistor cannot be used to pull its drain

terminal completely down to Gnd

• Therefore, NMOS and PMOS transistors are

commonly used in pairs in CMOS circuits

CMOS logic gates

• A CMOS logic gate involves NMOS transistors

in a pull-down network (PDN) and PMOS

transistors in a pull-up network (PUN)

• The functions realized by the PDN and PUN

networks are complements of one another

• The PDN and PUN have equal numbers of

transistors, which are arranged so that the

two networks are duals of one another

  • Wherever the PDN has NMOS transistors in series,

the PUN has PMOS transistors in parallel, and vice

versa

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

CMOS NAND gate

T1 T

T

T

VDD

Vf

VX

VX

0 1 On Off Off On 1

1 0 Off On On Off 1

Off

On

T

Off

On

T

X

1 On On 0

0 Off Off 1

X2 T3 T4 f

4 transistors

CMOS NOR gate

T

VDD

Vf

VX

VX2 T

T3 T

0 1 On Off Off On 0

1 0 Off On On Off 0

Off

On

T

Off

On

T

X

1 On On 0

0 Off Off 1

X2 T3 T4 f

4 transistors

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 13-

CMOS AND gate

T1 T

T

T

VDD

VX

VX

VDD

Vf

6 transistors

CMOS OR gate

T

VDD

VX

VX2 T

T3 T

VDD

Vf

6 transistors

CMOS tri-state buffer

x f

e

x f

e

111 8 transistors

0 1 Z

0 0 Z

e x f