Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

4-bit binary subtractor

  1. Mar 21, 2005 #1
    Hello folks :

    the task is to design a circuit which subtracts 4 bit binary number a3,a2,a1,a0 and b3...b0. the MSB is a sign bit.

    Assume that you are given half-adders and full-adders, i.e. you don't have to design the logic of the half-adder or full adder chip.
    the two numbers are fed into the circuit on 2 serial lines and the output is also read out serially.

    Please have look at the attachement and Let me know if its Correct!!!


    electro ;)

    Attached Files:

  2. jcsd
  3. Mar 22, 2005 #2
    c'mon jack asses move ur ass and check the ans. atleast!!

    or r u all That dumb???
  4. Mar 22, 2005 #3
    c = a - b (1)
    c = a + 2comp(b) (2)
    c = a + ~b + 1 (3)

    All three equations are equivalent. Surely you can implement equation 3 on your own, especially since you have adders available.
    Or are you that dumb?
  5. Mar 22, 2005 #4

    You didn't tell me anything about the "figure" attached I just wanted to know if its OK ?
  6. Mar 24, 2005 #5


    User Avatar
    Science Advisor
    Homework Helper

    I believe the reason you haven't gotten many responses is because we're not here to check homework. :zzz: If you had a specific problem that you couldn't figure out, we may be able to steer you in the right direction. :rolleyes:
  7. Mar 25, 2005 #6

    Or may be u're not "good enough" to see the answer and if wrong, "steer" as you say, in the right direction! :tongue2:
  8. Mar 29, 2005 #7
    I suggest that you reconsider your approach. There are surely several here who can be of assistance but won't. The people you are dealing with here are adults, and adults don't respond to goading.

  9. Mar 29, 2005 #8
    You can't be serious? Why would anyone want to help you when you act like this? I sure as hell won't.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook