DECODER-ENCODER
DECODER-ENCODER
DATE:
AIM:
To design and implement encoder and decoder using logic gates , study of IC 7445 and IC
74147.
APPARATUS REQUIRED:
THEORY:
ENCODER:
An encoder is a digital circuit that performs inverse operation of a decoder. An encoder has 2 n
input lines and n output lines. In encoder the output lines generates the binary code corresponding to
the input value. In octal to binary encoder it has eight inputs, one for each octal digit and three output
that generate the corresponding binary code. In encoder it is assumed that only one input has a value of
one at any given time otherwise the circuit is meaningless. It has an ambiguila that when all inputs are
zero the outputs are zero. The zero outputs can also be generated when D0 = 1.
DECODER:
A decoder is a multiple input multiple output logic circuit which converts coded input into
coded output where input and output codes are different. The input code generally has fewer bits than
the output code. Each input code word produces a different output code word i.e there is one to one
mapping can be expressed in truth table. In the block diagram of decoder circuit the encoded
information is present as n input producing 2n possible outputs. 2n output values are from 0 through out
2n – 1.
www.Vidyarthiplus.com120
PROCEDURE:
INPUT OUTPUT
Y1 Y2 Y3 Y4 Y5 Y6 Y7 A B C
1 0 0 0 0 0 0 0 0 1
0 1 0 0 0 0 0 0 1 0
0 0 1 0 0 0 0 0 1 1
0 0 0 1 0 0 0 1 0 0
0 0 0 0 1 0 0 1 0 1
0 0 0 0 0 1 0 1 1 0
0 0 0 0 0 0 1 1 1 1
INPUT OUTPUT
E A B D0 D1 D2 D3
1 0 0 1 1 1 1
0 0 0 0 1 1 1
0 0 1 1 0 1 1
0 1 0 1 1 0 1
0 1 1 1 1 1 0
RESULT: -
Thus the encoder/decoder circuits were designed and their logic was verified