You are on page 1of 24

Digital Logic & Design

Dr. Waseem Ikram

Lecture 06
Recap
 Logic Gates Basic Building Blocks
 Symbol
 Performs unique function
 Represented by a function/truth table
 Function expression
 Timing Diagram
Recap
 AND Gate F=A.B
 OR Gate F=A+B
 NOT Gate FA
 AND Gate enables/disables device
 OR Gate car door alarm system
 NOT Gate 1’s complement
Recap
 Alternate Symbolic representations
 NAND Gate
 NOT-AND operation F  A  B
 Universal NAND Gate
 NOR Gate
 NOT-OR operation F  A  B
 Universal NOR Gate
NOR Universal Gate

Input Output
A B F
0 0 0
0 1 1
1 2
1 0 1
1 1 1
NOR Universal Gate

Input Output
A B F
0 0 0
1
0 1 0 3
1 0 0 2
1 1 1
NAND-NOR Universal Gate

1 1
3 4 3 4
2 2
NAND Gate Applications
 Device Failure Alarm

ALARM
NOR Gate Applications
 Washing Machine Controller

Switch
XOR Gate

 1 output
 2 inputs
 Multiple inputs
0 =1
0
0
XOR Gate function

Input Output
F  A B
A B F
0 0 0
0 1 1
1 0 1
1 1 0
XOR Gate Timing Diagram

t0 t1 t2 t3 t4 t5 t6
XNOR Gate

 1 output
 2 inputs
 Multiple inputs
0 =
0
0
XNOR Gate function

Input Output
A B F
F  A B
0 0 1
0 1 0
1 0 0
1 1 1
XNOR Gate Timing Diagram

t0 t1 t2 t3 t4 t5 t6
XOR Gate Applications
 Detecting odd number of 1’s

B 1

3
C

D 2
XNOR Gate Applications
 Detecting even number of 1’s

B 1

3
C

D 2
TTL/CMOS NOT Gate

+VCC +VDD
P-Type
MOSFET

Vi/p Vo/p
Vo/p
+V
Vi/p NPN
Transistor N-Type
MOSFET
Type of IC Logic Gates
 74XX00 Quad 2-input NAND Gate
 74XX02 Quad 2-input NOR Gate
 74XX04 Hex Inverter
 74XX08 Quad 2-input AND Gate
 74XX10 Triple 3-input NAND Gate
 74XX11 Triple 3-input AND Gate
 74XX20 Dual 4-input NAND Gate
Type of IC Logic Gates
 74XX21 Dual 2-input AND Gate
 74XX27 Triple 3-input NOR Gate
 74XX30 Single 8-input NAND Gate
 74XX32 Quad 2-input OR Gate
 74XX86 Quad 2-input XOR Gate
 74XX133 Single 13-input NAND Gate
Logic Gate Integrated Circuits
14 13 12 11 10 9 8 14 13 12 11 10 9 8

1 2 3 4 5 6 7 1 2 3 4 5 6 7
7408 7432
Four 2-Input AND Gate Four 2-Input OR Gate

14 13 12 11 10 9 8 14 13 12 11 10 9 8

1 2 3 4 5 6 7 1 2 3 4 5 6 7
7404 7400
Hex Inverters Four 2-Input NAND Gate
Logic Gate Integrated Circuits
14 13 12 11 10 9 8

1 2 3 4 5 6 7
7402
Four 2-Input NOR Gate

14 13 12 11 10 9 8 14 13 12 11 10 9 8

1 2 3 4 5 6 7 1 2 3 4 5 6 7
7486 74266
Four 2-Input XOR Gate Four 2-Input XNOR Gate
Integrated Circuits (IC)
 CMOS Complementary Metal Oxide Logic
 TTL Transistor-Transistor Logic
 ECL Emitter Coupled Logic
 PMOS p-channel MOS transistor
 NMOS n-channel MOS transistor
 E2CMOS
Operational Characteristics

 DC Supply Voltage
 Noise Margin
 Power Dissipation
 Frequency Response
 Fan Out

You might also like