MEGHNAD SAHA INSTITUTE OF TECHNOLOGY
Department of Electronics and Communication Engineering
Lab Manual
Subject Name: Analog & Digital Electronic circuit
Subject Code: ESC391
Experiment Name: Realization of simple Decoder circuit using logic gates.
Experiment No: 4
1.Objective:
To realize a 2 to 4 line decoder circuit using basic gates.
2.Theory:
Decoder is a combinational circuit that converts binary information from n input lines to a maximum of
2n unique output lines. In digital electronics, a decoder can take the form of a multiple input, multiple -
output logic circuit that converts coded inputs into coded outputs, where the input and output codes are
different. e.g. n-to-2n, binary-coded decimal decoders. Enable inputs must be on for the decoder to
function, otherwise its outputs assume a single "disabled" output code word. In case of decoding all
combinations of two bits eight (22=4) decoding gates are required. This type of decoder is called 2 – 8
decoder because 2 inputs and 4 outputs. For any input combination decoder outputs are 1.
3.Truth Table:
INPUT OUTPUT
A B D0 D1 D2 D3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
BOOLAEN EXPRESSIONS:
D 0 A .B
D 1 A .B
D 2 A.B
D 3 A .B
4.Circuit Diagram:
2 to 4 line Decoder
5. Requirements:
1. 5 volt DC regulated power supply
2. Bread Board
3. Digital Multimeter
4. IC-7408, 7404.
5. Connecting Wires
6. Cutter
Pin out diagram of IC7400 and IC 7402 is given below.
6.Observations/Results:
INPUT OUTPUT
A B D0 D1 D2 D3
LL LV LL LV LL LV LL LV
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
7.Discussions & Conclusions:
8.Area of applications:
These are used in different applications like seven segment display, memory address decoding etc.
9.Question Banks:
a) What do you understand by a decoder?
b) What is the difference between decoder and de multiplexer?
c) Design a DCD to seven segment decoder driver ckt.