Docsity

Introduction to Digital Systems Design: NMOS and CMOS Transistors and Logic Gates - Prof. , Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Introduction to Digital Systems Design: NMOS and CMOS Transistors and Logic Gates - Prof. and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECEN 248 – Introduction to Digital

Systems Design (Spring 2008) (Sections: 501, 502, 503, 507)

Prof. Xi Zhang

ECE Dept, TAMU, 333N WERC

http://dropzone.tamu.edu/~xizhang/ECEN

Chapter 3 Implementation Technology

Logic value Undefined Logic value

Voltage^ VDD V1,min V0,max V(Gnd)SS^

Figure 3.1.

Logic values as voltage levels.

Figure 3.2.

NMOS transistor as a switch.

Drain

x^ = "low" Source

x^ = "high"

(a) A simple switch controlled by the input

x VD

(b) NMOS transistor VS

Gate

(c) Simplified symbol for an NMOS transistor

Substrate (Body) VG

The PMOS Transistors

-^ PMOS transistors have the opposite behavior of NMOStransistors •^ Fig. 3.3a is its logic symbol of PMOS transistor as a logicswitch which is “open” if x=“high”, “close if x= “low”. •^ Fig. 3.3b is the symbol of PMOS transistor with thesubstrate terminal always connected to V

DD

-^ Fig. 3.3c is the simplified symbol of PMOS transistor whereif VG = “high”, PMOS transistor is turned off; if VG = “low”,PMOS transistor is turned on – as a switch being closed.

(a) NMOS transistor

VG

VD V = 0 V S^

V =^ VS^

DD VD VG

Closed switchwhen V V = 0 V D^ =^ VG^ DD

Open switchwhen V

VD = 0 V G^

Open switchwhen V

VDD VD =^ VG^ DD

Closed switchwhen V

VDD V =^ VD DD = 0 V G^

(b) PMOS transistor

Figure 3.4.

NMOS and PMOS transistors in logic circuits.

NMOS & PMOSTransistor switchfunctions/symbols

Summary:

3.2 Logic Gates/Circuits Built on NMOS

and PMOS Transistors

-^ First, we mainly focus on how to implement logicgates/circuits by using NMOS transistors – calledNMOS gates/circuits? •^ Then, we concentrate on how to implement logicgates/circuits by combining NMOS and PMOStransistors – called Complementary MOS or CMOSgates/circuits, which are presently most populartechnology widely used.

Figure 3.6.

NMOS realization of a NAND gate.

Vf VDD (a) Circuit^ (c) Graphical symbols

(b) Truth table f^

f 00 01 10 11

1 1 1 0 xx^1

f

Vx^1 Vx^2 x (^1) x 2

x^1 x^2

Figure 3.7.

NMOS realization of a NOR gate.

V^ x^1

V^ x^^2

V^ DD^ V^ f (a) Circuit

(c) Graphical symbols

(b) Truth table f

00 01 10 11

1 0 0 0 x^ x^^1

f f

x^^1 x^^2

x^^1 x^^2

Figure 3.9.

NMOS realization of an OR gate.

(a) Circuit

(c) Graphical symbols

(b) Truth table

f

00 01 10 11

0 1 1 1 x^ x^^1

f f

V^ f V^ DD

V^ x^^2 V^ x^^1

x^^1 x^^2

x^^1 x^^2

V^ DD

3.3 Logic Gates/Circuits Built on CMOS Transistors^ •^

The logic gates/circuits by combining NMOS and PMOS transistors –called Complementary MOS or CMOS gates/circuits offer somepractical implementation advantages over NMOS technology asdiscussed in Section 3.8. • In NMOS circuits, the logic functions realized by NMOS transistorscombined with a pull-up resistor. We call part of the circuit involvingNMOS transistors as the “pull-down network (PDN)”. All NMOS basedcircuits structures, as shown in Fig 3.5~Fig. 3.8 can be characterized bya block diagram as shown in Fig. 3.10. • The concept of CMOS circuit is based on the replacing the pull-updevice/resistor with a “pull-up network (PUN” that is built using PMOStransistors, such that the functions realized by the PDN and PUNnetworks are complementary as indicated in Fig. 3.11. • The PDN & PUN have equal number of transistors, which are arranged sothat the two networks are “duals” of one another. Whenever the PDNhas NMOS transistors connected in series, the PUN has PMOStransistors connected in parallel, and vice versa.

Figure 3.11.

Structure of a CMOS circuit.

V^ f

V^ DD Pull-up network Pull-down network

V^ x^^1^ V^ x^ n

(PUN) (PDN)

3.3 Basic Logic Gates/Circuits Built on CMOS Transistors and

Their Implementation Cost Parameter

-^ Basic CMOS based NOT gates, NAND gates, NORgates, and ANG gates with 1 or 2 inputs •^ How to implement logic gates/circuits with morethan 2 inputs by using CMOS transistors? • The number of transistors required to build up thegate/circuit with specified functions is the keyparameter for implementation expense using theCMOS based logic gates/circuits.

Figure 3.13.

CMOS realization of a NAND gate.

(a) Circuit

V^ f V^ DD

(b) Truth table and transistor states

onon onoff 00 10 10 11

offon off^ off

offon

f offon

offoffon on

V^ x^^1 V^ x^^2

T^^1
T^^2 T^^3 T^^4

x^ x^^1

2

T^ T^1
T^^2
T^ 4

(a) Circuit

V^ f V^ DD

(b) Truth table and transistor states

onon onoff (^00101011)

offon off^ off

offon

f offon

offoffon^ on

V^ x^^1^ V^ x^^2

T^^1 T^^2
T^^3
T^^4

x^ x^1

^2

T^ T^1
T^^2
T^ 4

Figure 3.14.

CMOS realization of a NOR gate.