You are on page 1of 13

LOGIC GATES

• Logic gates are the fundamental building


blocks of digital system. Logic gates can be
constructed from DTL , RTL and TTL in such a
way that the circuit output is the result of
basic logic operation (AND, OR, NOT)
performed on the inputs. IT is simply a device
that has one or more inputs and one output.
BASIC GATE
There are three basic gates(AOI) :
1. AND GATE
2. OR GATE
3. INVERTER (NOT) GATE
AND GATE
TRUTH TABLE
X
X Y Z
Y
Z 0 0 0
0 1 0
SYMBOL
1 0 0

Z= X.Y 1 1 1
OR GATE
TRUTH TABLE
X Y Z
0 0 0
0 1 1
SYMBOL
1 0 1

Z= X+Y 1 1 1
INVERTER (NOT) GATE

TRUTH TABLE

X Y X Y

0 1
SYMBOL
1 0

Y= X’
Universal Gate
• A universal gate is a gate which can be used to
build any logic circuit.
Types OF Universal Gates
There are two types of universal gates:
1. NAND Gate
2. NOR Gate
NAND Gate

AND NOT

+
NAND Gate

X
Y Z  XY X Y

X Y Z
0 0 1
0 1 1

1 0 1
1 1 0
8
NOR Gate

NOT

+
NOR Gate
X

Y
Z XY X Y

X Y Z

0 0 1

0 1 0

1 0 0

1 1 0
10
SPECIAL GATES
• There are two special gates:
• 1. Ex-OR Gate
• 2. Ex-NOR Gate
XOR Gate – Exclusive OR
X
Z  X Y  X Y  X Y
Y

X Y Z
0 0 0

0 1 1
1 0 1
1 1 0
12
XNOR Gate – Exclusive NOR

X
Z XY XY  XY
Y

X Y Z
0 0 1
0 1 0
1 0 0
1 1 1
13

You might also like