You are on page 1of 3

Q) Design a BCD to 7-segment decoder

Ans) 1) Block Diagram:

BCD to 7-segment decoder converts the input BCD code to the output 7 segment code, hence it
has 4 inputs and 7 outputs

2) Truth table:

BCD is called as Binary coded Decimal and it exist only from 0 to 9, the other inputs from 10 to
15 does not exists, hence they can be considered as Don’t cares,

A B C D a b c d e f g DISPLAY
PATTERN

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 1 0 1 1

1 0 1 0 X X X X X X X X
1 0 1 1 X X X X X X X X
1 1 0 0 X X X X X X X X
1 1 0 1 X X X X X X X X
1 1 1 0 X X X X X X X X
1 1 1 1 X X X X X X X X
3) K-map simplification:

The above output equations can be simplified with the help of K-map,
4) Hardware implementation:

The above simplified equations can be implemented by the following hardware

You might also like