Sequential Redstone Devices - LRR #8
Vložit
- čas přidán 8. 06. 2024
- In this episode, we create a toolbox of sequential devices, such as registers, counters, and more.
Patreon: / mattbatwings
Discord: / discord
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mat...
World Download: (JAVA 1.18.2) www.planetminecraft.com/proje...
Thank you @Sloimay for help with the program counter.
-------------------------
Want to get more involved in the logical redstone community?
Learn Logical Redstone! • Logical Redstone Reloaded
Open Redstone Engineers (ORE): openredstone.org/
0:00 What is a Sequential Circuit?
1:05 General-Purpose Register
2:11 Ripple Counter
4:34 Synchronous Counter
7:16 Synchronous Counter w/ load
7:43 Shift Register
8:56 Shift Register w/ load
9:29 Bi-directional Shift Register
10:32 Ring Counter
11:09 Accumulator
12:19 Memory Bank
13:50 Hex Memory Cell
14:18 Hex Incrementer/Decrementer
14:54 Subscribe!
Music (in order):
LitKidBeats - GOOD VIBES • [FREE] Happy Type Beat...
Harris Heller - Golden Age • Golden Age
Harris Heller - Plethora • Plethora
Prnv - Happy High • Happy High || happy lo...
Harris Heller - Guilty Spark • Guilty Spark
LAKEY INSPIRED - Chill Day • LAKEY INSPIRED - Chill...
Sascha Ende - Finger ins Ohr • Sascha Ende Finger ins...
Infraction - Photograph • Vlog lo-fi Anime Fashi...
Harris Heller - Meteor Binge • Meteor Binge
Harris Heller - One More • One More
Harris Heller - Iridescent • Iridescent
Harris Heller - Tokyo Rain • Tokyo Rain
Milky Wayvers - Love in Japan • Love in Japan
Creo - Place On Fire • Creo - Place On Fire - Hry
i can't believe they added computers from minecraft to real life
isn't it from real life to Minecraft
I think it was a joke; but you're correct.
LMAO 11th liked before it blows up
@@blackhole37what? No, computers came from Minecraft
@@blackhole37 -🤓
You don't realize how revolutionary copper bulbs are, 'till you watch this series and realize how much compact most of the circuits shown can be. I'm already beginning to plan a redstone computer build thanks to this series! Bro, you're a legend!
RIP copper bulb
@@drewprice9284 wdym, they still function like that
@@dinoeebastian they changed some of the features they made them cool
@@drewprice9284 yes, but the feature they mentioned in the comment still exists
@@dinoeebastian yeah you’re right
Ring-Counters are named that way because they round back a bit. So you can build loops out of them. The most famous ring-counter is a watch. A watch has 12 destinct states and a clock of one hour.
Second famous would be early loops in computers. They had a ring register of instructions. The final instructions was a conditional branch between doing nothing and doing the loop again. This type of automation is still used in industrial automation and became the for and while loops we know in programming today.
I think the Ring-Counter is also called "Barrel-Shifter" (and the operation is often called "Barrel-Rotate").
This name made more sense to me, as I can imagine the bits lining the inner (or outer) surface of the barrel. Rotating the barrel rotates the bits inside.
Hope this helps people to understand what the Ring-Counter / Barrel-Sifter does. :)
I'm pretty sure the name barrel shifter comes form the fact that it is kind of the opposite of a ring counter because it can do any amount of shifting necessary all at once (a.k.a not sequential logic, but combinatorial) as opposed to the ring counter which is sequential a.k.a it takes multiple presses of the button to shift by a certain amount. Wikipedia seems to agree with me but i don't know how much that's worth.
Love the series man, watched the whole last series and went from knowing nothing about logical redstone to building a display with a keyboard, I'm extremely fascinated and intrigued by redstone and I truly love it. Can't wait to learn new version redstone tricks and see the differences between then and now redstone(if any) Can't wait for the next one
Notice how multiplying a binary number by 2 (aka 10 in binary) has the effect of shifting it left one bit, similar to multiplying a decimal number by decimal 10 (which is just adding zero to the end)
nerd
@@Boltkiller96or you're afraid to admit he's 10x smarter than you
@@Boltkiller96 I can smell the cap from here
@@Boltkiller96 ok
@@nuno9733 ok
Just when I was looking to the older series to figure out how displays work, yet another LRR pops up. What a pleasant surprise.
Logical *Ledstone* Reloaded lmao
lie indeed
@@Golem642 Lmao no idea how I missed that, literally in the title of the video.
I love how these come right as I need them!
dc
The reason ring counters are called what they are is that you could represent a shift register like a number line, moving each bit one place along it until it overloads (running off the end of the line). You could prevent this by taking the same line and connecting the start to the end, forming a ring. It works the same way a clock does, where once it passes 12 the hand doesn't fall off, it's just back at 1.
Also the way the signal moves along the lamps has the same topology as a circle
@@rubensf7780 Yes, the easiest way to build it in real life would be in a ring, too.
This was the only video on CZcams I could find to teach me about ripple carry adders, I was trying to make one in another game.
8:20 It might be worth noting that shifting an odd number downwards will always round *down* as the last bit (that would be the first "decimal" place) is lost. Could see this causing a headache for people who don't realise.
Example:
0011 (3) -> 0001 (1) rather than 0011 -> 0001.1 (1.5)
PS: I suck at words. I invite anybody to try and make this more concise.
Your channel has encouraged me to work on my logic processer in Minecraft
Thanks for all your amazing efforts and incredible videos. We really appreciate you and all that you share!
u just want views
@@Boltkiller96 I apologize friend. I'm just a nice person that knows that people suffer with mental health. I personally like to remind everyone that they are appreciated. The fact that people being nice bothers you and you think there is some hidden meaning underneath speaks volumes about you as a person. Maybe you just need to be a little more respectful and considerate to yourself, before you consider making disrespectful comments in general. Good luck on your adventure to become a better person friend.
bruh not expected
The adder circuit would be considered a simple accumulator. A lot of RISC CPUs use accumulators for their arithmetic to simplify the instructions. Designing a CPU so that any register can operate with any other register and then output the results to any other register is certainly doable, but it's complex. The accumulator design simplifies it so any arithmetic/logical operation has to use the accumulator register as one of the inputs, and the output will always be written to the same accumulator register.
As an example, say the accumulator is register A, and there's another register B. You want to add 3 + 2. You'd write 3 to register A and 2 to register B, then use the assembly instruction "ADD B". (Since any ADD operation uses A as an input, there's no need to say "ADD A,B" as an assembly instruction, so it gets simplified to "ADD B".) After that instruction is executed, register A contains 5.
I have always needed those circuits, and couldn't find them. Great video
Thank you for making these videos, it really helps out, now I can impress my friends with something interesting 😂😂
i love the way how you explain logic redstone.
i'm really learning from the video's.
7:04 Teaching the Redstone how to "JUMP" I see... ;)
Aah... Here comes JSR!
To make the accumulator into an automatic counter you dont need to attach a clock to it. Just add 1 through the carry in and remove the torch that connects the button to the glass tower that has the repeater lock. If you do that it starts counting up without you doing anything! Idk if it works for other adders though, i am using the cancel carry adder shown in the LRR 4#
This video is helpful 😅 thx Matt
wow mattbat u r so smart and good at escape rooms
hehe
The purple adder register reminds me of an op amp wired to function as an integrator, where the integral of a measured signal accumulates based on the rate of change of the input. So perhaps it should be called an integrator? Or calculus doohickey?
And ring counters are called that because of the physical construction of using vacuum tubes to store volatile data back when it was first conceived, and the fact that they cycle the data like a rotating ring. Handy when dealing with microcontrollers that put out a repeating chain of outputs that isn't a consistent on-off cycle
5:35 Yey) I finished this 'challenge', i made it) Big, but woking.
Now i finally understand how multipliers works with redstone
i was waiting for this
You deserve more view. Really
6:02 I can't believe that I have spent 2 FREAKING HOURS building a STUPED horisontal sencrnous counter and yet another hour building another vertical one and both of them where HUGE and I thaught to my self "surely that guy wouldnt't have come up with a much smaller one" and when I came back, I felt like some of my vains are about to blow up, I mean that my counters used about 20 blocks per degit and I only added a reset button not even a loader. That was really frustrating, and most of that time went in vain because I was using an unraliable T flip flop and when I realized so I had to make one up and start from scratch because yours don't work on bedrock minecraft.
I'm especaly intrested in hex constructions. thanks for sharing
If I had to guess, I'd say the Ring-Counter is called that because it loops from the largest bit to the smallest bit sort of like if you had a ring of numbers that shift, although the counter part is a little strange, but it does make some sense
This is already very impressive but now I am thinking, what would you be able to do with the LaserIO mod and its redstone cards
welp... time to start over on my redstone computer, again... anyway thank you so much for putting this out its going to be a life saver thank you!
u only want views
@@Boltkiller96 no.. i am building a redstone computer but the stuff in this video improves so much of it i might as well be restarting.
@@Boltkiller96 I'm sure there are better ways if this guy "only wants views".
@@Boltkiller96lol why else would anyone post videos on youtube
@@masela01 comment != video
The reason for calling it a ring counter is that the data loops around to the end of the counter, and then back to the beginning in a ring fashion.
Also, that thing that some people call an accumulator is actually called an accumulator.
Is it embarrassing that I feel smart for having found the ring counter before I ever saw it in any video? 😂
Built a working calendar like a year ago, used it for counting the months. After I saw your video, I definitely have to revisit that project and switch out some circuits. At the moment it's one big, blocky mess... but hey, it works!😂
I noticed that an advantage to ripple counters is that you can put an input at any point and it will always proceed to add from that exact point instead of needing something from the base. That doesnt seem to be true with a synchronous counter however
YEES another redstone vid
who else got overwhelmed after the accumulator part. No Offesnse Matt.
"loading the register" is very backwards to me. The word "load" in CS contexts is very very heavily connected to getting data *out* of the storage. In a typical assembly, you conceptually load *from* the memory, not into the register. When a game loads an asset, it conceptually loads *from* the storage drive, not into the memory.
You could get away with "the register loads", but only if the other control signal's name is able to match that phrasing. The CPU can write to and read from a register, or the register can load from or assert to the bus(es).
14:53 I’ve heard that circuit is called a “pulse extender”.
What a time !
They're called ring counters because the data loops in a circle... you know, the shape of a ring 😁
they are also called barrel shifters
@@Boltkiller96 It's not a barrel shifter because it's sequential. From what I've searched, barrel shifters are combinational, meaning (according to Matt) that they don't depend on their current state, only on the exact inputs. The ring counter, however, depends on its current state to be able to cycle.
Yeah it's an accumulator, though it would normally be connected to an ALU instead of just an adder.
14:01 three is stored in the cells
I can't wait until you have a video card in redstone. That'll be peak gaming. I wonder if worlds from actual MineCraft will work in ClassiCube, because that's all I have.
Is it possible to automate the process of adding numbers in the Accumulator, enabling it to tally multiple values without manual input? Oh and also, can the system be modified to support a 16-bit counter rather than the standard 8-bit configuration?
I have a multiplier that just repeatedly adds numbers and am now building a faster one with both upwards and downwards shift registers I kid you not it is the exact same design as yours I build it on my own yesterday my load function is completely different but the core is the same
matt the science guy
Bro, you made in 4 videos all the sh&t my studies tutor was ment to teach us lol
Pretty sure they have another name for that last contraption, it's RAM isn't it?
6:50 can’t you make it more than 8 bits if you build the glass tower downwards also? Putting the input in the center?
אני מאוד אהבתי את הסרטון תמשיך את הסדרה בבקשה
What language is that
@@rubensf7780 Hebrew
@@rubensf7780hevxmanese
So what do *you* call it when you connect the ends of a line?
Do you call it a triangle counter??
Heyhi! I love these tutorials and it has helped me a lot to understand all this a bit better - but could you please explain how the circuits work a bit more in detail? I'm just copying them and I try to understand how they work, but in the recent few that's getting harder and harder.. with the CCA I could still mostly follow, with the full explanation of why and how; but with the adder I'm kind of just lost, and while I can understand some parts of it it's just a bit overwhelming to me.
This might also just be a skill issue on my end of course - more explanations would be nice but I also get if it's just that I'd need to understand better. Either way, still thanks for making these
Hi - thank you for the suggestion! Two things - first, are you talking about the adder in the accumulator? If so, I don’t know how that adder works either lol. it’s not my design, it’s a 3tick design by Don. Moreover, it’s not always necessary to know exactly how something works, sometimes an abstracted view works just fine. But if you prefer, you could swap out the dons adder for an adder you better understand, and the accumulator will still work.
And second, I have a discord server if you’d like to ask questions or talk about circuits with other redstoners. The link is in every videos description. Good luck!
Cool!
1:06 Literally showed me how to make new braincells that I lost
He should make Conway game of life
I can't figure out how to hook up redstone to the hex incrementer/decrementer. I'm wanting to increase a value each time a pulse is received.
Bro teached me how to make computers in minecraft. Thank you
Maybe ring counters increment in a modular ring?
Great video, however I'm unable to get the instant counter to work. Maby it's because I'm on bedrock, but I wouldn't think any of the mechanics would work different with that specific build. The main thing is the type of t-flipflop you use for it isn't working for me.
Hi. Can you create a lap counter in vertical? I'm create a oval track and want everybody the lap number. obs: the race have only 7 laps. Thank you
I have never heard of the term Ring Counter but Barrel Countet instead
Nice
Yaaaaah
Sequential Redstone Is a NVme (Non Volatile Memory Express)
12:19 (saving this for my tomorrow self. ignore)
can someone please tell me where to find a tutorial on how to build a synchronous counter w/ load (program counter)
The Fact He said D latch 😂
How do you build a circuit which counts down?
yes
Question: Why do people use barrels to set signal strengths. Why not use hoppers?
LLR on a monday?!? I'm down
love the series! altho on the making a computer video (where you made the "Bat Box"/"BatPU"), you posted the github to the assembler, but then you didnt tell us how to use it. you also didnt recommend it. why tho?
When you reload and see a new video from a minute ago: :DDDDD
10:48 Isn't it just a barrel shifter?
I think this is about sequential circuits
matte textured bat wings
Hey, i have a tip
I think it would be a lot easier to remember what each circuit does by showing an aplication for it. I know it is asking for a lot, but i would appreciate it a ton
The ring counter isn’t working for me. Any help?
YOOOOOOOOOOOOOOOOOO
What is the difference between a ring counter and a barrel shifter?
Different names, same thing.
I miss the old series' instructions on how to build things. I don't want to have to switch between worlds every time I need to make a tweak to a circuit
I made a completely silent binary counter in bedrock edition, that is infinetly stackable
W
I tried using ur link to join the discord but it wont work pls help i rlly wanna join
Hi Matt. It seems neither of the counters seem to be working for me. That may be because I'm on bedrock edition. But if you could do a bedrock counter, or just go into the counters with more details, that would be amazing. Thanks. Xand.
🥵My brain blowed up. I'm french, so I need to translate in my head AND concentrate for trying to understand. At the beginning it was easy, but it gets harder at every video.
cool
49th like
a almost got confused @4:35 I first thought you said an a asynchronous counter.
anyone else?
i dont think the internet gives you enough credit for breathing. AMAZING CONTENT
Imagine explaining stuff in minecraft better than my professor
I think the "ring" is because it loops back
mojang: oh no theyre putting in so much effort to make computers and all
*proceeds to add a computer chip block with programable functions*
First 1K 🔥🔥🔥
0:34 i hate that this is just a mealy automaton even though moore automatons are also very popular. bad research
(This is a joke, i love this series)
Video idea-
Make a grid of 4x4 blocks, each block representing different color, for each block make a block swapper which changes through the different shades of the same colours, make it a bit large, maybe 6x6 display of 4x4 blocks means if 1 4x4 grid is 1 pixel. now make it controllable and make an led screen in minecraft redstone
POV: Ripple counter go boom until 1.21
Not working for me, i am java player. Is i mistake something??
Make a jumbotron broadcasting live footage
corrections:
its not a ring "counter", its a ring/barrel shifter
nerd
@@reserrr5225 bruh
Same goddamn thing!?
@@Boltkiller96 its cause you said it on a other comment lol, i mean no harm mate
First comment, second view, second like!
Awesome vid btw
Ur not first