DSD 1
DSD 1
Experiment No.-1
Aim: To verify the truth tables of logic gates: AND, OR, NOT, NAND. NOR, EX-OR and
Ex-NOR
S.No. SPECIFICATION
COMPONENT
GATE
3 i/p NOR
GATE
4 i/p NAND IC 7420
10.
GATE IC 7421
11.
4 i/p ANDD IC 7425
12.
GATE
4 i/p NOR
GATE
Page 19
Department of ECE
Lab
Digital System Design
Theory:
BASIC GATES:
B A Q
0
AO-
& -oQ
0
BO
2-input AND Gate 0
Department of ECE
Page 20
Lab
Digital System Design
13
12
11
GND
741 1
Triple 3-Input
ND Gate
7411
Figure 1.3: Pin diagram of IC
GND
Department of ECE
Page 21
Design Lab
Digital System
2-input OR Gate
Truth Table
Symbol
B Q
0 0
AO 0
-oQ
Bo- 0
2-input OR Gate
Department of ECE
Page 22
Digital System Design Iab
1413H12H11H10H9H
Truth Table
Symbol
A
AO1
-0Q
0
Inverter or NOT Gate
Read as inverse of A gives Q
Boolean Expression Q= not
A or A
AJ Q3 GND
UNIVERSAL GATESS:
The Logic "NAND" Gate
he Logic NAND Gate is a combination of the digital logic AND gate with that of an
nverter or NOT gate connected together in series. The NAND (Not AND) gate has an
output that is normally at logic level "1 " and only goes "LOW" to logic level "0" when ALL
otits inputs are at logic level "1". The Logic NAND Gate is the reverse or "Complementary"
form of the AND gate we have seen
previously.
Logic NAND Gate Equivalencee
AO
& -oQ= AB
Bo
2-input "AND" gate plus a "NOT" gate
Figure 1.9: Equivalent circuit of NAND gate using AND and NOT gate
The logic Boolean
or
expression given for a logic NAND gate is that for Logicai Addition,
which is the opposite to the AND
gate, and which it performs on the
inputs. The Boolean expression for a logic NAND gate is denoted a complements
of the
by single dot or full stop
symbol, () with a line or Overline, ( ) over the expression to
negation of the NAND gate giving us the Boolean expression of: signify the NOT or logical
define the operation A.B=Q. Then we can
of a 2-input logic NAND gate as being:
"If either A or B are NOT true, then Q is true'"
Department of ECE
Page 24
Digital System Design Lab
AO & -oQ
0
BO-
0
2-input NAND Gate
1110
Page 25
Department of ECE
Design Lab
Digital System
LLN
D Y GND
7420
Department of ECE
Page 26
Digital System Design Lab
Ao-
21)A+B -00=AB
B0
2-input "OR" gate plus a"NOT gate
Figure 1.14: Equivalent circuit of NOR gate using OR and NOT gate
The logic or Boolean expression given for a logic NOR gate is that for Logical Multiplication
which it performs on the complements ofthe inputs. The Boolean expression for a logíc NOR
gate is denoted by a plus sign. (+) with a line or Over line, ( ) over the expression to signify
the NOT or logical negation ofthe NOR gate giving us the Boolean expression of: A+B Q.
Then define the operation
we can
ofa 2-input logic NOR gate as being:
"If both A and B are NOT true, then Q is true"
7427
L
7425
Department of ECE
Page 28
Digital System Design Lab
below.
2-inputEx-OR Gate
Truth Table
Symbol
B
A O- o o
BO =1
2-input Ex-OR Gate
14-13-12-1-10H9H
A1 02 GND
B A Q
AO- 0
-oQ
Bo-
2-input Ex-NOR Gate 0 0
In general, an Exclusive-NOR gate will give an output value of logic "1" ONLY when there
are anEVEN number of l's on the inputs to the
gate (the inverse of the Ex-OR gate) except
when all its inputs are "LOW".
Commonly available Exclusive-NOR gate lIC's include:
TTL Logie Types CMOS
74LS266 Quad 2-input Logic Types
CD4077 Quad
2-input
Quad 2-Input Ex-NOR Gate IC 74267
NG
Procedurc
. Test the digital 1Cs with the help of IC tester.
Make the connections on the breadboard as per the pin diagram. Connect the inputs of
logic gate to the logic sources and its output to the logic indicator.
any
Apply various input combinations and observe output for each one.
.Verify the truth table for each input/ output combination.
Repeat the process for all other logic gates.
Discussions:
Page 31
Department of ECE