



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Design a combinational circuit that converts a binary number of four bits to a decimal number n BCD. Note that the BCD number is
the same as the binary number as long as the input is less than or equal to 9. The binary number from 1010 to 1111 converts into
BCD numbers from 1 0000 to 1 0101.
Decimal Binary BCD
ᠧ ᠨ ᠩ ᠰ ᡘ
⡲
ᡘ
⡱
ᡘ
⡰
ᡘ
⡩
ᡘ
⡨
0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 1
2 0 0 1 0 0 0 0 1 0
3 0 0 1 1 0 0 0 1 1
4 0 1 0 0 0 0 1 0 0
5 0 1 0 1 0 0 1 0 1
6 0 1 1 0 0 0 1 1 0
7 0 1 1 1 0 0 1 1 1
8 1 0 0 0 0 1 0 0 0
9 1 0 0 1 0 1 0 0 1
10 1 0 1 0 1 0 0 0 0
11 1 0 1 1 1 0 0 0 1
12 1 1 0 0 1 0 0 1 0
13 1 1 0 1 1 0 0 1 1
14 1 1 1 0 1 0 1 0 0
15 1 1 1 1 1 0 1 0 1
We would like to represent each of ᡘ ⡨
⡩
⡰
⡱
⡲
as function of ᡔ
⡨
⡩
⡰
⡱
⡲
. For each ᡘ we build the k-map.
⡲
⡱
⡰
⡩
⡨
Therefore we know how to represent a BCD number based on bits from binary representation:
⡲
⡱
⡰
⡩
⡨
And the circuit is:
Design a dual 8-to-1-line multiplexer using a 3-to-8-line decoder and two 8X2 AND-ORs.
Implement the function ᡑ = ᠧ̅ᠨ
ᠩ̅ + ᠧᠨᠩ using
a. [10 points] an 8:1 multiplexer
b. [10 points] a 4:1 multiplexer and one inverter
...
8x2 AND OR
...
ᠵ
⡩,⡨
ᠵ
⡩,⡩
ᠵ
⡩,⡵
...
8x2 AND OR
ᠵ ⡰,⡨
ᠵ ⡰,⡩
ᠵ ⡰,⡵
3 - to- 8
decoder
ᡅ ⡰
ᡅ
⡩
ᡅ
⡨
ᡑ
⡩
ᡑ
⡰
c. [10 points] a 2:1 multiplexer and two other logic gates