1

Redstone Division Help

ImmaMinecraft's Avatar ImmaMinecraft11/15/13 10:53 pm
1 emeralds 303 5
11/16/2013 8:19 pm
MustardSheep's Avatar MustardSheep
Hey guys,
I'm trying to work out how to build a Redstone division circuit, and I've decided the way I'm going to do it is with conditional subtraction. The only problem is, I'm not entirely sure how to test if one binary number is larger than another ( if(a > b) {output} ).
If anyone could help me it would be greatly appreciated.
-ImmaMinecraft
Posted by ImmaMinecraft's Avatar
ImmaMinecraft
Level 16 : Journeyman Unicorn
3

Create an account or sign in to comment.

5

MustardSheep
11/16/2013 8:19 pm
Level 34 : Artisan Engineer
MustardSheep's Avatar
That's cool, I'm glad I helped !
1
ImmaMinecraft
11/16/2013 5:27 pm
Level 16 : Journeyman Unicorn
ImmaMinecraft's Avatar
That's even better than what I was hoping for, thanks!
I've taken a look at it and if I need more bits I'm pretty sure I can build onto it some more, but thanks for the offer.
1
MustardSheep
11/16/2013 5:59 am
Level 34 : Artisan Engineer
MustardSheep's Avatar
Hi, if you want to compare 2 binary numbers, you can use my "4-bit Binary Comparator".
If you need more bits, tell me and I'll build it for you
1
ImmaMinecraft
11/15/2013 11:10 pm
Level 16 : Journeyman Unicorn
ImmaMinecraft's Avatar
Yeah I'd rather not build a whole other set of subtractors. I'll go have a look at CodeCrafted's video and see if it helps.
Thanks
1
Jmal116
11/15/2013 10:58 pm
Level 33 : Artisan Engineer
Jmal116's Avatar
If you're already building subtractors, then you can compare them pretty easily.

If A-B is >0, then A is bigger
If A-B is <0, then B is bigger
If A-B =0, then they are equal.

The only issue with this is that you would have to build another set of subtractors, separate from the ones used for the division. If you don't want to do that, then I believe CodeCrafted posted a video a while back about, just search it and is should come up.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome