Logic Gates - Truth Table
Logic Gates - Truth Table
[PO1]
The flow of electrons of your circuit is directed and controlled by the logical
operations that the circuit designer wanted them to follow. Then the
devices that control the flow of electrons are called gates.
What kind of gates? logic, digital gates operating with low voltages: 0 (no
difference in potential) and 1 (voltage applied).
5
LOGIC GATES
6
LOGIC GATES
A digital circuit is referred to as logic gate for simple reason i.e. it can be analysed based
on Boolean algebra.
7
OR GATE
The operation of OR gate is such that a HIGH(1) on the output is produced when any of the
input is HIGH.
The output is LOW(0) only when all the inputs are LOW.
8
LOGICAL SYMBOL: TWO INPUT OR GATE
The output of an AND gate is HIGH only when all the inputs are
HIGH.
Even if any one of the input is LOW, the output will be LOW .
10
LOGICAL SYMBOL: TWO INPUT AND GATE
Input Output
A B Y=A.B
0 0 0
0 1 0
1 0 0
11
NOT GATE (INVERTER)
The NOT gate performs the basic logical function called inversion or complementation.
The purpose of this gate is to convert one logic level into the opposite logic level.
12
LOGICAL SYMBOL: NOT GATE
Truth Table
Input output
A Z= A’
0 1
1 0
13
NAND GATE
The output of a NAND gate is LOW only when all inputs are HIGH and output of the NAND is
HIGH if one or more inputs are LOW.
Input Output
A B Y = (AB)’
0 0 1
0 1 1
1 0 1
1 1 0
14
NOR GATE
The output of the NOR gate is HIGH only when all the inputs are LOW.
Input Output
A B Y= AB
0 0 1
0 1 0
1 0 0
1 1 0
15
XOR GATE OR EXCLUSIVE OR GATE
In this gate output is HIGH only when any one of the input is HIGH.
The circuit is also called as inequality comparator, because it produces output when two
inputs are different.
16
XOR GATE OR EXCLUSIVE OR GATE
Input Output
A B Y = A B
Y= A B = A + B
0 0 0
0 1 1
1 0 1
1 1 0
17
XNOR GATE OR EXCLUSIVE NOR GATE
An XNOR gate is a gate with two or more inputs and one output.
XNOR operation is complementary of XOR operation. i.e. The output of XNOR gate is High,
when all the inputs are identical; otherwise it is low.
18
Input Output
A B Y= AB +AB
Truth Table:
0 0 1
0 1 0
1 0 0
1 1 1
19
UNIVERSAL LOGIC GATE
NAND and NOR gates are called Universal gates or Universal building blocks, because both
can be used to implement any gate like AND,OR an NOT gates or any combination of these
basic gates.
20
NAND GATE AS UNIVERSAL GATE
NOT operation:
AND operation:
21
OR operation:
NOR operation:
22
NOR GATE AS UNIVERSAL GATE:
NOT operation:
AND operation:
OR operation:
NAND operation:
23