Half adder/Full adder circuit

Thread Starter

iamminn

Joined Dec 10, 2012
6
/* Question
Attached is a circuit of half adders and full adders.

Given:
A = 101 base2
B = 011 base2

Find the 5 bit output of this circuit.
*/

I have gotten an output of -> 10100 base2

On the diagram i have placed 1's and 0's to illustrate how i worked this out on my worksheet.

Is my answer and work completely off?
 

Attachments

JohnInTX

Joined Jun 26, 2012
4,061
First of all 5 + 3 = 8 so your result should be 01000. A simple test.

Your inputs are incorrect to the adder sections. Each section should add
Ax + Bx where x is the same power of 2 i.e. the binary column.

Then:
HA does A0+B0 =X0 with Cy0out to the next section (the FA) then
FA does A1+B1+Cy0 = X1 with Cy1 out etc. moving from right to left as you have it drawn.
 

Thread Starter

iamminn

Joined Dec 10, 2012
6
First of all 5 + 3 = 8 so your result should be 01000. A simple test.
This is not a normal addition circuit though so wouldn't that test be irrelevant?

Also I can assure you the Input to the adders is set up correctly. It is how our professor has set the circuit up. The first HA's inputs should be Bsub1/Bsub0 and so on.

Thanks for your input!
 
Top