BCD To Seven Segment Decoder

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

BCD to Seven Segment

Decoder
Seven Segment Display

• Seven-segment display:
7 LEDs (light emitting diodes), each one
controlled by an input a
1 means “on”, 0 means “off”
Display digit “3”? f b
g
Set a, b, c, d, g to 1
Set e, f to 0 e c

d
2
Design Requirements

X3
a
a

X2 BCD to 7 b f g b
c

X1 Segment d
e c
e

X0 Decoder f

g d
(Active HIGH Output)

Design the logic circuitry that will drive a seven segment LED display and will be able to
represent numbers from 0 to 9
Possible numbers and their representation on 7
segment display
a a a a

f b b g b g b f g b f g

e c c e c c c

d d d d

a a a a

f g b f g b f g b

e c c e c c

d d
Truth Table
X3 X2 X1 X0 a b c d e f g
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
0 0 1 0 1 1 0 1 1 0 1
0 0 1 1 1 1 1 1 0 0 1
0 1 0 0 0 1 1 0 0 1 1
0 1 0 1 1 0 1 1 0 1 1
0 1 1 0 1 0 1 1 1 1 1
0 1 1 1 1 1 1 0 0 0 0
1 0 0 0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 0 0 1 1
1 0 1 0 x x x x x x x
1 0 1 1 x x x x x x x
1 1 0 0 x x x x x x x
1 1 0 1 x x x x x x x
1 1 1 0 x x x x x x x
1 1 1 1 x x x x x x x
K-maps A A A
AB AB AB
CD 00 01 11 10 CD 00 01 11 10 CD 00 01 11 10

00 1 0 X 1 00 1 1 X 1 00 1 1 X 1

01 0 1 X 1 01 1 0 X 1 01 1 1 X 1
D D D
11 1 1 X X 11 1 1 X X 11 1 1 X X
C C C
10 1 1 X X 10 1 0 X X 10 0 1 X X

B B B
K-map for a K-map for b K-map for c
A A A A
AB AB AB AB
00 01 11 10 00 01 11 10 00 01 11 10 CD 00 01 11 10
CD CD CD
00 1 0 X 1 00 1 0 X 1 00 1 1 X 1 00 0 1 X 1

01 0 1 X 0 01 0 0 X 0 01 0 1 X 1 01 0 1 X 1
D D D D
11 1 0 X X 11 0 0 X X 11 0 0 X X 11 1 0 X X
C C C C
10 1 1 X X 10 1 1 X X 10 0 1 X X 10 1 1 X X

B B B B

K-map for d K-map for e K-map for f K-map for g

d = B' D' + C D' + B C' D + B' C


a = A + B D + C + B' D' e = B' D' + C D
b = A + C' D' + C D + B' f = A + C' D' + B D' + B C'
c = A + B + C' + D g = A + C D' + B C' + B' C
6
Circuit for segment a

Similarly circuits for rest of the segments can be obtained


Design problem
• Design a seven segment display decoder with active low output lines.
Write the truth table and show the circuits for segments c and e only.

X3
a
a

X2 BCD to 7 b f g b
c

X1 Segment d
e c
e

X0 Decoder f

g d
(Active LOW Output)

You might also like