Small comment: For this ALU to be pipelinable, the repeater on the right of the "half adder" has to be 4gt, so on its second setting. This means that for 20GT of input, the output will also last 20GT.
Most useful redstone ALU video I found. Thank you. Even though I think the explanation was a bit rushed I will still try my best to fully understand this ALU.
I just want to note that at 1:53 the rerouting causes a lower layer COUT to also power the COUT of an upper layer, you can fix this by instead of using the powered block as a floor for the next layer to work around and it and make the floor for the repeater for the SUM bit a target block so it still passes through to the other side as usual
"I spent a good half hour looking at your comment trying to figure out how to do it. Working with stacked circuits is chaotic and cramped. Well, at least it worked. Time to implement a 32-bit RISC-V. Thanks for the help!"
does this (the second cca design) still work on 1.20.4? i tried it, and i had to either turn the comparator thats right after another comparator on greater than mode, not on subtract mode or i also could place a repeater instead of a target block in between these two comparators.
@@iPlayGamesX Don’t tell me the redstone hive mind managed to make it even smaller… It’s already on the edge of collapsing in-on itself (No offense, I just like to think of the redstone community as a constantly improving hive mind reiterating on everything [I do medium amounts of redstone])
@@tabcaps5819 Lol fair. I don't interact with the main community developing these conventional technologies anymore but yeah, there's constant improvement. That, and the design wasn't state of the art when I made a video on it either :P
Nah, you'd have to implement them on your own. Left shift is just A+A, right shift is usually hardware implemented tho. These ALUs are made with ORE's builder application criteria in mind, and truth be told I didn't know about right shift when I first made the video.
@@iPlayGamesXStill works amazingly tho!… km rn studying ur alu and your ram. I recently joined ore bc of Mattbatwings and you are doing so wood with learning type of content that I and other students in computational logic need to grow in our boolean!
@@Theodore001 Oh lol I'm working on a new channel with a few friends. Thanks a lot, altho it's very far from perfect. Not a fan of this old content. ORE is kinda dead to me tho. Used to be there but I quit.
@@Theodore001 I do! The channel isn’t public yet and won’t be for a few months, but I will be posting a link on here once it’s ready. We want to create a backlog.
It uses a concept called 2's complement! I suggest looking it up, there's many videos explaining it- but in practice, you achieve it by turning one of the values negative, which you do by inverting it, and adding 1 to it (or the result) in practice, this achieves an overflow of the exact amount it is negative for, and as we don't measure overflow, we achieve subtraction.
Subtraction: A inputs are normal. B inputs are inverted and carry in is on, e.g: 5(0101)-3(0011). Invert bits so 0011 becomes 1100 then turn on carry in (add 1). The answer will be 0010 (2). Subtraction only works in 2s compliment range meaning it goes from +7 all the way to -7 and negative numbers are different e.g. 2 = 0010 but -2 = 1110. Mattbatwings explains it better I am not good at explaining sorry if I don't make sense
hey there, Im a young electrical engineer or should I say, I try to engineer redstone circuits, but I've stumbled across a chinese Minecraft ripoff, now everyone calls it a ripoff so they dont even try it, but i did, and bro, Its sick, my question is, would you be so kind and make a video about it, idc what you say, but just so the popularity goes up, just so maybe more english players join the community cuz the average lobby i join is vietnamese, no disrespect here. Now I wanted to let everyone know, that I build the fastest "redstone computer" in game, obviously the games equivalent is not called redstone, but I think we can group this gaming category into redstone engineereing, cuz everyone does it in minecraft, but there were porjects in terraria, and so I want to be the first creator on actually doing it in a minecraft ripoff, cuz Miniworld (that ripoffs name) does look like it has the ptential.
well,@@iPlayGamesX you better accept the challenge then! I'm challenging all redstoners around the world for the fastest computer, no hardware acceleration aka no tickspeed manipulation. I'm creating a dicsord server for this if anyone wanna join
@@iPlayGamesX it's for any game that has those block building mechanics. Along as its not a literal digital logic simulator but an actual block building game. There aren't many minecraft ripoff I know of that have redstone. But Miniworld does. I'm challenging everyone and anyone for building a computer, in my case it's just a calculator cuz I'm dumb, to make it as fast as possible. You can use any technique, except for artificial hardware acceleration. So ive seen games on redstone computers running mijecraft inside minecraft, but they lack 1 thing: speed. Every creator uses some tickspeed acceleration mode and runs it on external servers that probably are on nasa computers, to speed up the game by 1000 + x. This is what I consider cheating. In real world you can't rly make cpus 1000x faster. So just don't use this technique. Plus I wanna prove that thus mc clone is faster, for that we can only use the basegame not some mods that literally modify the games source code, it doesn't matter whether or not you have direct acces to those mods using a built in command line. Just don't use tick acceleration, the goal is simulating hardware in the actual game to make the time measurements for which one is faster as accurate as possible.
And obviously the measurements are taken based on the calculations the system does. So you compare a 4 digit decimal calculator to 4 digit decimal calculator. Not to a computer running minecraft in minecraft
1- Its binary, if you don't know as much you have no use for the technology to begin with. Learn that before watching this video, elsewhere. 2-Jesus doesn't love me, I'm bisexual
Small comment: For this ALU to be pipelinable, the repeater on the right of the "half adder" has to be 4gt, so on its second setting. This means that for 20GT of input, the output will also last 20GT.
This is exactly what I've been looking for, thank you for making this video
Glad to be helpful! If you're new to computational Redstone I highly suggest joining ORE btw.
Most useful redstone ALU video I found. Thank you. Even though I think the explanation was a bit rushed I will still try my best to fully understand this ALU.
Yeah sorry, my old videos are quite bad. Good luck!
@@iPlayGamesX Also what are the .schem files in the description for and how do I use them
Never mind I found out how to use the .schem files. Thanks the files really helped!
@@iPlayGamesX Sorry if I'm wasting your time, if you can please explain to me if you can subtract on the second ALU design and how?
@@Bogi494 I'd appreciate if you asked future questions in my Discord btw. You invert the value that'll be negative and add carry in.
I just want to note that at 1:53 the rerouting causes a lower layer COUT to also power the COUT of an upper layer, you can fix this by instead of using the powered block as a floor for the next layer to work around and it and make the floor for the repeater for the SUM bit a target block so it still passes through to the other side as usual
Oopsie
"I spent a good half hour looking at your comment trying to figure out how to do it. Working with stacked circuits is chaotic and cramped. Well, at least it worked. Time to implement a 32-bit RISC-V. Thanks for the help!"
I just listened to this Helena Blavatsky book.
The guy reading it has your exact same speech patterns.
He's probably a fellow Slav then, I'm Slovenian! Some of our speech patterns bleed through since our language organizes words differently.
does this (the second cca design) still work on 1.20.4? i tried it, and i had to either turn the comparator thats right after another comparator on greater than mode, not on subtract mode or i also could place a repeater instead of a target block in between these two comparators.
I don't know but it should. Please take this on my Discord and feel free to send screenshots!
Isn't the AND in your alu circuit kinda useless? For carry cancel you can use XNOR and NOR, that would make it more compact.
Doesn't necessarily make it more compact, the layout for the ALU is a bit outdated tho.
@@iPlayGamesX Don’t tell me the redstone hive mind managed to make it even smaller…
It’s already on the edge of collapsing in-on itself
(No offense, I just like to think of the redstone community as a constantly improving hive mind reiterating on everything
[I do medium amounts of redstone])
@@tabcaps5819 Lol fair. I don't interact with the main community developing these conventional technologies anymore but yeah, there's constant improvement. That, and the design wasn't state of the art when I made a video on it either :P
Can this ALU also do bitwise shifts?
Nah, you'd have to implement them on your own. Left shift is just A+A, right shift is usually hardware implemented tho. These ALUs are made with ORE's builder application criteria in mind, and truth be told I didn't know about right shift when I first made the video.
thanks. this video is amazing and really helpful!
Quite old tho, keep that in mind!
@@iPlayGamesXStill works amazingly tho!… km rn studying ur alu and your ram. I recently joined ore bc of Mattbatwings and you are doing so wood with learning type of content that I and other students in computational logic need to grow in our boolean!
@@Theodore001 Oh lol I'm working on a new channel with a few friends. Thanks a lot, altho it's very far from perfect. Not a fan of this old content. ORE is kinda dead to me tho. Used to be there but I quit.
@@iPlayGamesX What channel? I heard you left Ore due to drama but do you still do minecraft computational Redstone?
@@Theodore001 I do! The channel isn’t public yet and won’t be for a few months, but I will be posting a link on here once it’s ready. We want to create a backlog.
How does Subtraction work?
It uses a concept called 2's complement! I suggest looking it up, there's many videos explaining it- but in practice, you achieve it by turning one of the values negative, which you do by inverting it, and adding 1 to it (or the result)
in practice, this achieves an overflow of the exact amount it is negative for, and as we don't measure overflow, we achieve subtraction.
@@iPlayGamesX Ik how it works but when I tried it it gave a wrong result
@@kingananas2.0 Feel free to join my Discord server and send screenshots
@@iPlayGamesX the invite is expired
@@kingananas2.0 shouldn't be on my latest videos
Great video
Thanks!
Can it do +1 and -1?
Should be able to yes, it uses 2's comp.
@@iPlayGamesX How do you add one for 2's compliment?
which design is faster
The last one, tho there are faster designs elsewhere
Does this work in bedrock?
It should. Replace the glass towers with glowstone as it depends on it being one way. Been a while since I've touched the builds in this video tho!
How to do subtraction on cca alu
invert the value you want to negate and add carry in. This works via 2's complement.
So i could just hook up an second cca?
Oh wait i got it tysm
@@Iamskulls_ Cool!
how to do subtraction?
Subtraction:
A inputs are normal. B inputs are inverted and carry in is on, e.g:
5(0101)-3(0011). Invert bits so 0011 becomes 1100 then turn on carry in (add 1). The answer will be 0010 (2). Subtraction only works in 2s compliment range meaning it goes from +7 all the way to -7 and negative numbers are different e.g. 2 = 0010 but -2 = 1110. Mattbatwings explains it better I am not good at explaining sorry if I don't make sense
I just notice you inanimate insanity profile picture 😂
Really helpfull!
Thank you!
Didn't see the comment ^^
Glad you've found it useful!
@@iPlayGamesX Do you know the ORE Server? I'm buider now. Thank you so much!
@@DoxxTheMathGeek Yeah I'm active on ORE! My disc is @ahauser1 and my ign is AhaWarrior1.
Degree level in
computer science 🚫
Minecraft ✅
Going for both! :D
hey there, Im a young electrical engineer or should I say, I try to engineer redstone circuits, but I've stumbled across a chinese Minecraft ripoff, now everyone calls it a ripoff so they dont even try it, but i did, and bro, Its sick, my question is, would you be so kind and make a video about it, idc what you say, but just so the popularity goes up, just so maybe more english players join the community cuz the average lobby i join is vietnamese, no disrespect here. Now I wanted to let everyone know, that I build the fastest "redstone computer" in game, obviously the games equivalent is not called redstone, but I think we can group this gaming category into redstone engineereing, cuz everyone does it in minecraft, but there were porjects in terraria, and so I want to be the first creator on actually doing it in a minecraft ripoff, cuz Miniworld (that ripoffs name) does look like it has the ptential.
I only and specifically do Minecraft Java edition
well,@@iPlayGamesX you better accept the challenge then! I'm challenging all redstoners around the world for the fastest computer, no hardware acceleration aka no tickspeed manipulation. I'm creating a dicsord server for this if anyone wanna join
@@CybernetonPL I'm not playing a different game. Is this challenge for Minecraft Java edition?
@@iPlayGamesX it's for any game that has those block building mechanics. Along as its not a literal digital logic simulator but an actual block building game. There aren't many minecraft ripoff I know of that have redstone. But Miniworld does. I'm challenging everyone and anyone for building a computer, in my case it's just a calculator cuz I'm dumb, to make it as fast as possible. You can use any technique, except for artificial hardware acceleration. So ive seen games on redstone computers running mijecraft inside minecraft, but they lack 1 thing: speed. Every creator uses some tickspeed acceleration mode and runs it on external servers that probably are on nasa computers, to speed up the game by 1000 + x. This is what I consider cheating. In real world you can't rly make cpus 1000x faster. So just don't use this technique. Plus I wanna prove that thus mc clone is faster, for that we can only use the basegame not some mods that literally modify the games source code, it doesn't matter whether or not you have direct acces to those mods using a built in command line. Just don't use tick acceleration, the goal is simulating hardware in the actual game to make the time measurements for which one is faster as accurate as possible.
And obviously the measurements are taken based on the calculations the system does. So you compare a 4 digit decimal calculator to 4 digit decimal calculator. Not to a computer running minecraft in minecraft
Do a vid on cache >:)
Why
xnor gate works wierd
Yeah this is a rly old video, consider looking for another one. I didn't have much idea of what I was doing when I made it.
pls next time give detail of what you add instead of just adding it so we can understand what we're doing
JESUS LOVES YOU!❤
1- Its binary, if you don't know as much you have no use for the technology to begin with. Learn that before watching this video, elsewhere.
2-Jesus doesn't love me, I'm bisexual
I don’t understand at all
Even with the stop and go it’s to fast
Rip :( Idk how to help you
@@iPlayGamesX its ok