Minecraft Maps / Redstone Device

4 function 8 bit calculator

  • 1,645 views, 2 today
  • 55 downloads, 0 today
  • 9
  • 3
  • 6
Dr_Gradus's Avatar Dr_Gradus
Level 12 : Journeyman Engineer
5
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
Tags

Create an account or sign in to comment.

1
01/20/2019 3:12 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
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?
1
01/20/2019 7:43 pm
Level 12 : Journeyman Engineer
Dr_Gradus
Dr_Gradus's Avatar

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.
1
01/19/2019 8:29 am
Level 59 : Grandmaster Engineer
Gheppio
Gheppio's Avatar
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
1
01/19/2019 4:30 pm
Level 12 : Journeyman Engineer
Dr_Gradus
Dr_Gradus's Avatar
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
1
01/19/2019 6:30 pm
Level 59 : Grandmaster Engineer
Gheppio
Gheppio's Avatar
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! ;)
1
01/20/2019 1:09 am
Level 12 : Journeyman Engineer
Dr_Gradus
Dr_Gradus's Avatar
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.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome