DECODER
[Link]
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER SCIENCE
SRI SARADA NIKETAN COLLEGE OF SCIENCE
FOR WOMEN,KARUR
• 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.
• At a time, only one input line is activated for
simplicity.
• The produced 2N-bit output code is equivalent
to the binary information.
3 to 8 line decoder:
• The 3 to 8 line decoder is also known
as Binary to Octal Decoder
• there is a total of eight outputs, i.e., Y0, Y1, Y2,
Y3, Y4, Y5, Y6, and Y7 and three outputs, i.e., A0,
A1, and A2.
• This circuit has an enable input 'E'.
• when enable 'E' is set to 1, one of these four
outputs will be 1.
Block Diagram:
Table Truth:
• The logical expression of the term Y0, Y1, Y2, Y3, Y4,
Y5, Y6, and Y7 is as follows:
• Y0=A0'.A1'.A2'
Y1=A0.A1'.A2'
Y2=A0'.A1.A2'
Y3=A0.A1.A2'
Y4=A0'.A1'.A2
Y5=A0.A1'.A2
Y6=A0'.A1.A2
Y7=A0.A1.A2
Logical circuit of the above expressions is given
below:
BCD to 7 Segment Decoder
• In Binary Coded Decimal (BCD) encoding
scheme each of the decimal numbers(0-9) is
represented by its equivalent binary pattern
• Seven segment display is an electronic device
which consists of seven Light Emitting Diodes
(LEDs) arranged in a some definite pattern
• First, our decimal number is changed to its
BCD equivalent signal then BCD to seven
segment decoder converts that signals to the
form which is fed to seven segment display.
• his BCD to seven segment decoder has four
input lines (A, B, C and D) and 7 output lines
(a, b, c, d, e, f and g), this output is given to
seven segment LED display which displays the
decimal number depending upon inputs.
Example
• Explanation –
For combination where all the inputs (A, B, C
and D) are zero (see Truth Table), our output
lines are a = 1, b = 1, c = 1, d = 1, e = 1, f = 1 and
g = 0. So 7 segment display shows ‘zero’ as
output.
• Similarly, for combination where one of the
input is one (D = 1) and rest are zero,our
output lines are a = 0, b = 1, c = 1, d = 0, e = 0, f
= 0 and g = 0. So only LEDs ‘b’ and ‘c’ (see
diagram above) will glow and 7 segment
display shows ‘one’ as output.
• K-Maps:
#for a: #for b:
• #for c: #for d:
#for e: #for f:
#for g:
Applications –
Seven-segment displays are used to display
the digits in calculators, clocks, various
measuring instruments, digital watches and
digital counters.