1
Redstone Division Help
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
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
Create an account or sign in to comment.
5
That's cool, I'm glad I helped !
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.
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.
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
If you need more bits, tell me and I'll build it for you
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
Thanks
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.
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.