I love coming back to these videos after a while and FINALLY understanding how this stuff works, this adder especially always eluded my understanding. I never fully understood how it worked, and now I can grasp it!
Normally I just get the basics what a cca does and then copy a more compact design, without really knowing how it works. Your explanation is awesome. Very nice video.
I think it should also be possible to make it effectively one high stackable (2 blocks per 2 adders) which would allow for maybe 14 or 15 bit adder instead of 8. For my first try I did split the second slab tower into two to avoid interference. However this means that the inputs nor should go to both towers, which requires some creative bussing, but might be possible.
Im on xbox bedrock and i cant get the tick delay right :/ if i can put in 111 it wont work right for 255, and 8 isnt working all together but everything is wired correct :(
does not work in 1.16(i might be wrong). I followed your tutorial and at 12:09 you said that the bottom torch is always off. When I turned the xor and the carry on, the bottom torch lit up. If anyone knows what happened please reply. EDIT: I did not put the repeater on a full block and it srewed it up. Fixed now
Maybe I missed something, but how does the carry get un-canceled? Say you have 01001 + 01001 = 10010 You have to carry, then cancel, then carry again. If the cancel signal always goes through to the end, how is this handled?
Oh, I think I understand now. If the carry generate signal is stronger than the carry cancel, it won't actually cancel it, due to how comparators work. The cancel will only work if cancel is as strong or stronger than generate. That is neat! Probably should have mentioned that in the video, though ;)
This is simpler than my instant wire sticky piston design. I took advantage of the instant retraction of pistons to implement carry cancellation. The full-adder was way more cumbersome than was practical.
Well, since the concepts apply all the same regardless of what technology you're using, technically you don't even need to follow along in Minecraft, much less with the precise circuitry I demonstrate. Obviously, it'll make your life easier if you use the same stuff that I do, but there's no reason you have to.
And when you want build 16 bit adder ? Than it will be not 4 tick but 5 tick after the 8 bit right ? because you need add repeater after 8bit... :) sorry for my english
If you extend the generate and cancel lines with repeaters you lose the information about which signal is higher. So the only way is to get the carry out from the last comparator and extend it with a repeater to a generate tower again. That costs 2 ticks extra. I do have a redesign of cca (subtractor) that uses all the signal strength powers to have 16 bit output on 4 ticks but the input/output layout is not for everybody.
I don't know if this is a stupid question or not but, if you invert one of the 8 bit inputs and send a 1 through the carry in line, will the adder function as a subtractor? I would assume so because that is possible with ripple carry adders but I don't know if the carry clear functions within the wiring would prevent such a system to work.
Is there a particular reason why the XOR gates were built as the: XRBX RCCR RRRR BXXB Instead of: XRBX RCCR BRRB X = Nothing/irrelevant R = Redstone dust B = Solid Block C = Comparator This latter design has a much stronger signal, 14 since there is no cross contamination of subtraction from the secondary inputs. E.g. When A is on an B is off, the comparator at by A is subtracting 15 from 15 and outputting nothing while the comparator by B is subtracting 0 from 14 and outputting 14 and vice versa.
kiraPh1234k several reasons. First of all signal strength isn't that big of a deal for this design because the signal is immediately sent into signal extending devices. The other two reasons are that you need the OR of the inputs for the CC signal and that you need to add repeaters to power the blocks which would be extra delay.
Great video, I might fire up Minecraft someday again. I also loved your programming videos, do you think you'll keep doing those too? Vulkan is out, and could be a good subject Either way, great to see you back. Your absence even on GitHub had me bit worried.
That's true. However, the adder shown in this video is 4 ticks. Also, in my opinion, 3 tick CCA designs aren't yet refined enough to really be practical for any more advanced purposes like ALUs, multipliers, dividers, etc. etc. I might show them off at some point, but for now my focus will be with more traditional CCA designs.
Ernestas Viskontas 3 ticks is nearly impossible though. Because the least amount of ticks to make a generate is 2 + 1 tick for carry cancel, plus 1 tick xor gate. correct me if I'm wrong
That's why you have to do something else. You compute the carry and its inverse both in parallel, and becuase you have to use comparators you will also be able to disable those comparators. All you have to do is disable the right comparator in a short amount of time. It's been done. The first working 3 tick solid CCA has been made just last week or so.
I used this instead of mcedit /clone (first coordinate) (~[to 2nd coordinate] ~[apparently -1] ~[to 2nd coordinate]) And then as destination ~~~ (where i stand.)
as someone who is beginning to understand logic and redstone, this type of stuff is insane. please make more basic explanations, not this video, this video eplains what its trying to perfectly. make something more basic tho like how adders work and the different type of adders represented in minecraft, and how binary counting works represented in minecraft in general. i always feel like i half understand because i dont quite get how an adder adds, yk? and when i look it up it doesnt exaclty translate visually to minecraft.
bennyscube take a look at the computer I built on Minecraft Xbox one edition. you will know I'm crazy for building all that redstone without world edit roflma
I love coming back to these videos after a while and FINALLY understanding how this stuff works, this adder especially always eluded my understanding. I never fully understood how it worked, and now I can grasp it!
the iconic "cut off your last words for the ending". I missed that in your last video
i literally cant belive this guy was uploading less then a year ago
Bro…
holy crap...
i literally cant believe this guy was uploading 6 years ago
Holy shiiiiiiiiii…….
For those how are in newer versions, don't forget that the dot of redstone acted like the cross.
Normally I just get the basics what a cca does and then copy a more compact design, without really knowing how it works. Your explanation is awesome. Very nice video.
Glad to see you back!
BENNY YOURE A GOD. You were the actual person who fought me how to make complex red stone machines and it is a great hobby to have thanks!
xXGigaamonsterXx fought you?
yes@@cullenl2508
Hope you enjoyed, hope you learned, and I'll see you ne
Omfg yes! Youre back! Im so glad to see you re back!
Doesn’t the signal run out at the top for an 8 bit adder because the slab tower is 16 blocks long?
Yes, but you can put a repeater coming out from the carry out and input it into another one for a 16 bit
I AM SO GLAD YOU'RE BACKKKKK
I think it should also be possible to make it effectively one high stackable (2 blocks per 2 adders) which would allow for maybe 14 or 15 bit adder instead of 8. For my first try I did split the second slab tower into two to avoid interference. However this means that the inputs nor should go to both towers, which requires some creative bussing, but might be possible.
Thanks a lot! This helped me a ton. Btw, we need you, you've disappeared for like 3 years.
BENNY YOUR BACK!
Nice video! Keep it up!
Im on xbox bedrock and i cant get the tick delay right :/ if i can put in 111 it wont work right for 255, and 8 isnt working all together but everything is wired correct :(
does not work in 1.16(i might be wrong). I followed your tutorial and at 12:09 you said that the bottom torch is always off. When I turned the xor and the carry on, the bottom torch lit up. If anyone knows what happened please reply.
EDIT: I did not put the repeater on a full block and it srewed it up. Fixed now
As a ps4 player 14:11 was a very dreadful moment of hatred against consoles not allowing mods...
Maybe I missed something, but how does the carry get un-canceled? Say you have
01001
+
01001
=
10010
You have to carry, then cancel, then carry again. If the cancel signal always goes through to the end, how is this handled?
Oh, I think I understand now. If the carry generate signal is stronger than the carry cancel, it won't actually cancel it, due to how comparators work. The cancel will only work if cancel is as strong or stronger than generate.
That is neat!
Probably should have mentioned that in the video, though ;)
the cancel comparator has a weaken side input thus having a non 0 output.
the proccess works but when i paste, a fairly big part of the redstone is just gone, yes i used -a
Would love to see a 64-bit version of this in division mode :p
You are evil...
The video keeps cutting off at the beginning
Help
This is simpler than my instant wire sticky piston design. I took advantage of the instant retraction of pistons to implement carry cancellation. The full-adder was way more cumbersome than was practical.
My boy is actually back :)
How do you make it so that you can place down upside down slabs from any direction?
On the ORE server, you can hold a slab in your hand and use the /slab command.
I have problems with the position one command, it says that it doesn't exist, can u help me?
That's mod.
Would observer blocks be of any use here?
ComputerCat yes but you would need to redesign the base of the carry logic
How do I do the copy and paste on ps4
To follow throught the rest of this series, do we have to use a CCA?
Well, since the concepts apply all the same regardless of what technology you're using, technically you don't even need to follow along in Minecraft, much less with the precise circuitry I demonstrate. Obviously, it'll make your life easier if you use the same stuff that I do, but there's no reason you have to.
Thank you Benny :D
Evan Samano no and I use CSA as they are always 3 ticks even if they are 10000000000000 bits long
And when you want build 16 bit adder ? Than it will be not 4 tick but 5 tick after the 8 bit right ? because you need add repeater after 8bit... :) sorry for my english
That's true of this adder, and every other adder design I know of.
If you extend the generate and cancel lines with repeaters you lose the information about which signal is higher. So the only way is to get the carry out from the last comparator and extend it with a repeater to a generate tower again. That costs 2 ticks extra. I do have a redesign of cca (subtractor) that uses all the signal strength powers to have 16 bit output on 4 ticks but the input/output layout is not for everybody.
Anyway, I am happy you are back! :)
bennyscube PPAs don't need it until you get to 32 bits (assuming you have an efficient design)
jUsT uSe 0-tICk PiStoN LoGiC
Over 50% of Benny's videos cut out his voice at the end.
James Nguyen and that matters?
its like the sopranos
Benny don't leave us ever again lol
HE'S ALIVE!!!!
But the carry line will need repeaters to not get drained of power...?
Can you make a 16-bit version of this?
Why have i built this 11 times over and still is not working😢
I don't know if this is a stupid question or not but, if you invert one of the 8 bit inputs and send a 1 through the carry in line, will the adder function as a subtractor? I would assume so because that is possible with ripple carry adders but I don't know if the carry clear functions within the wiring would prevent such a system to work.
Yea
The carry in doesnt work, what can I do ??? Plz
The signal doesnt go to the top
You can extend it using the snow, if you are doing more then 8 bits, do it more then once
Benny, is there any way to expand this past 8-bits? I’ve tried but the cancel tower doesn’t reach all the way up.
You can expand the carry tower by one in width, then put a repeater. But I figure that the extra tick is unappealing so...
putting a repeater is useless
@@thomasdelapena9490 How? There are 2 towers and for one of them there's not enough space.
I cant do 15 + 1 or 30 + 2 and so on. I think the carry signal gets weaker than the cancel signal and breaks...
i think you built it wrong my guy, i just tried the same two additions and they worked on the one that i made
how does one stack this Adder?
MrObsidy you stack it
AmazingGamer123 -Lels that doesnt work, 9 bits and afzer that the signal is too weak
@@ampericus The magic of repeaters...
@@vladimirlucifer4566 I know, but it looks really sketchy and doesn't feel right.
@@ampericus Yeah. Not exactly the best way.
Is there a particular reason why the XOR gates were built as the:
XRBX
RCCR
RRRR
BXXB
Instead of:
XRBX
RCCR
BRRB
X = Nothing/irrelevant
R = Redstone dust
B = Solid Block
C = Comparator
This latter design has a much stronger signal, 14 since there is no cross contamination of subtraction from the secondary inputs. E.g. When A is on an B is off, the comparator at by A is subtracting 15 from 15 and outputting nothing while the comparator by B is subtracting 0 from 14 and outputting 14 and vice versa.
kiraPh1234k several reasons. First of all signal strength isn't that big of a deal for this design because the signal is immediately sent into signal extending devices. The other two reasons are that you need the OR of the inputs for the CC signal and that you need to add repeaters to power the blocks which would be extra delay.
After I built it I realized that we needed the OR/MAX output of the inputs.
if i type 2 it gives me 2 and a 3
BENNY'S BACK!!!!!!!!!!!!!!!
Hey Benny! Saw you on ore. :D
Anyone else here because of matt?
Yup, still trying to find a 4 tick CCA
I'll make this later. :D
My carry isn’t working
Me too
Great video, I might fire up Minecraft someday again. I also loved your programming videos, do you think you'll keep doing those too? Vulkan is out, and could be a good subject
Either way, great to see you back. Your absence even on GitHub had me bit worried.
how many ticks is this adder?
4 ticks, and completely synchronized outputs.
CCA is 3 tick capable at this point.
That's true. However, the adder shown in this video is 4 ticks. Also, in my opinion, 3 tick CCA designs aren't yet refined enough to really be practical for any more advanced purposes like ALUs, multipliers, dividers, etc. etc. I might show them off at some point, but for now my focus will be with more traditional CCA designs.
Ernestas Viskontas 3 ticks is nearly impossible though. Because the least amount of ticks to make a generate is 2 + 1 tick for carry cancel, plus 1 tick xor gate. correct me if I'm wrong
That's why you have to do something else. You compute the carry and its inverse both in parallel, and becuase you have to use comparators you will also be able to disable those comparators. All you have to do is disable the right comparator in a short amount of time. It's been done. The first working 3 tick solid CCA has been made just last week or so.
this is (sadly) my first time learning carry cancel... it reminds me a lot of instacarry actually.
I used this instead of mcedit
/clone (first coordinate) (~[to 2nd coordinate] ~[apparently -1] ~[to 2nd coordinate])
And then as destination ~~~ (where i stand.)
I did that but it keeps moving it off to the side
omg that's genius
does this work on PS4?
Edit: Nevermind, I fixed it. It definitely does
How?
adding -a isn't doing anything to //paste?
Hey benny, sadly I'm not in the video! :(((((
Ign: EEVV
EEVV! It's ya boi Cube.
EEVV!
Hello!
This is black magic... HOW????
as someone who is beginning to understand logic and redstone, this type of stuff is insane. please make more basic explanations, not this video, this video eplains what its trying to perfectly. make something more basic tho like how adders work and the different type of adders represented in minecraft, and how binary counting works represented in minecraft in general. i always feel like i half understand because i dont quite get how an adder adds, yk? and when i look it up it doesnt exaclty translate visually to minecraft.
10:45
thanks
This does work on bedrock edition if anyone is wondering
it does
Nice
CCA adder does not work on pocket edition, trust me I tried
BENNY!!!
you sound like stolas from helluva boss
bennyscube take a look at the computer I built on Minecraft Xbox one edition. you will know I'm crazy for building all that redstone without world edit roflma
Retro Walkthrough I built a 4 bit calculator.... on pocket edition...
that's even more insane LMAO, have you seen the one I built on my channel, was it more redstone than that?. I showcase the whole build on tutorial #1
im doing this without worldEdit
edit : nvm i am using world edit
is there a way to do it without worldedit?