You are on page 1of 4

Experiment No: 06

Experiment Name: Design and implementation of a Decoder circuit.

Introduction:

Decoder is a combinational circuit that has ‘n’ input lines and maximum of 2 n output lines.
One of these outputs will be active High based on the combination of inputs present, when
the decoder is enabled. That means decoder detects a particular code. Actually, it does the
reverse function of an encoder. In below figure I show the block diagram of Decoder.

Fig 1: block diagram of a decoder.

It has an N inputs lines and M output lines. Thus, there are 2N possible input combination.
For each input combination, only one of the M outputs corresponding to that combination is
activated. The relation between inputs and outputs is 2N>= M. Here we will discuss the
function of binary to octal decoder and implementation it’s logic circuit.

A binary to octal decoder has 3-bit inputs and eight outputs. When a 3-bit input code is
applied to the decoder, one of the eight outputs corresponding to that input code is
activated. It’s also called 3 to 8-line decoder.

Apparatus:

i) Three ICs 4081 (AND gate).


ii) Eight LEDs.
iii) DC power supply.
iv) Bread board for implementing circuit.
v) Some connecting wire.
3-bit binary inputs Octal outputs

A B C O0 O1 O2 O3 O4 O5 O6 O7

0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Table :1

Truth table of 3-bit binary to octal decoder.

The expression for the output can be written as follow.

O0 = A̅ B̅C̅ O1 = A̅ B̅C O2 = A̅ BC̅ O3 = A̅ BC

O4 = AB̅ C̅ O5 = AB̅ C O6 = ABC̅ O7 = ABC

Fig 2: logic circuit 3-bit binary to octal decoder.


Implementation:

To construct the output expression of O0, O1, O2, O3, O4, O5, O6, O7 we need three AND gate
and one NOT gate.

1. To get output expression of A̅ B̅C̅ we put the A, B, C in NOT gate input and take
output and AND them.
2. In O2, O3 there is a common part that’s is A̅ B̅ . so, we first construct A̅ B̅ and 1st
ANNED C to get O3, then anned C̅ to get O2
3. In similar O4, O5, there is also a common part that’s is AB̅ . so, we first construct AB̅
and 1st ANNED C to get O5, then anned C̅ to get O4 .
4. In similar process we get the all the remaining outputs. In bellow diagram I slow the
implementation.

Discussion:

1. The experimental result of the implementation is same as the truth table of binary
to gray code converter.
2. We were very careful while putting the wire into correct point in the breadboard .

You might also like