How TRANSISTORS do MATH

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ต.ค. 2011
  • Take a look inside your computer to see how transistors work together in a microprocessor to add numbers using logic gates.
    Get the book CODE that inspired the video amzn.to/pR9MwK
    This is a great book by Charles Petzold that really breaks down a computer conceptually so that non-technical readers can understand how it works.
    EDIT: At 00:12, the chip that is circled is not actually the CPU on this motherboard. This is an older motherboard where the CPU was first inserted into a small board and that board was then inserted into a slot on the motherboard. The chip that is circled is called the "northbridge" and helps the CPU communicate with memory. The northbridge also uses transistors and logic gates just like the CPU.
    (As of 2024-01-15, all videos on this channel are under the CC0 license (very similar to Public Domain). Feel free to download and repost without compensation, attribution, or notice.)
    creativecommons.org/public-do...

ความคิดเห็น • 2.2K

  • @juhabach6371
    @juhabach6371 4 ปีที่แล้ว +524

    For people who are surprised, how people figured this out :
    This following fact is for any science or maths branch :
    1. All the complex science and maths of anything has been built by several geniuses, over centuries.
    2. Previous work is modified and new concepts and maths is added to the existing ones, also testing and error correction is done rigorously.
    3 In today's world, we are just witnessing the finished product...so obviously it seems like marvel....but it took hell lot of time and hell lot of genius calibre minds to finally arrive at the current stage.

    • @tiktoktechnohouse1938
      @tiktoktechnohouse1938 4 ปีที่แล้ว +34

      the power of humanity, saving knowledge and improving upon it...

    • @maratmkhitaryan9723
      @maratmkhitaryan9723 4 ปีที่แล้ว +5

      @@tiktoktechnohouse1938 knowledge evolution

    • @juhabach6371
      @juhabach6371 4 ปีที่แล้ว +7

      @Christobanistan yeah, like the flat earthers 😆😆

    • @konefine3626
      @konefine3626 3 ปีที่แล้ว +6

      You could be a teacher, look at the way you broke down a long principle in a short 3 steps.

    • @juhabach6371
      @juhabach6371 3 ปีที่แล้ว +7

      @@konefine3626 thanks.. I think being an Indian helps 😆

  • @darylemhenry
    @darylemhenry 8 ปีที่แล้ว +2213

    I can't believe people were smart enough to figure this out. I'm having it explained slowly and with pictures and I'm still struggling with it.

    • @offchan
      @offchan 8 ปีที่แล้ว +592

      +That Guy The knowledge is just stacking on top of one another and it became fixed over time. There are many people who contributed their inventions to this so it looks surprised that all these are complex because it's compressed into a single video. But really, they figured these out in decades not minutes.

    • @rafiahmed2453
      @rafiahmed2453 8 ปีที่แล้ว +150

      +Chanchana Sornsoontorn (Off) Dude I was really relieved to see your message!

    • @dmaster20ify
      @dmaster20ify 8 ปีที่แล้ว +68

      +That Guy True thing. But as Chanchana Sornsoontorn said, persons took decades, no centuries, to figure this out; and we won't understand this in couple minutes.

    • @benabbouaissa1991
      @benabbouaissa1991 8 ปีที่แล้ว +40

      +That Guy you need to bring a piece of paper and try some exercices and you will see this is not that hard

    • @offchan
      @offchan 8 ปีที่แล้ว +80

      +Blair Group Yeah understanding a solution versus coming up with one takes a very distinct amount of effort. Those people who invented these things are quite smart.
      But what I want to point out is that, don't think that you aren't smart because there were smart people inventing things. Instead of complimenting people in the past, encouraging people in the present is more essential. If complimenting the ones in the past make you blame yourself then don't compliment them. These guys in the present are more important because they matter. Encourage them.

  • @randyscorner9434
    @randyscorner9434 9 หลายเดือนก่อน +120

    I have designed microprocessors for 30 years and was the designer of the first integrated Floating Point Unit (doing real number math). I had to see your explanation and enjoyed it a lot. Great basic introduction; with a mountain of optimizations available for faster and wider math. These systems are the most complex on the planet and I still find it amazing that we can get them right. Nicely done!

    • @davidcopperfield2278
      @davidcopperfield2278 9 หลายเดือนก่อน +4

      hey there
      if I have a processor, lets say a some 6600K, is there any way to see its architecture in detail ?
      I mean, what is the deepest a consumer can take officially look into, from some open documents or something ?
      are CPU architectures kept in secret by the companies ? if yes, up to what level ? how do programmers do, when they wanna see as profoundly as possible what currently happening with their hardware ?

    • @Josh-uj6gb
      @Josh-uj6gb 9 หลายเดือนก่อน +2

      ​@davidcopperfield2278 get a good microscope and you can see alot. Secondly no there could schematics are trade secrets and are not released to the public. Finally programmers use instruction set architecture which does not require a very microscopic view of the cpu. It allows them to work with registers. However most programmers don't interact with hardware directly.

    • @Lividbuffalo
      @Lividbuffalo 8 หลายเดือนก่อน +6

      Ok. I invented the first light bulb and also discovered gravity.

    • @m0-m0597
      @m0-m0597 6 หลายเดือนก่อน

      Lividbuffalo I was gonna say that but you know what? Let's be positive for once

    • @stellviahohenheim
      @stellviahohenheim 6 หลายเดือนก่อน

      Science have gone too far

  • @OmnipotentO
    @OmnipotentO 7 ปีที่แล้ว +61

    I strongly recommend that CODE book. It's fucking amazing and I'm not even a computer science guy. I was just curious about how we get from electricals circuits to shit on a screen.

    • @joshuageorge2053
      @joshuageorge2053 2 ปีที่แล้ว +3

      Same here bro, is like we've been reading each other's mind. Actually for a long time now. Ihave been keenly curious about how the computer processes it's data via electrical signals to obtain the understanding finished product in the screen also known as Output.
      As well as the transmission and coding of signals via wave BTW two devices

  • @smacman68
    @smacman68 7 ปีที่แล้ว +151

    This is both extremely simple and extremely complex at the same time. Thank God there are smart people in this world

    • @VJETRA
      @VJETRA 4 ปีที่แล้ว +8

      Simple multiple time equal complex

    • @RogerBarraud
      @RogerBarraud 4 ปีที่แล้ว +2

      Welcome to Philosophy :-)

    • @Yazan_Majdalawi
      @Yazan_Majdalawi 2 ปีที่แล้ว +4

      "ولا يُحِيطونَ بِشَيءٍ مِن عِلْمِه إلَّا بِما شاءَ"
      الحمدلله 🌷

  • @jorgehn7
    @jorgehn7 7 ปีที่แล้ว +519

    This is one of the BEST TUTORIAL TH-cam has. They should pay this dude for this vide.

    • @RichardDenisRichman
      @RichardDenisRichman 7 ปีที่แล้ว +11

      they do threw monetization if click on the ad at the beginning of his video he gets a click = "payment"

    • @Autokey_Security_Services
      @Autokey_Security_Services 7 ปีที่แล้ว +5

      therealnightwriter stop being a duece I bet you couldn't do any better if your life depended on it.

    • @banu6301
      @banu6301 7 ปีที่แล้ว +1

      this video talks about the ALU not about the GPU ...

    • @ioncasu1993
      @ioncasu1993 7 ปีที่แล้ว +1

      YOU should pay him for being able to see this video.

    • @obai2407
      @obai2407 5 ปีที่แล้ว +1

      The best

  • @andreranulfo-dev8607
    @andreranulfo-dev8607 4 ปีที่แล้ว +217

    In 2018, this exact video was my very very very first lesson about binary. It was a great head start in my career. Two years later, I finally started my degree in Computer Engineering and for me, it was a peace a cake (because of this video), in the other hand, my classmates are struggling to understand a very boring and confusing explanation from our Professor. Thank you very much.

  • @JoeyLovesTrains
    @JoeyLovesTrains 6 ปีที่แล้ว +16

    “...Now this kinda happens millions of times a second, inside of your micro-processor, that fits on your motherboard, inside of your computer.”
    that quote blew my mind...

    • @martinkuliza
      @martinkuliza 5 ปีที่แล้ว +4

      ok, don't have a stroke or anything, but IT'S NOT MILLIONS
      IT'S BILLIONS
      Millions, was around 30 years ago

  • @noyes6599
    @noyes6599 7 ปีที่แล้ว +101

    As an Electrical engineer, your in depth explanation of the transistor layout is exceptional! Well done!

    • @baugh3162
      @baugh3162 11 หลายเดือนก่อน +1

      now he has to build an amp with an 8 ohm speaker

    • @rongarza9488
      @rongarza9488 11 หลายเดือนก่อน

      @@baugh3162 OR an amp without a heavy permanent magnet.

    • @rty1955
      @rty1955 6 หลายเดือนก่อน

      Your explanation of binary is way too complicated amd can be explain much easier.

  • @forbeswinthrop153
    @forbeswinthrop153 8 ปีที่แล้ว +202

    I have been looking for a description of how math is done with transistors. This was exactly what I wanted to understand. Thank you so much.

    • @tomt8184
      @tomt8184 6 ปีที่แล้ว

      ehhhhhhhhhhhhhhhhhhhh

    • @super_exe_file
      @super_exe_file ปีที่แล้ว

      This is why computers are ultra fast at calculating any digits of numbers

  • @dabooda7
    @dabooda7 8 ปีที่แล้ว +13

    I have been coding for 29 years and just now decided to look into the actual electrical engineering aspect of the cpu. Thank you for these videos. They are very well done and explain in great detail. Now I am off to replicate logic gates in code, should be fun.

  • @jacobcline6892
    @jacobcline6892 5 ปีที่แล้ว +27

    This covered 2 weeks of my Computer Architecture class in 14min 26sec, and I understand it better than I ever did in those two weeks. Thank you.

  • @Transled
    @Transled 8 ปีที่แล้ว +47

    I've been using these gates, adders etc. in microprocessor programming for years. I knew what they are doing but it's only now that I fully understand what's going on in those chips. Thanks for this great video.

  • @ibrahimabtula3234
    @ibrahimabtula3234 8 ปีที่แล้ว +343

    this is the best video I ever seen for how CPU works

    • @raphaellm
      @raphaellm 7 ปีที่แล้ว +10

      The best I've seen so far. I finally understand how it works. \o/

    • @TimothyChapman
      @TimothyChapman 7 ปีที่แล้ว

      This video gets the logic gates completely wrong. The transistor layout in this video does *NOT* work.

    • @ibrahimabtula3234
      @ibrahimabtula3234 7 ปีที่แล้ว +6

      It explains concept very well and straightforward

    • @PantuFJAR
      @PantuFJAR 7 ปีที่แล้ว +16

      This is indeed a very good video, but this is not how a CPU works, only a part of the CPU's arithmetic logic unit (ALU). If you enjoyed it, you should search for more videos about computer architecture, most of them are from India idk why lol

    • @TimothyChapman
      @TimothyChapman 7 ปีที่แล้ว +6

      PantuFJAR "most of them are from India" That explains their hard-to-understand English.

  • @biguzivert
    @biguzivert 3 ปีที่แล้ว +119

    Bruh this video literally taught me how to make a Minecraft calculator

    • @lapistaoftheparadise4627
      @lapistaoftheparadise4627 2 ปีที่แล้ว +5

      Yeah now i know how some kid made a (i think 16 bit) computer in Minecraft

    • @Rhidayah
      @Rhidayah 2 ปีที่แล้ว

      Lmao with redstone

    • @nd688
      @nd688 2 ปีที่แล้ว +1

      I actually came for it. Lol

    • @biguzivert
      @biguzivert 2 ปีที่แล้ว +2

      @@epicsam12345 well since I am already knowledgeable with Minecraft redstone this video was enough to teach me how to make a Minecraft calculator

  • @renatobritto4096
    @renatobritto4096 6 ปีที่แล้ว +7

    Damn this is really good. I could not find a single video that explains what a logic gate looks like physically and how do they interact to do simple actions so fast and clear. Good job man.

  • @TheJaredtheJaredlong
    @TheJaredtheJaredlong 9 ปีที่แล้ว +416

    Wanted to know how computers add 1+1; was not disappointed.

    • @spidi150
      @spidi150 8 ปีที่แล้ว +14

      +Element115 we know how it works in that theory... The question is how the computer does it... Try telling the electricity to go from one column to the left one, if there are 2 1's... How do the chips calculate it... How do they get the two 1s from there: 0001 to there: 0010
      Ofc we as humans know that we just have to move it to the left... But how does it work in the circuits? (I hope it's sorta understandable since i came here to seek the same answer)

    • @spidi150
      @spidi150 8 ปีที่แล้ว +4

      +Kamineru73 +Kamineru73 Don't worry, I understood it, since I wrote this comment 2 months ago I can't quite recall, why i wrote it, maybe because I was tired, was only halfway through the video or as I presume now that I just didn't 'get' element 115's comment, since it only explains how a human being would calculate this, but I guess I assumed everyone would know that part already, or not really search for this video if not. So what I was looking for was a video (like this one) that explains how the 2 on-switches make the first lightbulb turn on, and the second one turn off. E.g. I know that 01+01=10 but how do two ones turn to a zero. Which was then explained in the video->by using the XOR-gate. The buildup of the XOR- and the AND-gate was the answer I was looking for. Not that 1+1=10. Since I knew that before... But the question was how ;)
      I hope it's more understandable now :) since my previous comment was not against that video in any way. The video is awesome and educational :)

    • @santosmartinez5948
      @santosmartinez5948 5 ปีที่แล้ว

      TheJaredtheJaredlong 1+1does. Not =o

    • @santosmartinez5948
      @santosmartinez5948 5 ปีที่แล้ว

      TheJaredtheJaredlong ok I taught myself this week in 1sr grade in Holzems

    • @adaptiveplexus
      @adaptiveplexus 4 ปีที่แล้ว

      Why it's bad to just do a half add job.

  • @zulfitareen1
    @zulfitareen1 9 ปีที่แล้ว +216

    thank you.
    i only understood 1.3% of your lesson. but 1.3% is better than zero.
    thank you.

    • @raXunHAWK
      @raXunHAWK 9 ปีที่แล้ว +54

      If you round off "1.3" you'll get "1", that means you are switched ON to understand the lesson.

    • @zulfitareen1
      @zulfitareen1 9 ปีที่แล้ว +2

      i agree

    • @userprotection6298
      @userprotection6298 4 ปีที่แล้ว

      @ Yes, I do measure pimp

    • @henryogan2017
      @henryogan2017 2 ปีที่แล้ว

      I'm not sure if I should be offended or glad

    • @nylabrookes
      @nylabrookes 2 ปีที่แล้ว

      @@raXunHAWK 🤣🤣🤣👍👍

  • @briancowan528
    @briancowan528 3 ปีที่แล้ว +7

    As the saying goes, "If you can't explain it simply, you don't understand it well enough" Brilliantly and elegantly explained.

  • @seancunnion1438
    @seancunnion1438 7 ปีที่แล้ว +9

    You make great videos- please keep it up! As an ex-EE major I watch them to keep sharp, and I find I'm understanding the concepts more clearly than I did in school. I like how you combine practical knowledge and problem-solving.

  • @intercointerface212
    @intercointerface212 9 ปีที่แล้ว +3

    Wow, this goes into so much more detail than I thought it would, but I still understood it all! Amazing work, just the right pace for me to keep up! Please please please make one of these for the other main operations! (Division, Subtraction and Multiplication).

  • @mikimouse3001
    @mikimouse3001 4 ปีที่แล้ว +3

    Once you understand how the gates work everything is starting to make sense. Very informative video. And I love the explanation at the beginning on how a transistor works. Learned something new today:)

  • @Tom-mh9bm
    @Tom-mh9bm 6 ปีที่แล้ว +2

    Someone get this guy a Nobel Prize. Beautiful explanation. I'm 7 years late to this.

  • @trevordallas
    @trevordallas ปีที่แล้ว +1

    This is, by far, the best explanation and visual examples of digital logic and adders I have seen to date. Excellent video!

  • @CarlosSantos-iu2ei
    @CarlosSantos-iu2ei 3 ปีที่แล้ว +3

    One of the best videos I have seen so far! As always, you can see or even meet very smart people who doesn't know how to explain complex things to others and, that few, that got the knowledge and know how to explained it to others. Thank you Sir for being part of that few!

  • @skylineuk1485
    @skylineuk1485 3 ปีที่แล้ว +6

    brilliantly done, that is roughly the same way I used to teach this decades back and is as easy as it gets. Well done!

  • @randzopyr1038
    @randzopyr1038 5 ปีที่แล้ว +2

    You explained this so well. So many people want to skip over parts of this when explaining how a cpu works.

  • @vikash.s8523
    @vikash.s8523 6 ปีที่แล้ว

    The most intuitive video on working of a processor. Salute for whoever has made this.Schools should licence this video and show it to students instead of hours on lecturing

  • @ibrahimshaikh6728
    @ibrahimshaikh6728 7 ปีที่แล้ว +224

    Not all heroes wear capes!

    • @theblinkingbrownie4654
      @theblinkingbrownie4654 5 ปีที่แล้ว +2

      Not all capes wear heroes!

    • @DeputyBurbank
      @DeputyBurbank 4 ปีที่แล้ว

      ...but they are all white males.

    • @rijul9929
      @rijul9929 3 ปีที่แล้ว

      @@DeputyBurbank you'll be surprised, but nevermind!

  • @R0B690
    @R0B690 5 ปีที่แล้ว +3

    Taught me so much, but still so hard to comprehend. How people worked this out is amazing.

  • @parker9163
    @parker9163 ปีที่แล้ว

    The clearest explaination of a logic gate I've seen on TH-cam thus far! Thanks

  • @AaronKelly111
    @AaronKelly111 5 ปีที่แล้ว

    How do computers add numbers? This has got to be the most thorough and concise explanation, ever. Thank you.

  • @austinch3
    @austinch3 7 ปีที่แล้ว +4

    I love this tutorial, it's awesome! Only issue i have is that microprocessors today don't use ripple carry adders shown in the video but use carry lookahead adders (fast adders) instead but this is probably (it is) the best tutorial i've seen on Full Adders. i'm definitely going to refer to this video when I can.

  • @stevrolds2566
    @stevrolds2566 8 ปีที่แล้ว +32

    This video is just incredible (as are the others you've made). It really is such a shame that quality like this in educational videos is as rare as it is. And I don't know if you feel like the pay-off has been worth the time and effort you must have put into making it, but I hope that doesn't deter you from continuing to make other masterpieces. I for one have benefited greatly from it. So, thanks.

  • @xniyana9956
    @xniyana9956 4 ปีที่แล้ว

    This is hands down the best video I have ever seen to explain this. It explains something very complicated in terms so simple it would be sinful if one still couldn't understand it. I wish every complicated topic in STEM could be explained this effectively.

  • @deluxeedition4639
    @deluxeedition4639 5 ปีที่แล้ว +2

    I'm glad my programming teacher linked this video as part of our notes, this was so helpful!

  • @TheDarkVPlayer
    @TheDarkVPlayer 9 ปีที่แล้ว +4

    Amazing and super detailed. Great explanation on some of the logic gates.

  • @unlokia
    @unlokia 8 ปีที่แล้ว +5

    You've _really_ knocked it out of the park here, well done, and thank you from England!
    God bless you and thanks again :)

  • @E--Drop
    @E--Drop 4 ปีที่แล้ว +1

    This is seriously THE BEST if not close to the BEST Lesson that I've ever watched. THANK YOU

  • @tomjuliano9249
    @tomjuliano9249 6 ปีที่แล้ว +2

    Been looking for such a clear, detailed explanation for this phenomenon for a long time! Thank you Charles Petzold!

  • @masteringinlife3201
    @masteringinlife3201 6 ปีที่แล้ว +7

    This video is one of the most valuable asset on the youtube.Great work dear

  • @ezstudio3d
    @ezstudio3d 9 ปีที่แล้ว +7

    This is just perfect and the way I live to be tough, which is using images, very detail explanation, right to the point and easy to understand. love the other videos too. I would love to see a video about an OS in this format.

    • @raziel2215
      @raziel2215 9 ปีที่แล้ว

      Loco y donde estas metido, llamame necesito hablar contigo.

  • @MrKobliska
    @MrKobliska 6 ปีที่แล้ว +2

    I have the CODE book, which is excellent. This video follows suit. VERY well done. As a Computer teacher, I am grateful for the hard work of the author and the systematic use of the same analogy all the way through. Plus, the graphics are consistent and well-done. Thank you.

  • @MPierce1
    @MPierce1 5 ปีที่แล้ว +1

    Absolutely AMAZING explanation!!!! Very clear and straightforward!!! Making the fundamentals of computing easy to understand so that the learner can have a firm grasp before going on to the more sophisticated computing!

  • @justins7796
    @justins7796 4 ปีที่แล้ว +22

    i'm not saying it was aliens that made computers but it was aliens.

  • @iworshipjesus1597
    @iworshipjesus1597 10 ปีที่แล้ว +5

    Great video. Thanks for making it so clear.

  • @Oussama-enezari
    @Oussama-enezari 17 ชั่วโมงที่ผ่านมา

    These classical conceptions are very interesting and very important .you can always find alternative designs and architectures and resolutions for such elementary operations but the classical solving is always to be reviewed clean consistent and smart nice video ty

  • @SweetzLee
    @SweetzLee 3 ปีที่แล้ว +1

    This is an extremely thorough and very well explained walk through! Easy to understand voice and instructions. Thank you!

  • @jananjacob
    @jananjacob 7 ปีที่แล้ว +81

    Freakin hell.... shamefully i have to say i am a computer science engg , and i do know how to calculate the And's and OR's and other logic gates. But it is now that i understood how the whole thing works in a machine with the binary numbers.... now it all makes sense.... I wish i saw this video when i was studying... :( anyways better late than never.

    • @carlosgarza31
      @carlosgarza31 5 ปีที่แล้ว +4

      Janan Jacob they should have gone over this in your Computer Organization class in college. They should have also gone over how to build TTL logic gates as well. Also they would have explained that what you saw in this video is a ripple carry adder that are outdated as multibit look ahead carry adders to make aditions faster at the cost of using more transisters or CMOS (Modern CPU) circuits.

    • @49lives
      @49lives 5 ปีที่แล้ว

      how they teach you that in the intro to the digital system's classes which is a 200 level class in most university's...
      furthermore, it's essential to understand its the basics of machine code...

    • @bassam_salim
      @bassam_salim 4 ปีที่แล้ว

      Thankfully I watched this while still studying

    • @imho2278
      @imho2278 3 ปีที่แล้ว

      @@49lives It's all theoretical. No components are used. Not even any simulation programs are mentioned.

  • @dappa311
    @dappa311 3 ปีที่แล้ว +4

    How I wish that these tutorials had existed when I was in college studying engineering.
    I struggled through digital electronics class, never understood what the gates actually were physically. things were never explained this way.
    now its a lot more simple for me to comprehend.
    what I have learned over the years is that learning is something that is dependent on who is teaching you.
    when you have such a simple but complex topic as computer science , you need a good teacher that can break things down to their simple and elementary form
    I had to watch this video like three times, pause at some point and think about what i was looking at and I was like , ohhhhhh, I see it now.
    wish the internet had all this info way back then, would of saved me so much headaches.
    I have understood something that took me a whole semester to learn and I still never fully understood it back then , I barely passed the class.
    In simple terms , an or gate is a parallel connection either switch will turn on the output, the and gate is a series switch , both have to be on and every other gates are derivatives of that.
    All compartmentalized with in the cpu

  • @marioarsenal3198
    @marioarsenal3198 2 ปีที่แล้ว +1

    The explanation was really clear and the illustration with multiple examples helped even more. Really a beautiful video

  • @bud5027
    @bud5027 8 ปีที่แล้ว +1

    Your videos are incredibly comprehensive, logical and fun. Keep up the good work.

  • @jeanpanachay
    @jeanpanachay 8 ปีที่แล้ว +150

    damn this video is so well explained, thanks !

    • @masudmohamed9364
      @masudmohamed9364 8 ปีที่แล้ว +1

      .wpdamadmjmgmm.

    • @Finkelfunk
      @Finkelfunk 8 ปีที่แล้ว +4

      +Jean Panachay This guy is a fucking god, like, he can explain you electrical engineering of a CPU and you are actually able to understand everything.

    • @techwithwhiteboard3483
      @techwithwhiteboard3483 5 ปีที่แล้ว

      i wanted to like but its 128
      don't want to ruin that🙂

  • @Gerael
    @Gerael 9 ปีที่แล้ว +104

    So thats why in Zelda for the NES you can only hold up to 255 rupees, now i get it.

    • @Brandon_66
      @Brandon_66 6 ปีที่แล้ว +24

      Megagera that's also why you can't go past level 256 in PAC man

    • @adhdskytka536
      @adhdskytka536 6 ปีที่แล้ว +28

      And that's also why if you have a basic RGB image you can usually set each color to value between 0 and 255 - there are 8 bits (light bulbs) = 1 byte for each color (Red, Green, Blue) representing how much of it each pixel has, making up a more specific color. So for example if you have a 100x100 sized picture, which is 10000 pixels, you need at least 10000x3x8 bits = 10000x3 bytes = 30 kilobytes of memory for it (if you have no compression :))

    • @lmh1544
      @lmh1544 6 ปีที่แล้ว +4

      Whoaaaa the neatness!..its too strong!! *explodes*

    • @thegimmer1260
      @thegimmer1260 5 ปีที่แล้ว

      that's also why I couldn't get a score of 256 in flappy bird.

    • @hexagonist23
      @hexagonist23 5 ปีที่แล้ว

      Mirek M. Your math is completely wrong. If your image is raw then you would need 512 kilobytes.

  • @Autokey_Security_Services
    @Autokey_Security_Services 7 ปีที่แล้ว +1

    Great video I always wondered why the first computers took up a whole building now I get it. The layout must have been incredible and I cannot even begin to imagine how long it took to service them, also the heat they generated. Wow

  • @xXAngelmlXx
    @xXAngelmlXx 7 ปีที่แล้ว +1

    Thanks a lot. Ive watched many other videos about " explaining how CPUs work" and non of those did it but you. You explained it very well and detailed, though still I didn't understand half of it. But now I have a clue and will rewatch this video till I understand it. Thanks Sir

  • @firiiiluu9259
    @firiiiluu9259 7 ปีที่แล้ว +5

    What an interesting lesson!♥♥♥♥♥
    Your lessons are so cool, anyone can easily understand. I would like to thank you for your lessons.

  • @Abdelrhman_Rayis
    @Abdelrhman_Rayis 9 ปีที่แล้ว +4

    Best channel so far:)))

  • @gkx9914
    @gkx9914 4 ปีที่แล้ว +1

    been searching all over the internet for something like this. thank you so much and keep up the great work!

  • @fernandogarciacortez4911
    @fernandogarciacortez4911 6 ปีที่แล้ว

    AMAZING, from simple photos to simple explaining, no mess around, perfect!!!!!!!, thanks from MEXICO!!!!!

  • @hectorqwer
    @hectorqwer 8 ปีที่แล้ว +37

    Now I understand how computers work, beware bill gates :)

    • @americanswan
      @americanswan 8 ปีที่แล้ว +3

      Actually, you don't. You know how a calculator adds.

    • @hectorqwer
      @hectorqwer 8 ปีที่แล้ว +7

      :(

    • @imradioactive0309
      @imradioactive0309 3 ปีที่แล้ว +1

      @@americanswan 😭

  • @Oshyrath
    @Oshyrath 9 ปีที่แล้ว +7

    Wow, I'm impressed by the detail this goes into explaining adders. Can you do the same with registers? I'm trying to build an ALU on Minecraft.

    • @maxwell10206
      @maxwell10206 9 ปีที่แล้ว

      Oshyrath Look up flip flop gates. You'll need those to build registers.

    • @Oshyrath
      @Oshyrath 9 ปีที่แล้ว +2

      maxwell10206 Turns out, there are RS laches on Minecraft. I don't have to use gates anymore.

  • @be4iloveu
    @be4iloveu 6 ปีที่แล้ว +1

    This is one of the most beautiful videos on the planet. Now my life is complete.

    • @superpayaseria
      @superpayaseria 3 ปีที่แล้ว

      I know mine too. This was so oooooooooo good.

  • @TheZenbudda
    @TheZenbudda 5 ปีที่แล้ว

    For my way of thinking, this is the best way of teaching this topic. It steps you through every detail and properly re references each prior step in the process of how the whole process works

  • @tobipotg
    @tobipotg 7 ปีที่แล้ว +30

    Good video!
    The CPU is actually not where he says it is. On modern computers he would be correct but the motherboard on the first picture is for pentium 2 or 3 CPUs. They are enchaced in a funny cartridge.

    • @TheUpgradeSolution
      @TheUpgradeSolution 7 ปีที่แล้ว +5

      Yep, he pointed to the north bridge, the cpu on that board is just below that in what looks like an oversized ram slot.

    • @derbigpr500
      @derbigpr500 7 ปีที่แล้ว +1

      It doesn't matter, it's still full of transistors.

    • @JerryDodge
      @JerryDodge 6 ปีที่แล้ว +6

      I came to the comments just to see if anyone else noticed this big mistake.

    • @marioaleksandrov7859
      @marioaleksandrov7859 6 ปีที่แล้ว +5

      Mr_Tobiah he didn't make a mistake he didn't say that this is the CPU he sad microprocessor so his technically correct.

    • @carlosgarza31
      @carlosgarza31 5 ปีที่แล้ว

      The CPU he should was actually an old 80286 CPU as well judging by its size, number of pins and package style.

  • @sudheeshpb7278
    @sudheeshpb7278 3 ปีที่แล้ว +4

    I GOT INTERESTED EVEN IN ADS THAT CAME WHILE HE TEACHES. LOL

  • @thelostmarbles4310
    @thelostmarbles4310 ปีที่แล้ว

    I've watched this four times, and with each time I feel more enlightened. amazing.

  • @kevinxin1545
    @kevinxin1545 4 ปีที่แล้ว

    It insane how well all this information is put together in this way. Absolutely insane.

  • @pepegasadge2977
    @pepegasadge2977 8 ปีที่แล้ว +39

    This is a fucking education video! This is how it's done! It's amazing and so understandable! Thanks for that!

  • @PanAdam
    @PanAdam 9 ปีที่แล้ว +5

    I have this in my school. I very like it :p

  • @dsbohra
    @dsbohra ปีที่แล้ว

    Best video to take you from fundamentals to practical implementation of these 1 & 0. Brilliant

  • @Jhenoah
    @Jhenoah 5 ปีที่แล้ว

    This is the best description of a transistor I've had yet.

  • @TigerXGame
    @TigerXGame 8 ปีที่แล้ว +28

    Now my head hurts. But I learned something. I'm sure I'll understand it eventually :D

  • @MrCires
    @MrCires 10 ปีที่แล้ว +13

    oh shit... brain explosion.. big thanks !

  • @jasurmakhkamov
    @jasurmakhkamov 2 ปีที่แล้ว

    Wow this man really combined a whole electronics and computer science course to explain how calculators work in under 15 minutes. Bravo!

  • @kuasocto3528
    @kuasocto3528 5 ปีที่แล้ว

    This is a great video. Now I finally understand (80% maybe) how the logic works in a computer and what physical elements create this logic. It's still a far cry from actually "getting" the whole, but it's a really good start. Thanks for this video.

  • @leokimvideo
    @leokimvideo 11 หลายเดือนก่อน +3

    Now I know why I failed Math. I have no TRANSISTORS installed

  • @SacerKtracho
    @SacerKtracho 9 ปีที่แล้ว +15

    This just gave me a headache

    • @cloroxbleach1200
      @cloroxbleach1200 9 ปีที่แล้ว +2

      kyca You are stoopid too since you dont know how to spell stupid.

    • @OfficialGamingNetwork
      @OfficialGamingNetwork 9 ปีที่แล้ว

      Shaheer Syed You say that when you spelled stupid 'stoopid'.

    • @cloroxbleach1200
      @cloroxbleach1200 9 ปีที่แล้ว

      OfficialGamingNetwork
      I know and I did that to make it more funny, "stoopid" human (im not sure if you are actually a human...).

  • @soufianee48
    @soufianee48 3 ปีที่แล้ว

    To be honest, this guy is one of the best explainers i have ever seen on youtube, i would like to watch more videos here

  • @Coolbassist
    @Coolbassist 7 ปีที่แล้ว +2

    Exactly the video I was looking for, it took a while to understand the Carry in and Carry out but I got it now. Thanks!

  • @Ma7m9d
    @Ma7m9d 9 ปีที่แล้ว +65

    How the hell did they think of all this in the first place!!

    • @julianh7284
      @julianh7284 9 ปีที่แล้ว +4

      MDW Magic

    • @julianh7284
      @julianh7284 9 ปีที่แล้ว +9

      Yassir Douslimi
      No no no...Definitely Magic

    • @brandongressett9192
      @brandongressett9192 9 ปีที่แล้ว +7

      MDW Mathematics.

    • @julianh7284
      @julianh7284 9 ปีที่แล้ว +1

      DDDDDDDDDDDDDDDAAAAAAAAAAAAAMMMMMMMMMMMMMMMNNNNNNNNNNNNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @mikael3536
      @mikael3536 8 ปีที่แล้ว +2

      +MDW Boolean and people integrating it into circuits and so on

  • @crublah
    @crublah 7 ปีที่แล้ว +4

    how do they get this stuff so small and so many on a platine?

    • @alexsindledecker3665
      @alexsindledecker3665 5 ปีที่แล้ว +1

      They use a special type of blueprint thing which goes over a silicone sheet and shoot it with a laser which cuts the silicone. They then pour copper (i think) on the silicone so it fills the holes and use a precice laser to cut the top of it so it isnt connected. There are many other steps like doping and I may have made a mistake or two, but that is the basic idea. Just lasers... :)

    • @martinkuliza
      @martinkuliza 5 ปีที่แล้ว +2

      it's called NANO TECHNOLOGY
      and Nano Architecture
      these days the cpu's can no longer be assembled by humans because they are too small and the level of precision is too high , it's all done my machines . google HOW IS A CPU MADE, it's an interesting video

  • @lownleinhigh
    @lownleinhigh ปีที่แล้ว

    NOW I WILL BE USING THIS VIDEO FOR MY CLASS! The details are well explained and represented amazingly well.

  • @jeffwads6158
    @jeffwads6158 4 ปีที่แล้ว

    Easily the best video on this subject on TH-cam. Congratulations.

  • @jonnymiles3906
    @jonnymiles3906 9 ปีที่แล้ว +4

    Got bored so I made a virtual version of the adder you can play with if you're interested:
    jsfiddle.net/pafgzvdd/1/embedded/result/

    • @redosem9868
      @redosem9868 6 ปีที่แล้ว

      Jonny Miles I did tried it, very nice

  • @MultiRachid1991
    @MultiRachid1991 10 ปีที่แล้ว +3

    Awesome

  • @nikoslafis7948
    @nikoslafis7948 2 ปีที่แล้ว

    I have no words to thank you !!!
    With this amazing video
    within a few minutes
    I understood in depth
    what they taught me for endless hours at the university where I studied

  • @KingArthurKentucky
    @KingArthurKentucky 5 ปีที่แล้ว

    Your video clarifies a lot of things of half adder and full adder. Thank you for this educative video.

  • @whoeverwhoever400
    @whoeverwhoever400 9 ปีที่แล้ว +9

    68 people who watches this video don't how to add one.

    • @cloroxbleach1200
      @cloroxbleach1200 9 ปีที่แล้ว +2

      Ben Whoever 1+1=10
      1+10=11
      1+11=100
      1+100=101
      1+101=110
      1+110=111
      1+111=1000
      ...

  • @lockercoin3693
    @lockercoin3693 7 ปีที่แล้ว +26

    its like my computer is explaining itself, i can hear it judging me because i use it for porn.
    well, besides studying.
    great video though!

    • @martinkuliza
      @martinkuliza 5 ปีที่แล้ว +4

      technically speaking, you're porn are just electrical charges on a Hard drive platter or Memory chips, depending on what drive you have, so basically IF YOU THINK ABOUT IT.... YOU'RE JERKING OFF TO ELECTRICITY LMFAO
      Your Porn has a truth table and a finite set of outcomes
      yes it judges you by using DIGITAL LOGIC LMFAO
      if it made an error in judgement it has Error correction capabilities to rectify the corrupted bit in error
      but the computer does hope that even though it has error correction, it prays that YOU WON'T OVERFLOW
      Now.. i'm interested to see if you understand the joke
      hehe

    • @imradioactive0309
      @imradioactive0309 3 ปีที่แล้ว

      @@martinkuliza brain is also electricity and chemical

    • @shivankitss8396
      @shivankitss8396 3 ปีที่แล้ว +1

      @@martinkuliza 😂😂😂

  • @k98killer
    @k98killer ปีที่แล้ว +2

    Good overview of the basics. I used to have a lot of fun building binary circuitry in Minecraft, but I don't think I ever got further than a 3- or 4-bit adder, some shift registers, and a small amount of addressable memory.

  • @imyasharya
    @imyasharya 2 ปีที่แล้ว

    This is the exact video that was used in my techbee training class. Although my teacher didn't play it but I find it really amazing and beautiful.

  • @NurzulHealme
    @NurzulHealme 10 ปีที่แล้ว +7

    00:15 = chipset not processor.. this type mobo use slot processor www.google.com/search?q=slot+processor&source=lnms&tbm=isch&sa=X&ei=T0HCUvrLNseprAfx2IG4BA&ved=0CAcQ_AUoAQ&biw=1280&bih=908

    • @JoshuasRecordings
      @JoshuasRecordings 10 ปีที่แล้ว

      That is exactly what I was thinking.

    • @NurzulHealme
      @NurzulHealme 10 ปีที่แล้ว

      :)

    • @chrisfreeman2725
      @chrisfreeman2725 9 ปีที่แล้ว

      Nur Zul deeeeesctription :D

    • @JoshuasRecordings
      @JoshuasRecordings 9 ปีที่แล้ว

      Chris Freeman He commented 9 months ago, I commented 4 months ago. This is a new edit, was not in the description before! But thanks!!

    • @chrisfreeman2725
      @chrisfreeman2725 9 ปีที่แล้ว

      :D

  • @TeganBurns
    @TeganBurns 8 ปีที่แล้ว +18

    Now explain the system clock

    • @chamseddinehammouda6965
      @chamseddinehammouda6965 7 ปีที่แล้ว +18

      The system clock is measured in Hz. The system clock regulates the speed of the transistors. Basically, it is how fast you flick all the switches in one second. Faster clock means faster flicking, which means faster results. Sadly, CPUs cannot handle overclocking without fans,as this causes additional heat, since the transistors needs more energy, along with other problems.
      Please note that when you see that a CPU is clocked at 4GHz, it does not mean that one transistor flicks 1 and 0 4 billion times a second, that would be insane! Modern CPUs contains a lot of transistors, thanks to Intel and their first microprocessors, and that 4GHz you see is the cumulative speed of all the transistors contained in the CPU. It means that there are many many switches, and that ALL the switches are being flickered 4 billion times a second, maximum.

    • @olafseisler9284
      @olafseisler9284 7 ปีที่แล้ว +6

      Yeah, but what flicks the switches?

    • @chamseddinehammouda6965
      @chamseddinehammouda6965 7 ปีที่แล้ว +4

      +Olaf Seisler Electricity. I Will not explain it in details since it's a bit more complicated. When in example you click on a program to open it, an electrical signal is sent to the CPU, to address the request to open the program. This signal is the thing that flicks the switches.

    • @chamseddinehammouda6965
      @chamseddinehammouda6965 7 ปีที่แล้ว +1

      +David Côté-Tremblay Glad I've helped! Note that computers with multiple cores are clocked by core.

    • @twlson49
      @twlson49 7 ปีที่แล้ว

      So are you saying a 2.6 Ghz system with 4 cores are clocked individually 2.6 Ghz 4 times?

  • @shonguiz0
    @shonguiz0 3 ปีที่แล้ว +1

    Stellar job, this is one of the best explanatory videos ever on the subject. Intuitive, simple and effective.

  • @graphene1487
    @graphene1487 4 ปีที่แล้ว

    This ought to be mandatory viewing for anyone learning IC layout. Great lesson!!

  • @ParrhesiaJoe
    @ParrhesiaJoe 9 ปีที่แล้ว +8

    Get the book, "Code" if you find this interesting.

    • @rebeccaodom5393
      @rebeccaodom5393 9 ปีที่แล้ว

      ParrhesiaJoe by who?

    • @ParrhesiaJoe
      @ParrhesiaJoe 9 ปีที่แล้ว +2

      Rebecca Odom Code: The Hidden Language of Computer Hardware and Software Paperback - October 21, 2000
      by Charles Petzold (Author)

    • @jakeambrose4294
      @jakeambrose4294 9 ปีที่แล้ว +1

      ParrhesiaJoe been reading it and parts are past my level thats what led me here

    • @ParrhesiaJoe
      @ParrhesiaJoe 9 ปีที่แล้ว

      Elon Ambrose Fantastic. TH-cam didn't have these vids when I drudged through it :).

    • @jakeambrose4294
      @jakeambrose4294 9 ปีที่แล้ว

      I'm very aware of my and every current persons luck with things like this and youtube for sure

  • @tennicktenstyl
    @tennicktenstyl 8 ปีที่แล้ว +72

    Okay, minecraft guys understand it so good.

    • @computerit7490
      @computerit7490 8 ปีที่แล้ว +3

      It doesn't if others just build houses.
      I like a bit of redstone, but it doesn't help really much at these things.

    • @tennicktenstyl
      @tennicktenstyl 8 ปีที่แล้ว +6

      ComputerIT but I mean those who build entire PCs

    • @computerit7490
      @computerit7490 8 ปีที่แล้ว +5

      +Bartosz Olszewski Umm, it's not becouse minecraft, it's becouse they learned about logic gates, binary, CPU, GPU, and etc.

    • @tennicktenstyl
      @tennicktenstyl 8 ปีที่แล้ว +5

      ComputerIT it's because minecraft.

    • @computerit7490
      @computerit7490 8 ปีที่แล้ว +5

      +Bartosz Olszewski But I'm myself redstoner, I wouldn't have been redstoner if I wouldn't know about logic gates, transistors, and etc.

  • @renatoviniciusdinizdecarva7110
    @renatoviniciusdinizdecarva7110 6 ปีที่แล้ว

    Mr. Perzold,
    Since my teenage I was curious to understand what was the BASIC PRINCIPLE a simple adding calculator could do it. When computers appeared, I soon realized that they were a giant pyramid of that same BASIC PRINCIPAL, giantly piled. And I was sure that understanding the BASIC PRINCIPLE was the core of the mystery. Thank you for having shared this video and made possible that I have finally understood that! The time laps from 7:00 through 11:00 are THE thing, and I went through them several times with intelectual excitement and curiosity to be able to re-explain to my self. I'm very happy for this.
    Thank you!

  • @clearwavepro100
    @clearwavepro100 7 ปีที่แล้ว +2

    You have a real gift at mixing information with making good communication with the audience...its really good! TY