Design A Circuit With Three Inputs and Six Outputs

You might also like

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

21. Design a circuit with three inputs and six outputs.

The output binary number should be

the square of the input binary number.

solution: https://www.youtube.com/watch?v=foa91t6VpYI

k-map explanation: https://www.youtube.com/watch?v=RO5alU6PpSU

Result (truth) table :

Decimal Binary input bits (3) Binary output bits (6) Decimal
input 4 2 1 32 16 8 4 2 1 output
𝐼𝐼2 𝐼𝐼1 𝐼𝐼0 𝑂𝑂5 𝑂𝑂4 𝑂𝑂3 𝑂𝑂2 𝑂𝑂1 𝑂𝑂0
0 0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0 0 1 1
2 0 1 0 0 0 0 1 0 0 4
3 0 1 1 0 0 1 0 0 1 9
4 1 0 0 0 1 0 0 0 0 16
5 1 0 1 0 1 1 0 0 1 25
6 1 1 0 1 0 0 1 0 0 36
7 1 1 1 1 1 0 0 0 1 49

k-Map for output 𝑂𝑂0 :

00 01 11 10

0 1 1
1 1 1
𝑂𝑂0 = 𝐼𝐼0

k-Map for output 𝑂𝑂1 :

00 01 11 10

0
1
𝑂𝑂1 = 0 (ground)

k-Map for output 𝑂𝑂2 :

00 01 11 10

0 1
1 1
𝑂𝑂2 =𝐼𝐼1 𝐼𝐼�0
k-Map for output 𝑂𝑂3 :

00 01 11 10

0 1
1 1
𝑂𝑂3 = 𝐼𝐼�1 𝐼𝐼0 + 𝐼𝐼�2 𝐼𝐼1 𝐼𝐼0

k-Map for output O4:

00 01 11 10

0
1 1 1 1
𝑂𝑂4 = 𝐼𝐼2 𝐼𝐼�1 + 𝐼𝐼2 𝐼𝐼0

k-Map for output O5:

00 01 11 10

0
1 1 1
𝑂𝑂5 = 𝐼𝐼2 𝐼𝐼1

You might also like