[Link].
3
Date:
DESIGN OF ENCODER AND DECODER USING LOGIC GATES
AIM:
To design and implement Encoder and decoder using logic gates and verify the
truth table using logic gates.
APPARATUSREQUIRED:
Sl. No. COMPONENT SPECIFICATION QTY.
1. OR GATE IC7432 1
2. AND GATE IC7408 1
3. NOT GATE IC7404 1
4. IC TRAINER KIT - 1
5. CONNECTING WIRES - Required
THEORY:
DECODER:
A decoder is a multiple-input , multiple-output logic circuit which converts
coded inputs into coded outputs, where the input and output codes are different. A
binary decoder is used when it is necessary to activate exactly one of 2n outputs based
on an n- bit input value.
ENCODER:
An encoder is a digital circuit that performs the inverse operation of a decoder.
An encoder has 2n input lines and n output lines. In encoder the output lines generate
the binary code corresponding to the input value.
CIRCUIT DIAGRAM OF ENCODER:
TRUTH TABLE FOR ENCODER
INPUTS OUTPUTS
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