



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to homework 4 of the computer architecture i course offered by the university of illinois at chicago in fall 2012. The homework includes three questions: designing a combinational circuit to convert a binary number to bcd, designing a 5-to-32-line decoder using four 3-to-8-line decoders and a 2-to-4-line decoder, and designing a dual 8-to-1-line multiplexer using a 3-to-8-line decoder and two 8x2 and-ors. The document also includes the k-map tables and circuit diagrams for the combinational circuits.
Typology: Study notes
1 / 5
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