Incrementive Adder

  • mniip
    2nd Nov 2012 Developer 0 Permalink
    Ive looked at other binary adders, to see if any already uses this idea, and found none,
    The idea is, unlike other adders, there is a core that adds 1 bit at a time, this way you add as many bits as you want,
    i've made a 8-bit version,
    the most place takes the synchronisation system for the core, which, itself is actually very small, 20x20px or so.

    i've alpha-decorated the electronics, so they are visible, but not entirely
    Im sure that it's really self-explanative, but if any usage questions arise, feel free to ask
  • Tycjan13
    2nd Nov 2012 Member 0 Permalink

    This is a very nice design however it is rather slow.... and large...

  • Jallibad
    2nd Nov 2012 Member 0 Permalink

    @mniip (View Post)

     The add button doesn't work unless you spark the PSCN... it can get annoying...

  • BuysDB
    2nd Nov 2012 Member 0 Permalink

    Funny, I made the same kind of mech a while ago (I think, I haven't opened yours yet).

  • mniip
    3rd Nov 2012 Developer 0 Permalink
    @Tycjan13 (View Post)
    slow? its just 350 frames, around 6 seconds, much faster than other calculators can add 8-bit numbers

    @Jallibad (View Post)
    Ok, ill edit

    @BuysDB (View Post)
    Nice, but its a bit different
  • Tycjan13
    4th Nov 2012 Member 1 Permalink

    350!? Jeez thats rather slow....

    This thing is only 76

  • Synergy
    6th Nov 2012 Member 0 Permalink

    I like it. Can you explain it more thouroughly for us mniip?

     

    I made this a year or two ago. Has been the most effective way for easily performing addition that I have found.

     

    https://powdertoy.co.uk/Browse/View.html?ID=518889

     

  • mniip
    6th Nov 2012 Developer 0 Permalink
    @Tycjan13 (View Post)
    the thing is, yours is fixed to 8 bits, mine can be modified to 16, 32, even 512 bits without any problem

    @Synergy (View Post)
    at the core there's a 2-bit binary counter, every frame it receives bit from A, bit from B and bit left from previous operation, it adds all them together.
    The first bit is stored into result, the second is used in next step.
    Also, @Synergy, im working on something really epic, im almost done :D
  • Synergy
    6th Nov 2012 Member 0 Permalink

    Ah ok, I see what you mean. So each bit pair (A and B) is dealt with sequentially? Rather than simultaniously.

  • mniip
    6th Nov 2012 Developer 0 Permalink