Forums - Open Redstone Engineers

Full Version: Hexadecimal Adder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made and improved this thing over the past few days...

I studied a design by Newomaster and made my own. It's my first time making one of these. Combinational logic is a little more difficult for me than sequential logic so this was a challenge.

It adds 4 sets of hexadecimal digits 1, 16, 256, and 4096(in decimal). It just looks like 1, 10, 100, and 1000 in hex.

It goes up to 1FFFF which is FFFF+FFFF+1 or 131071 in decimal.

[Image: HexAdder_zps947d10c1.png]

I also made a GUI for it
[Image: HexAdderGUI_zpsee260bb6.png]

As you can see, the display is much larger than the adder itself...
Adder:light gray
GUI:black
[Image: HexAdderGUIback_zpsfd1bc7cb.png]
This... this right here is awesome.
I am going to work on an ACD adder and subtractor the Adder I might base off your design. Also I still need to work in a binary to ACD decoder. And a ACD to binary decoder also.
It is actually quite easy. Because I made all my power sources containers, I was able to switch all values of 15 to 9. Easy conversion to ANY base, just by changing maximum values.

ACD Adder
[Image: ACDadder_zps4c7dbad7.png]

[Image: GUIadders_zps618ece3a.png]
Cyan:decimal
Black:hexadecimal

I think cyan was a bad choice... lol
Thanks!!
I was thinking just now that with this style of adder, bases less than 15 might not need 2 half adders because one of them can handle the C-in as well. I think I'm going to develop this a little. It should speed up ACD addition quite a bit.
I am working on your analog to dec too