A 3-bit and 4-bit binary adder.

Discussion in 'General Electronics Chat' started by Yash_Arya, Sep 21, 2008.

  1. Yash_Arya

    Yash_Arya Thread Starter New Member

    Joined:
    Sep 21, 2008
    Messages:
    7
    Hello, I was trying to make a 4-bit binary Adder and I reffered to some sites here and there but I could'nt get my concepts clear.

    Could anyone please tell me (show me?) how a circuit of a 4-bit binary adder would be? Using standard Gates and ICs only.

    Also, how would it be different from a 3-bit adder?

    Please help me with both the circuits, I will be greatful. If my question was not clear, ask me to clear it. :)

    Thank you, Greetings.
    Yash Arya.
  2. scubasteve_911

    scubasteve_911 Senior Member

    Joined:
    Dec 27, 2007
    Messages:
    1,202
    The 3 and 4-bit adders originate from a single bit adder, just scaled up.

    The following link shows a single bit adder, then, how it is hooked up to make 4-bits.

    http://www.play-hookey.com/digital/adder.html

    I'm pretty sure that the logic isn't optimized for low-gate count, but it will work fine. It is possible to write out karnaugh maps or do boolean algebra to reduce the number of gates needed, but that's another level of complexity.

    Steve

    Or, an allaboutcircuits reference is here too

    http://www.allaboutcircuits.com/vol_4/chpt_9/3.html
  3. beenthere

    beenthere Retired Moderator

    Joined:
    Apr 20, 2004
    Messages:
    15,815
    Location:
    Missouri, USA (GMT -6)
    Get the data sheet on a 74XX83. It is a 4 bit full adder. The data sheet should include the internal logic diagram.
  4. harsimranjit singh

    harsimranjit singh New Member

    Joined:
    Sep 22, 2008
    Messages:
    1
    Location:
    toronto
    whats 3 and 4 bit adder////i mean binary
  5. beenthere

    beenthere Retired Moderator

    Joined:
    Apr 20, 2004
    Messages:
    15,815
    Location:
    Missouri, USA (GMT -6)
    A 3 bit adder adds 3 bit values, the 4 bit adder adds 4 bit values.
  6. Yash_Arya

    Yash_Arya Thread Starter New Member

    Joined:
    Sep 21, 2008
    Messages:
    7
    Thank you for your help people, now I think I do not need any further guidance unless I myself read the resources that you kindly provided.

    However, (obviously) if someone else needs to clear something, go right ahead. :)

    Thank you,
    Yash Arya.
  7. Yash_Arya

    Yash_Arya Thread Starter New Member

    Joined:
    Sep 21, 2008
    Messages:
    7
    **I already have querries to be cleared**

    I went through the page [http://www.play-hookey.com/digital/adder.html] you provided me and I have the following querries.

    (1) In the Full-Adder part, if we see the truth table, We have A,B (i/p) and Cin, Cout. Here, Is A itself a multi-bit number (and same for B)? Or do A, B, Cin and Cout together make a "multi-bit number"?

    (2)If, A is itself a multi bit number, then how come in the truth table we give it only "0" or "1" in its coloumn? I mean, the number will be something like "A = 1011" for example.

    Please clear my Querries. Thanks a lot in advance.

    Thank you,
    Yash Arya.
  8. veritas

    veritas Active Member

    Joined:
    Feb 7, 2008
    Messages:
    167
    Location:
    Austin, TX
    For each individual full adder, A and B are only 1 bit, and Cin/Cout are for those bits. For a multiple-bit adder, Cin goes to the least significant bit, and Cout comes from the most significant bit. The other carries are internal.
  9. Yash_Arya

    Yash_Arya Thread Starter New Member

    Joined:
    Sep 21, 2008
    Messages:
    7
    Okay, so let us speak in terms of "order" of 'A' and 'B'. Suppose that 'A' and 'B' are bits of order 'n'. (i.e A[n] and B[n]) and the carry from previous bit is C[n-1].

    Now to add A[n], B[n] and C[n-1], we need one full adder. Am I correct? So, for 4-bit adder, will I need four such full-adders? (Heck that will be complex)

    Also, let us say that after the Addition, I recieve Sum (Sn) and Carry out(Cn).

    Now what all should be taken as i/p for the next full-adder?

    From what I understood, It will be A[n+1], B[n+1], C[n].

    Am I correct?

    Also, please tell me some suitable IC for the same. (The ICs I have in my syllabus are 7432, 7408, 7404, 7402, 7400, 7486, 74135) The ICs must be from the list only.

    Thank you all for your co-operation.:)

    Yash Arya.
  10. veritas

    veritas Active Member

    Joined:
    Feb 7, 2008
    Messages:
    167
    Location:
    Austin, TX
    You are correct on all counts, I believe. If you have only logic gates, you will need to create logic for Sum[n] and Cout[n] from the inputs A[n], B[n], and Cin[n], and then duplicate you logic 4 times.

    *edit* I would suggest making a truth table.
  11. Yash_Arya

    Yash_Arya Thread Starter New Member

    Joined:
    Sep 21, 2008
    Messages:
    7
    Very well then, I will try this out as soon as I get my next practicals! :)

    Thank you all once again! I am really glad you helped me out!

    Thank you,
    Yash Arya
  12. STEVEN DUPRE

    STEVEN DUPRE New Member

    Joined:
    Sep 18, 2008
    Messages:
    1
    Location:
    FORT MYERS, FL.
    SAYING HI, I'M 1/2 THROUGH THE ADDER SECTION OF THE F.A.C.E.T. HANDS ON LEARNING EQUIPMENT.IT'S VERY INTERESTING AND GETTING HARD BUT NOT ENOUGH TO THROW AN INTELLIGENT QUESTION YOUR WAY.IT'S GOOD TO KNOW WHEN IT GETS THAT TIME I CAN POST SOME SERIOUS @&*!. LATER.
Similar Threads
Forum Title Date
General Electronics Chat Mapping 8-bit to 3-bit. Apr 1, 2014
General Electronics Chat For a 3-bit two's complement adder, what is the valid range for binary arithmetic? Dec 10, 2009
General Electronics Chat Design of a A 3-bit two's complement adder Dec 10, 2009
General Electronics Chat 4-bit successive approximation Apr 18, 2012
General Electronics Chat 4-bit parallel adder 74LS283 and 74LS83A Jan 19, 2012

Share This Page