Minecraft / Projects

4 function 8 bit calculator

infoWhat is PMCView3D? Read the Schemagic feature announcement for more info.

  • 7
  • 3
  • comment6
  • playlist_add
  • share
  • more_horiz
avatar Dr_Gradus
Level 4 : Apprentice Engineer
Hey people.
I originally posted this on the redstone subforum rather than on the projects page but DinowCookies told me to post here so I guess I guess I might as well.

World download included in most recent update if you want to look at it. There will be a book describing how to use it. It's fairly straightforward but better safe than sorry. Also i forgot to delete something from the schematic above the calculator. Just ignore it, or mess around with it if you want (it's a hex divider).

So anyway here's an 8 bit 4 function calculator I
made. It can add, subtract, multiply, and divide 2 numbers from 0-255 (0
- 11111111 in binary).

Basic overview,
It has a BCD to Binary input system which then leads into each unit and
depending on what operation is selected, the input will be saved to that
unit and calculated. The output would go into a Binary to BCD decoder
into several binary to decimal decoder to display the answer. The inputs
also go int oa Binary to BCD and a Binary to a Decimal decoder to
display the inputs on the screen. (I know this will be confusing to
people who don't know much about binary logic, feel free to ask me for
some clarification. I might at some point also make a tutorial on different components of the calculator)

Edit: image captions
Edit:2 World download included
Progress100% complete

Comments : 6

star Login or register to post a comment.

Show Comments

1 - 6 of 6

  • Jmal116
  • Level 28
  • Expert Engineer
  • January 20, 2019, 10:12 am
Looks pretty fancy! I'm not on a computer with MC right now, so I can't download it and try it out for myself. What kind of speed are you getting? Do you have different units built for each operation, or are you reusing the adders?
  • Dr_Gradus
  • Level 4
  • Apprentice Engineer
  • January 20, 2019, 2:43 pm

Oh the calculator as a whole is slow af. The components themselves are pretty fast (I'm just a lazy at bussing). I have a separate component for each operation. So an adder for addition so on so forth. I actually have them all shown in the picture gallery. The components I use individually are all based around CCA (carry cancel adders) which is an application of CLA logic with comparators and signal strength. CCA is arguably the best type of adder in mc at the moment since it is fairly compact and on average fairly fast (most CCA designs are 4 ticks per 8 bits (1 more tick every 8 bits for signal strength)). I also have a 3 tick CCA design and CCA currently is the most stable 3 tick adder design vs adders like ICE or ICA which have 2.5 ticks and 3 tick versions but aren't the best. CCA also can be used for vector operations since it uses comparators making it really useful for CPUs.
  • Gheppio
  • Level 30
  • Artisan Engineer
  • January 19, 2019, 3:29 am
Really powerful machine!
I've never built anything big like that but had enough experience to immediately recognize the CCAs before reading the captions.
Very advanced! :-D
  • Dr_Gradus
  • Level 4
  • Apprentice Engineer
  • January 19, 2019, 11:30 am
Thanks for the compliment! Honestly this isn't as hard to make as you'd think. It's just a bunch of easy components meshed together to look smarter than it actually is XD
  • Gheppio
  • Level 30
  • Artisan Engineer
  • January 19, 2019, 1:30 pm
I know what you mean, I recognize a lot of the components (adders ROMs decoders etc) and see that they are "simply put toghether"
But truth is that when complex or big machines are built things don't always go as planned, so in order to fix them and make them actually work you must still know very well what you're doing! ;)
  • Dr_Gradus
  • Level 4
  • Apprentice Engineer
  • January 19, 2019, 8:09 pm
Lol thanks for that. I still would say it's just a matter of putting things together and timing and managing the bus and working out what goes where. When it comes to these big builds, the complexity isn't in the redstone but in managing the components. Also laziness. People would just get lazy or disinterested after a while on big projects which is in my opinion is the hardest part of large builds.

1 - 6 of 6

Show Comments

Planet Minecraft



© 2010 - 2019