Scrap Mechanic

Scrap Mechanic

Not enough ratings
Binary to Decimal Converter (BCD) | Double Dabble Algorithm
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
150.833 KB
Aug 20, 2020 @ 8:06am
1 Change Note ( view )

Subscribe to download
Binary to Decimal Converter (BCD) | Double Dabble Algorithm

Description
Improved Version

This is a circuit that instantly converts binary numbers to decimal.

BLUE: Input 8-bit number (0-255)
(128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 )

GREEN: Output 3x 4-bit decimal number
(8.4.2.1) - (8.4.2.1) - (8.4.2.1) --> (100 - 10 - 1)

The 3 green outputs output a 3 digit decimal number (each output is 1 digit).


It's capable of converting 40 numbers every second and has a delay (from input to output) of 13 ticks (0.325 seconds).

Enjoy!


Sidenote:
If you want to reconnect the input gates you can do that by connecting new logic gates to the blue painted logic gates on the circuit. Be sure to include the timers as you won't be able to convert 40 numbers per second without them.
1 Comments
TheGibusGuy Aug 20, 2020 @ 6:34pm 
Awesome bro.