capter 3
capter 3
Introduction
The Inverter
The OR Gate
The NAND and NOR gates are called as the universal gates.
0(LOW) 1(HIGH) ; 1 0;
Symbols used:
1
X is the complement of A
A X is the inverse of A
X is NOT A
"A bar"
"not A"
6
The AND Gate
Performs ‘logical multiplication’
If all of the input are HIGH, then the output is HIGH.
Symbols used:
&
A A
X X
B B
7
AND gate operation:
8
LOW (0)
LOW (0) A
LOW (0) X=A B
B
HIGH (1) AND
LOW (0)
LOW (0)
A
B X=A B C
LOW (0) C
LOW (0)
HIGH (1)
A
HIGH (1) B
C X = ABCD
HIGH (1)
HIGH (1) D
A INPUTS OUTPUT
X=A B
A B X
B or
AND 0 0 0
X = AB
0 1 0
1 0 0
1 1 1
1 0 1 1 0
1 1 1 0 0
1 0 1 0 0
t1 t2 t3 t4 t5
9
Logic expressions for AND gate:
10
Symbols used:
1
A A
X X
B B
11
The OR gate operation:
12
LOW (0) A
LOW (0) X=A+B
LOW (0)
B
HIGH (1)
HIGH (1) A
LOW (0) B X=A+B+C
C
LOW (0)
HIGH (1)
HIGH (1) A
B X=A+B+C+D
C
HIGH (1) D
HIGH (1)
HIGH (1)
INPUTS OUTPUT
A
X=A+B A B X
B
0 0 0
0 1 1
1 0 1
1 1 1
1 0 0 1 0
1 1 1 0 0
1 1 1 1 0
t1 t2 t3 t4 t5
13
Logic expressions for OR gate:
14
15
The NAND gate operation:
16
LOW (0)
LOW (0)
HIGH (1) A
X
HIGH (1)
HIGH (1)
B
LOW (0)
LOW (0)
HIGH (1)
HIGH (1) A
B X
HIGH (1)
LOW (0)
C
HIGH (1)
INPUTS OUTPUT
A
X = AB A B X
B
0 0 1
0 1 1
1 0 1
1 1 0
1 0 0 1 0
1 1 1 0 0
0 1 1 1 1
t1 t2 t3 t4 t5
17
Logic expressions for NAND gate:
Symbol used:
A A 1
X X A X
B B B
LOW (0)
HIGH (1)
LOW (0)
A
X
HIGH (1) B
LOW (0)
LOW (0)
A
LOW (0) B X
LOW (0) C
HIGH (1)
HIGH (1)
LOW (0)
HIGH (1)
INPUTS OUTPUT
A
X=A+B A B X
B
0 0 1
0 1 0
1 0 0
1 1 0
1 0 0 1 0
1 0 1 0 0
0 1 0 0 1
t1 t2 t3 t4 t5
21
Logic expressions for NOR gate:
INPUTS OUTPUT
A B A+B A+B=X
0 0 0 0+0 = 0 = 1
0 1 1 0+1 = 1 = 0
1 0 1 1+0 = 1 = 0
1 1 1 1+1 = 1 = 0
22
The Exclusive-OR gate
LOW (0)
LOW (0)
LOW (0)
HIGH (1) A
HIGH (1) X
LOW (0) B
LOW (0)
HIGH (1)
HIGH (1)
HIGH (1)
LOW (0)
HIGH (1)
INPUTS OUTPUT
A
X = AB + BA A B X
B
=A B 0 0 0
0 1 1
1 0 1
1 1 0
1 0 0 1 0
1 0 1 0 0
0 0 1 1 0
t1 t2 t3 t4 t5
25
The Exclusive-NOR gate
26
The XNOR gate operation:
27
LOW (0)
LOW (1)
LOW (0)
HIGH (1) A
HIGH (0) X
LOW (0) B
LOW (0)
HIGH (0)
HIGH (1)
HIGH (1)
LOW (1)
HIGH (1)
INPUTS OUTPUT
A
X=A B A B X
B
0 0 1
0 1 0
1 0 0
1 1 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 1
t1 t2 t3 t4 t5
28
XOR vs XNOR
29
1 0 0 1 0
1 0 1 0 0
0 0 1 1 0
XOR
1 1 0 0 1
XNOR
t1 t2 t3 t4 t5
Fixed-function Logic : IC Gates
30
Advantage:
Lower power dissipation
5V Series
74HC and 74HCT – High-speed CMOS
74AC and 74ACT – Advanced CMOS
74AHC and 74AHCT – Advanced High-speed CMOS
3.3V Series
74LV – Low-voltage CMOS
74LVC – Low-voltage CMOS
74ALVC – Advanced Low-voltage CMOS
4000 Series
Older, low-speed
Advantage:
Faster switching speed – CMOS is catching up
Greater selection of device types
Not sensitive to electrostatic discharge
All TTL operates on 5V and comes in 74 or 54
prefixes.
TTL Series:
74 – Standard TTL
74S – Schottky TTL
74AS – Advanced Schottky TTL
74LS – Low-power Schottky TTL
74ALS – Advanced Low-power Schottky TTL
74F – Fast TTL
Types of Fixed-Function Logic Gates
All the basic logic Quad 2-input NAND Triple 3-input NAND
→ 00 → 10
configurations are Quad 2-input NOR Triple 3-input AND
available in some or all → 02 → 11
Quad 2-input 0R → Triple 3-input NOR
of the IC technologies. 32 → 27
74LS04 : Low-power
Schottky hex inverter
35
Quad 2-input AND
4 AND gates
Each AND gate has 2 inputs
8 pins for inputs & 4 pins for outputs 8 7 GND
9 6
10 5
11 4
12 3
13 2
VCC 14 1
36
Cont’d
37
IC Package
A package of pins and gates integrated together
Single-gate Logic
1 gate to a package, 5-pin package
For last minute modifications
Logic Symbols
Logic symbols for fixed-function IC use the standard gate
symbols
Regardless of the logic family, all devices with the same
suffix are pin-compatible they will have the same
arrangement of pin numbers.
E.g. 7400, 74S00, 74LS00, 74ALS00, 74F00, 74HC00, 74AHC00
all pin-compatible quad 2-input NAND gate packages
Performance Characteristics &
40
Parameters
Power Dissipation
↓power dissipation means less current from the dc supply
THANK YOU!!