The Register File - Let's Make a Redstone Computer! #3

  Рет қаралды 66,853

mattbatwings

mattbatwings

Күн бұрын

Пікірлер: 299
@mattbatwings
@mattbatwings 4 ай бұрын
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/mattbatwings You’ll also get 20% off an annual premium subscription.
@bertoxx_yt
@bertoxx_yt 4 ай бұрын
First🔥
@wueffiYT
@wueffiYT 4 ай бұрын
yo matt
@Bytzoid
@Bytzoid 4 ай бұрын
third lol
@Realduokidsfan
@Realduokidsfan 4 ай бұрын
Matt nice video of register files I’ve been learning it for years
4 ай бұрын
fr
@computergician
@computergician 4 ай бұрын
Making a physical computer IRL, by manually fabricating all of its components: 😣 Making a redstone computer: 😎
@xoxogamewolf7585
@xoxogamewolf7585 4 ай бұрын
says the guy using a physical computer
@computergician
@computergician 4 ай бұрын
@@xoxogamewolf7585 Well, I didn't have to build all of its components.
@atom1kcreeper605
@atom1kcreeper605 4 ай бұрын
Done it before tho
@dk4kja8
@dk4kja8 4 ай бұрын
@@atom1kcreeper605 cap
@UnfussyLeaf2440
@UnfussyLeaf2440 4 ай бұрын
idea, make this redstone computer once done make it hold up to 16kb of memory
@mitchratka3661
@mitchratka3661 4 ай бұрын
6:25 BRO, I'm taking systems architecture and learning about registers for the first time, the $zero/$0 register being non writeable makes SO MUCH SENSE; that's why it's constant, that's why it's at the 0th position, THAT'S HOW THE DECODER WORKS. I love you, I don't know why professors have to overcomplicate things so much
@nekrugderzweite8298
@nekrugderzweite8298 4 ай бұрын
for real.
@Demopans5990
@Demopans5990 4 ай бұрын
And some trivia NULL in C is just 0
@mitchratka3661
@mitchratka3661 4 ай бұрын
@@Demopans5990 that's good to know, actually explains an example my professor did when testing some pointers, she got 0 then nil, so I guess those were the same output lol
@JonahDyer
@JonahDyer 4 ай бұрын
This... Does put a smile on my face.
@nadie9058
@nadie9058 4 ай бұрын
@@Demopans5990 Technically it's typically (void*)0, or a pointer to some data at address 0, just so that the compiler knows it's checking for an actual null pointer. But in C it's basically the same so it doesn't really matter.
@Imperial_Squid
@Imperial_Squid 4 ай бұрын
I like how much of this video focuses on how you represent data, and the fact that 0 and _nothing_ are meaningfully different, even if you might think to represent them in the same way (This is an important consideration in data science, where missing, invalid, and zero are all potentially similar looking values, not to mention stuff like the reason the data is missing being important)
@julianmallog5262
@julianmallog5262 4 ай бұрын
Sometimes there's a fourth one: *any*
@artemis.nnnnnbbbbb
@artemis.nnnnnbbbbb 4 ай бұрын
the NULL strikes again! also passing a number to a pointer type and ignoring warnings is something I see people do a lot as beginners
@baconheadhair6938
@baconheadhair6938 3 ай бұрын
Yeah, distinguishing from disconnected and 0 is important in real life circuitry as well
@lythd
@lythd 4 ай бұрын
if anyones wondering dual read is very useful to to provide both inputs for the alu
@msclrhd
@msclrhd 4 ай бұрын
Specifically it allows you to provide the inputs in one clock cycle instead of 2 and having to use a temporary buffer to store the first register value.
@hyper_lynx
@hyper_lynx 4 ай бұрын
This series is so cool! I've seen the "NAND to Tetris" concept done a bunch of different ways but pairing it with Redstone (especially as fluently as you do) is very cool to see.
@KiwiRedstone
@KiwiRedstone 4 ай бұрын
Thank you for breaking down the register file dual read functionality with the redstone tricks. I spent like 2 hours trying to understand it from your first computer world download and ended up making my own anyways because it is a headache trying to understand it without knowing why it was built that way.
@deltamico
@deltamico 4 ай бұрын
Is he not explaining it on a new version?
@KiwiRedstone
@KiwiRedstone 4 ай бұрын
@@deltamico Yeah, that's what I said. What I meant is the computer he made from year and a half ago. Basically, I downloaded that and tried to break it down without any explanation. So that was a lot of headache.
@chaxiraxi_ytb
@chaxiraxi_ytb 4 ай бұрын
This series is just fire. I just joined channel membership, you deserve it
@gancuber4204
@gancuber4204 Ай бұрын
bro got priority replies 💀👍
@NitFlickwick
@NitFlickwick 4 ай бұрын
Loving this series. It’s been 25 years since I studied computer architecture, so it’s fun to get the refresh!
@RecreationallyCynical
@RecreationallyCynical 4 ай бұрын
Register files typically use a separate write-enable input in addition to the clock that the control unit will activate for the write cycle. On real systems the clock is always sent to components that use it, so the write-enable is used to prevent the register file from constantly writing. Some systems (usually microprocessors) will do something called "clock gating", which is to disable the clock for various components to reduce power consumption, but it takes careful consideration to ensure you do it correctly as it can introduce timing issues from gate delays. Thus, for simplicity, devices just use a write-enable input.
@custom3828
@custom3828 4 ай бұрын
I always wondered how you can create a register file.
@rolandleslie2564
@rolandleslie2564 4 ай бұрын
Really?
@ChaksFM
@ChaksFM 4 ай бұрын
​@@rolandleslie2564exactly what I'm asking myself 😂 simplest part of the CPU
@custom3828
@custom3828 4 ай бұрын
@@rolandleslie2564 Can I not be curious?
@custom3828
@custom3828 4 ай бұрын
@@ChaksFM like seriously, I’m wondering why the design is like this
@Vampire-Catgirl
@Vampire-Catgirl 4 ай бұрын
Not everyone knows how computers work guys
@JuleMHC
@JuleMHC 4 ай бұрын
yessss, finally a new video of this series
@xPlay5r
@xPlay5r 4 ай бұрын
The coolest computer science teacher that ever exists nowadays! Love ur vids!
@mehradzeinali9703
@mehradzeinali9703 3 ай бұрын
please continue this design, idk why many computer building series stop after making registers.
@GrowMode_YT
@GrowMode_YT 4 ай бұрын
Who needs college when i can watch this series
@springle_pringle
@springle_pringle 4 ай бұрын
Exactly!,
@redyau_
@redyau_ 4 ай бұрын
I have a digital technics course this semester, so this couldn't have come at a better time!
@ryanzerhr010_Dev
@ryanzerhr010_Dev 4 ай бұрын
True
@nadie9058
@nadie9058 4 ай бұрын
I hate people thinking like this. It's great that we can have such valuable resources like this series for free, but they don't replace a formal education. I know it can be tough and boring, but I wouldn't trade the foundation and skills I got in university for some courses on youtube.
@harsh_singh332
@harsh_singh332 4 ай бұрын
​@@nadie9058I agree 💯
@FernTheRobot
@FernTheRobot 4 ай бұрын
It just dawned on me that these are components of a computer. They don't need to be powerful on their own. They only need to be versatile enough so that when combined they can do *anything*. If you can remember things, do calculation with them, and do conditional jump, then you can make Tetris, Minecraft, prime number finder, *everything*. How cool is that?
@legofan431
@legofan431 4 ай бұрын
I'm really in love with this series, you reall put a lot of effort into every video. Keep up the great work!
@SSN_
@SSN_ 4 ай бұрын
9:40 if your trying to recreate this on bedrock, use slabs instead of the orange glass tower and fill all the read barrels with 2 stacks of items
@ThatGuy-ol3mw
@ThatGuy-ol3mw 4 ай бұрын
Thank you so much
@erikhaag4250
@erikhaag4250 4 ай бұрын
This series gave me the kick in the pants required to finish a ~8 year dream to make my own computer on circuitverse, so thanks for that.
@hyarin9460
@hyarin9460 4 ай бұрын
I just finished a logic design course, and it's so fun seeing it in redstone!
@spacenoodle8207
@spacenoodle8207 4 ай бұрын
So far these videos genuinely helped me a lot to understand some stuff I learn at uni. It's so useful to have an example in front of you and see how it works, and not just read those words from a dusty textbook. I find it a little sad tho, that a youtuber is better at teaching than half of our professors Thank you for this video, it's amazing
@Ajamtroye
@Ajamtroye 4 ай бұрын
I know your videos make less views, but pls this is what we really need and thanks for all your teachings vids
@avanittersum2156
@avanittersum2156 4 ай бұрын
This series is incredible! i understand everything so far. Representing everything in redstone makes everything incredibly aproachable. Everything feels very intuitive.
@JunxiSalamander
@JunxiSalamander 4 ай бұрын
Mattbat: Uploads again The entire CS community
@artefox0
@artefox0 4 ай бұрын
You are cringe
@Alex-cx2ql
@Alex-cx2ql 3 ай бұрын
I love this series. You explain the functionality of the build very well even if it get kinda deep and complicated.
@Patrick-h7s1v
@Patrick-h7s1v 3 ай бұрын
matt i just want to say thank you i wanted to learn redstone siince i was a kid but never unterstood it last year i started again i learned so much from you its crazy stay as you are and pls make more series like this
@nixian001
@nixian001 4 ай бұрын
Ive been waiting for this!!
@captainluma7991
@captainluma7991 4 ай бұрын
Loving the series so far! This is really helpful for one of the projects I'm working on.
@markschumacher6676
@markschumacher6676 4 ай бұрын
You are literally the first one to make me understand how these things work including the alu
@FrostialSamTT
@FrostialSamTT 4 ай бұрын
Its actually crazy how you can make all this in minecraft bro
@EvanFar_
@EvanFar_ 4 ай бұрын
I won't be watching this until it fully comes out, but it looks awesome so far!
@francoisfranka6052
@francoisfranka6052 4 ай бұрын
Thank you so much, I'm loving this serie so far. Great explanations
@75rxREDSTONE
@75rxREDSTONE 4 ай бұрын
4:33 please note that there's no need to get rid of that first register - you can put torches beneath every line, like the write line to r0, and then only unlock these torches during a write operation. that way, we can have four registers with two bits, and 0 points to the first one. if you're aware of this, it would be useful to point it out in this (or at least next) video so others acknowledge
@redyau_
@redyau_ 4 ай бұрын
Yes, but the way Mat did it here allows for a natural 0-register and is more in-line with usual circuit design.
@ericcheng5496
@ericcheng5496 4 ай бұрын
Yeah, but when you think about it, zero register is actually a thing in some architectures
@JonahDyer
@JonahDyer 4 ай бұрын
So what you're saying is instead of making a zero register... You make a zero register with another step. Brilliant.
@tostitossssss
@tostitossssss 4 ай бұрын
⁠@@JonahDyerit's just a way to get four fully functional registers if that's what you want instead of three and a zero register
@AntekCookie
@AntekCookie 4 ай бұрын
i made 3 CPU's in minecraft but learning it was hard af because there were no tutorials but after you finish this series i think that a lot people will start making their own cpus
@AvengeButterscotch
@AvengeButterscotch 4 ай бұрын
Saw a stolen clip on instagram and someone in the comments had tagged you. This is amazing stuff man just subbed
@Bentleytalksaboutstuff
@Bentleytalksaboutstuff 4 ай бұрын
Matt, I respect your redstone skills. Great video.
@wueffiYT
@wueffiYT 4 ай бұрын
Sheesh new vid dropped! ❤️
@mohamedahmed4461
@mohamedahmed4461 4 ай бұрын
I hope you can share some tips on how you stay focused and keep your mind organized while designing and building all of this. I often find myself getting distracted and wandering off, ending up doing nothing.
@entityredstoneonyt
@entityredstoneonyt 4 ай бұрын
as someone who used simulated double read in my cpu i dont think it could be explained more perfectly
@Kijentesantakalu
@Kijentesantakalu 4 ай бұрын
Please don't stop this series!
@debmalyalodh1
@debmalyalodh1 3 ай бұрын
As a redstoner myself, I NEVER KNEW THAT REPEATER LOCKING WAS A THING UNTIL TODAY AND THAT IS A TIME SAVER
@HansLemurson
@HansLemurson 4 ай бұрын
I remember the struggle of trying to design my first Dual-Read memory back in the day. Getting the read output lines of "true dual read" to cross through each other was SUCH a pain. The architecture I was using (bottom to top data flow) didn't permit easy mirroring, so I didn't consider that option. Repeater lock memory made things so much easier.
@koyarnosredstone5783
@koyarnosredstone5783 4 ай бұрын
For a 4 bit address bus, it might be wiser to use a clock line above the address bus instead of disabling the address. This prevents updating the entire bus twice. For the memory you would do the same anyway as there it does have a zero address register (still debatable, but ymmv)
@MartzGod
@MartzGod 4 ай бұрын
best redstone youtuber!!!
@happyaz5393
@happyaz5393 4 ай бұрын
Keep going on this series
@neox-minecraft6345
@neox-minecraft6345 4 ай бұрын
Hi matt you are the best!!!
@Leavethepain-we3zq
@Leavethepain-we3zq 4 ай бұрын
I was waiting for sooo long for this
@Sand.
@Sand. 4 ай бұрын
EP 3 LETS GOO
@DanielBerzinskas
@DanielBerzinskas 4 ай бұрын
I liked and subbed with all notis on to get this within 1 min
@princekadeem8689
@princekadeem8689 3 ай бұрын
Matt, you genuinely have the absolute coolest science tutorials I’ve ever seen on KZbin! My daughter finally convinced me to get into Minecraft with her a couple weeks ago…. I had no idea I’d be going back to college, though 🥴😂 I am blown away by your content. I plan to build out some of your projects with my 7 year old in hopes to get her enthusiastic about computer science! Absolutely have earned a new supporter; I’m curious whether KZbin or Patreon is preferred? If you can’t discuss this publicly I understand
@mattbatwings
@mattbatwings 3 ай бұрын
Hey - first off I’m so glad you enjoy, and sorry for such a late response. I’m really happy to hear you want to support me. If you’re ever used discord, then patreon may be a better fit! Patreons get access to early access channels, custom roles etc, all in the discord server. If you don’t have discord, there’s no difference! Thanks again!
@jrubik33
@jrubik33 4 ай бұрын
comp wiring is funny sometimes, that was certainly a way to create a 2 tick pulse
@OscarBassett-om5un
@OscarBassett-om5un 4 ай бұрын
This is sick! Gonna make this with redstone strength display for craftymans redstoner of the year comp. bruh i thought you gave up on this series when you took longer to post than before. I can imagine it takes ages to make these vids tho!keep it up
@springle_pringle
@springle_pringle 4 ай бұрын
Thank you for your work mat!
@kylebowles9820
@kylebowles9820 2 ай бұрын
Nice, love how everything has gone back to vertical lol, remember the 1 wide craze?
@slimecubeboing
@slimecubeboing 4 ай бұрын
This series is so helpful and easy to follow along! Soon I'll be able to flex to my friends I built a computer in minecraft
@Creepy-Wolf
@Creepy-Wolf 4 ай бұрын
BABE!!!!!! WAKE UP!!! MATT HAS DROPPEEEEEËEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED
@Xetaas
@Xetaas 4 ай бұрын
Can't wait for the next episode, these videos are so damn cool :)
@ItsCOMMANDer_
@ItsCOMMANDer_ 4 ай бұрын
W vid, but the only thing im waiting for is Control Unit
@RobRed1011
@RobRed1011 4 ай бұрын
If you want to understand them too watch core dumped he's really good
@JDTrain
@JDTrain 4 ай бұрын
That is literally sooooo cool!
@pugglez4798
@pugglez4798 4 ай бұрын
Love this series!
@theultimateeditingduo
@theultimateeditingduo 4 ай бұрын
New video 🔥
@minhohwang2770
@minhohwang2770 4 ай бұрын
Going to be fun when branch prediction is implemented
@MarkCoding-C
@MarkCoding-C 4 ай бұрын
Finally i can build a new part of my MC CPU.
@rodrigoqteixeira
@rodrigoqteixeira 4 ай бұрын
I'm surprised on how chill he is on losing unecessary ticks.
@AGuyWhoDosentKnow
@AGuyWhoDosentKnow 4 ай бұрын
Can you make a segment in these videos at the end where you combine the components made so far?
@MrTurtleWithTophat
@MrTurtleWithTophat 4 ай бұрын
Yoyoyoyoy a new video's out.
@FurnaceHead
@FurnaceHead 4 күн бұрын
thank you soooooooooo much for your information how to make a register file wow thanks
@tomiivaswort6921
@tomiivaswort6921 4 ай бұрын
I swear, I was looking if he uploaded yesterday evening, but he didn't so I went to bed. Just as I was laying down, he uploaded.
@gearsgamer7115
@gearsgamer7115 4 ай бұрын
Love your tutorials
@Garfield_Minecraft
@Garfield_Minecraft 3 ай бұрын
so this is how they really mean by the "file"? it's just many registers. it's completely undistinguishable from any other data LOL welcome to binaryland register file is like an actual file you can write to it and read from it
@MrOAPhex
@MrOAPhex 4 ай бұрын
Really cool video :D
@Realduokidsfan
@Realduokidsfan 4 ай бұрын
Tysm matt batt wings!
@Testbot379
@Testbot379 4 ай бұрын
Will you try to make a dedicated Gpu?
@florence422
@florence422 4 ай бұрын
Would be really interested to see you make something using the "Redbits" mods Color Redstone Lamp and Redstone Emitter!
@HMT_main
@HMT_main 4 ай бұрын
I wanted to build a new PC for ~1000€, who would have thought you could just build one in Minecraft!
@springle_pringle
@springle_pringle 4 ай бұрын
It's only like $40... Plus whatever the computer you're running it on cost.
@Realduokidsfan
@Realduokidsfan 4 ай бұрын
FINALLY MATTBAT
@neptunelaplanete
@neptunelaplanete 4 ай бұрын
Once this computer is fully built, it would be cool to make a 20 ticks per second speed test with basic fonctions, before speed up the thing for more complex codes
@javierchust1618
@javierchust1618 4 ай бұрын
I love this serie
@lucasvlogs4056
@lucasvlogs4056 4 ай бұрын
What are the advantages of this I/O setup? Why not just have a single address input, and separate inputs for read and write? Keep it up💯
@bactrosaurus
@bactrosaurus Ай бұрын
When playing turing complete, i came up with another way of dual read, without knowing what it even was. I had 2 output buses, one for every ALU argument. And every register can write to both. But e multiplexer at every register would decide, if and to wich bus the register would write, depending on the input.
@coffee-is-power
@coffee-is-power 4 ай бұрын
the zero register reminded me of /dev/zero on linux, it's a file that spits zeros infinitely
@Threee-k6y
@Threee-k6y 3 ай бұрын
Third video in the series, third video sponsored by brilliant so far
@Not_Raj17
@Not_Raj17 4 ай бұрын
Full support from India ❤
@Vampire-Catgirl
@Vampire-Catgirl 4 ай бұрын
Yay, I love registers
@Speedy27o7
@Speedy27o7 4 ай бұрын
cool video!
@MoleGamingPlus
@MoleGamingPlus 4 ай бұрын
This is the first time that I ever watched a video one minute after it was published...
@DanielBerzinskas
@DanielBerzinskas 4 ай бұрын
me too, got the noti
@MoleGamingPlus
@MoleGamingPlus 4 ай бұрын
@@DanielBerzinskas I didn't even notice the notification (somehow), I just saw it in my recommendations.
@lukasjetu9776
@lukasjetu9776 4 ай бұрын
6:45 I've actually wondered what would happen if you wrote to it, and now i realized that's probably how sending to null works, it's just a void, still a valid place but it kinda doesn't exist
@Debugless
@Debugless 4 ай бұрын
Nice!
@kairu_b
@kairu_b 4 ай бұрын
Sheesh, great work
@foxypiratecove37350
@foxypiratecove37350 4 ай бұрын
OK. I'll definitely make an assembler for that computer assembly.
@NateTmi
@NateTmi 4 ай бұрын
I wonder if I could use this to make a random number save reader? Where I could gen and save X random numbers. Then coding an action for each number. To make a Random event generator
@slajufila
@slajufila 28 күн бұрын
I have a question here? Are multiplexers and demultiplexers redundant in register files? Decoders seem much smaller in this case…
@l33tcrafts69
@l33tcrafts69 4 ай бұрын
“Sorry Mom - Matt released a new video, cya in three days”
@ErykGałązka928
@ErykGałązka928 15 күн бұрын
I'm a bit confused right now... 7:30 - true dual read theory 7:42 - simulated dual read theory 8:00 - true dual read build 8:12 - simulated dual read build Aren't builds basically the same, just one has both read bus lines on the same side and the other has those on separate sides? Both registers files can read 2 registers addresses at once (Well here simulated dual read register file has twice as many registers, but both are written to at the same time). What's bugging me is that I kinda think both builds are true dual read...? (I'm not specialist) I may be wrong, so if anyone can explain it, please do so.
@ErykGałązka928
@ErykGałązka928 15 күн бұрын
Or if anyone could provide for example a link to an article or something, idk... I would like to understand this a little bit better.
@hugoli2110
@hugoli2110 2 күн бұрын
@@ErykGałązka928 I dunno if im explaining it well, but true dual read is exactly as you explained it, with bus lines. simulated dual read has less complex wiring but requires more hardware. both's fuction is the same
@mooven1687
@mooven1687 3 ай бұрын
i was wondering, what kind of study are ou doing ? are you doing like hardware engineer or you are doing programmation ? because you are so good to create cpu and all that kind of things architectures
@KaedennYT
@KaedennYT 4 ай бұрын
Huh, not clocking your reads? This makes me (naively) worry about signal staggering (where a bit or two lags by a few GT) reading an unintended register.
@koyarnosredstone5783
@koyarnosredstone5783 4 ай бұрын
The read is combinational. If you wait long enough, eventually, the right data will appear for you to write it. That said, if something is off by a few GT, its always good to try to synchronise your components.
@KaedennYT
@KaedennYT 4 ай бұрын
@@koyarnosredstone5783 Yeah, it seems component synchronization is where mattbatwings is going with this.
@felixdavies753
@felixdavies753 4 ай бұрын
Hey! Video idea: word but with basic autocorrect: plurals, basic orthographic errors on basic words like the in then, and maybe basic syntax!
@minercraftal
@minercraftal 4 ай бұрын
Yes!
@EliasWolfy
@EliasWolfy 4 ай бұрын
I would like to thank you for the content! I'm for the explanation, I'm not going to build a PC in Minecraft.
@MalteFP
@MalteFP 4 ай бұрын
Great video! How do you make it so you fly though blocks in your world downloads?
The Fascinating Math behind Piston Extenders #SoME3
20:08
mattbatwings
Рет қаралды 756 М.
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
I Made Minesweeper with just Redstone!
17:39
mattbatwings
Рет қаралды 265 М.
Why I'll Never Use Copper Bulbs
16:14
mattbatwings
Рет қаралды 350 М.
How are Redstone Computers even possible?
19:36
Ellie Rasmussen
Рет қаралды 370 М.
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 1,9 МЛН
Why Are Redstoners Mad?
13:00
CraftyMasterman
Рет қаралды 1,3 МЛН
Building your INSANE Redstone ideas!
16:05
mattbatwings
Рет қаралды 419 М.
Java Redstoner Tries Bedrock Redstone
14:54
Purplers
Рет қаралды 247 М.
Can You Beat Minecraft if the Whole World is Water?
16:07
EnderSkull
Рет қаралды 475 М.
16KB RAM Has Redstone Surpassed Rocket Science ?
11:05
Mr_Korwaldski
Рет қаралды 3,5 МЛН
VFX Artist Reveals the True Scale of Minecraft
14:28
Corridor Crew
Рет қаралды 2,9 МЛН