0% found this document useful (0 votes)
41 views3 pages

Avionics Lab - Ajay

The document describes implementing a 4 to 2 encoder and 2 to 4 decoder circuit. It provides the components, procedure, theory behind each circuit, and verifies the truth tables of each. The aim is to construct and verify the encoder and decoder circuits.

Uploaded by

AIDEN WRIST
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views3 pages

Avionics Lab - Ajay

The document describes implementing a 4 to 2 encoder and 2 to 4 decoder circuit. It provides the components, procedure, theory behind each circuit, and verifies the truth tables of each. The aim is to construct and verify the encoder and decoder circuits.

Uploaded by

AIDEN WRIST
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Name: Navneet Sharma

Roll no. 17/206


Subject: Avionics Lab

Experiment: Implementation of encoder/decoder circuits


Aim:
To construct 4 to 2 Encoder and 2 to 4 Decoder and verify their truth tables.

Components Required:

S.NO DESCRIPTION RANGE QUANTITY


1. IC 7404 – NOT gate - 1
2 IC 7408 – 2 input AND gate - 1
3 IC 7432 – 2 input OR gate - 1
4 Digital Trainer Kit 1
5 LED 1
6 Connecting Wires - As Needed

Procedure:
1. Connect the circuit as per the circuit diagram.
2. Give logical inputs as per the respective truth table.
3. Observe the logical output and verify with their truth table

Theory:
4 to 2 Encoder:
An Encoder is a digital circuit that performs the inverse operation of a decoder. Hence the opposite of
the decoding process is called encoding. An encoder is a combinational logic circuit that converts an
active input signal into a coded output signal. It has n input lines only one of which is active at any
time and m output lines. It encodes one of the active inputs to a coded binary output with m bits. In an
encoder the number of outputs is less than no. of inputs. Consider 4 to 2 encoder, which has 4 inputs
for each 4 digit and 2 outputs generating the corresponding binary number.

The output Boolean functions are


Y0= D1+D2 Y1=D2+D3

2 to 4 Decoder:
A Decoder is similar to Demultiplexer but without any data input. Most digital system requires the
decoding of the data. Decoding is necessary in applications such as datamultiplexing, digital display,
digital to analog converters and memory addressing. A decoder is a logic circuit that converts an n bit
binary input code into 2noutput lines, Such that each output line will be activated for only one of the
possible combinations of inputs.

A 2 to 4 decoder has two inputs (A and B) and 4 outputs (D 0-D3). Based on the two inputs, one of the
4 outputs is selected. From the truth table it is clear that only one of the 4 outputs is selected based on
the two select inputs. The logical expression for the outputs can be written as follows:

D0= A’B’ D1=A’B D2=AB’ D3=AB

Result:

Thus the 4 to 2 encoder 2 to 4 Decoder were designed and verified with their truth table.

4 to 2 ENCODERS
D0 D1 D2 D3

Y 1= D 2+ D 3

Y 0= D 1+ D 2

Truth Table
Inputs Outputs
D0 D1 D2 D3 Y1 Y0
I 0 0 0 0 0
0 I 0 0 0 1
0 0 I 0 1 0
0 0 0 I 1 1

2 to 4 DECODERS
D0= A’B’

D1=A’B

D2=AB’

D3=AB

Truth Table
A B D0 D1 D2 D3
0 0 I 0 0 0
0 1 0 I 0 0
1 0 0 0 I 0
1 1 0 0 0 I

You might also like