PRESENTATION
ON
ENCODER AND DECODER
NEHA YADAV
Roll No.- 54
SEMESTER I , [Link]. Computer Application Submitted to
Session- 2023-2027 Amrita Prakash Mam
Registration no.- 23PWC00758
ENCODER
What are Encoder?
The combinational circuits that change the binary
information into N output lines are known as Encoders.
The binary information is passed in the form of 2N input lines.
The output lines define the N-bit code for the binary
information.
4 to 2 Line Encoder
In 4 to 2 line encoder, there are total of four inputs, i.e., Y 0, Y1, Y2,
and Y3, and two outputs, i.e., A0 and A1. In 4-input lines, one input-
line is set to true at a time to get the respective binary code in the
output side.
Block Diagram of 4 to 2 Encoder
Truth Table of 4 to 2 Encoder
The logical expression of the term A0 and A1 is as follows:
• A1=Y3+Y2
• A0=Y3+Y1
Logic Diagram of
4 to 2 Encoder
DECODER
What are Decoder?
The combinational circuit that change the binary information into
2N output lines is known as Decoders.
The binary information is passed in the form of N input lines.
The output lines define the 2N-bit code for the binary information.
2 to 4 Line Decoder
In the 2 to 4 line decoder, there is a total of three inputs, i.e., A 0, and
A1 and E and four outputs, i.e., Y0, Y1, Y2, and Y3. For each
combination of inputs, when the enable 'E' is set to 1, one of these
four outputs will be 1.
Block Diagram of 4 to 2 Encoder
Truth Table of 2 to 4 Decoder
The logical expression of the term Y0,Y1,Y2 and Y3is as
follows:
• Y3=E.A1.A0 • Y1=E.A1'.A0
• Y2=E.A1.A0' • Y0=E.A1'.A0'
Logic Diagram of 2 to 4 Decoder