You are on page 1of 2

i) Draw the block diagram for a system that is capable of adding two 3-

bit binary numbers.

The following is the block diagram corresponding to the question.

 The Two 3-bit binary numbers are A2 A1 A0 and B2 B1 B0.


 Inititally Cin = 0.
 S2 S1 S0 is the sum and Cout is the Carry.

ii) Determine the truth table.

Input, Cin = 0 Output


A2 A1 A0 B2 B1 B0 Cout S2 S1 S0
0 0 0 0 1 1 0 0 1 1
0 0 1 1 0 0 0 1 0 1
0 1 0 1 0 1 0 1 1 1
0 1 1 1 1 1 1 0 1 0
1 0 0 1 0 1 1 0 0 1
1 0 1 0 1 1 1 0 0 0
1 1 0 1 0 1 1 0 1 1
1 1 1 0 1 1 1 0 1 0

Note:
Random 3-bit numbers are given in the truth table.
iii) The following sequence of bits (right most bit first) appear on the
input of a system. Determine the resulting of bits on each sum output.

Assumption:
From the data provided the following sets are considered for Binary
Addition
(A1 B1), (A2 B2), (A3 B3), (A4 B4)

Solution

The following is the truth table used to derive the output

Input Carr SUM


y
A1 1 1 1 1 B1 1 0 0 1 1 1 0 0 0
A2 1 1 0 0 B2 1 1 1 0 1 1 0 1 0
A3 1 0 1 0 B3 0 0 0 0 0 1 0 1 0
A4 0 0 1 0 B4 1 0 1 1 0 1 1 0 1

Note:

The corresponding bits are added based on binary addition.

You might also like