XOR & the Half Adder - Computerphile

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • XOR, an essential logic operation, explained by Professor Brailsford. Continues our series on logic gates/operations.
    AND OR NOT - Logic Gates Explained: • AND OR NOT - Logic Gat...
    Binary Addition & Overflow: • Binary Addition & Over...
    Capturing Digital Images (The Bayer Filter) : • Capturing Digital Imag...
    Flip Flops, Latches & Memory Details: • Flip Flops, Latches & ...
    The Virtual Reality Cave: • The Virtual Reality Ca...
    XOR Easter Egg: • XOR Easter Egg - Compu...
    The Professor's Notes: bit.ly/1BZARJI
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscom...
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

ความคิดเห็น • 320

  • @DarrenLandrum
    @DarrenLandrum 10 ปีที่แล้ว +377

    "XOR and the Half Adders" is surely a good name for a band.

  • @Faranae
    @Faranae 7 ปีที่แล้ว +82

    I spent 40 minutes of a lecture completely lost on this until my professor threw this video on "since he finished early" (he was lecturing at Mach 10, no wonder). Professor Brailsford is absolutely charming and explains things perfectly, with just enough fluff to hold interest but without veering off track. Thank you for the video, and I'm looking forward to binge-watching this channel in the near future.

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

      @PIYUSH YADAV Someone doesn't understand hyperbole.

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

      I am currently in the process of binge watching this channel.

  • @latedeveloper7836
    @latedeveloper7836 4 ปีที่แล้ว +25

    1:35 Drawing the XOR gate in a logic diagram
    2:30 Different names for an XOR gate
    2:40 3-bit binary adder example
    3:10 Example binary adder (without carrying)
    3:45 Considering XOR with carry over
    4:10 Drawing a logic diagram for a 1-bit part binary adder (or 'half adder')
    5:05 How to generate the carry out bit
    6:45 Full 1-bit adder
    8:17 Overall truth table for all
    8:53 Summary and round-up

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

    This professor does an outstanding job of explaining. I used to program in 8080 and Z-80 assembly language and I learned a few things here myself. That's a very nice, clean way to do a half-adder.

    • @DennisHolmberg-sl1hz
      @DennisHolmberg-sl1hz ปีที่แล้ว

      6502 on my side, they chose EOR, a carry over from Motorola's 6800 instruction set when Chuck Peddle skunk-worked MOS Technology from them; same instruction though.

  • @aenygma
    @aenygma 10 ปีที่แล้ว +48

    Good lord I love this man! Great energy and zeal.
    I wish i had professors like Prof. Brailsford in my formative years.

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

    This better explained in 9 minutes what a half adder is than my professor could explain in 60.

  • @IznbranahlGoose
    @IznbranahlGoose 10 ปีที่แล้ว +111

    He came so close but I wish he would have explained that a 'full adder' is basically two half-adders plus an OR gate.

  • @spencerhon288
    @spencerhon288 8 ปีที่แล้ว +26

    I could listen to this guy all day!

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

    This guy is AWESOME, I love his explanations, and his demeanor all together great.

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

    I just love this professor. After all these years, he is still so excited about computers.

  • @Heschoscho
    @Heschoscho 10 ปีที่แล้ว +50

    bad memories came to my mind while watching this Video...
    just 2 month before I build an 8 bit binary full adder only with BC547 transistors, 10 and 1k resistors as a school project.
    I have to say: So many things can go wrong. It's just a pain in the back. especially when you only have 3 weeks and have to go to school.
    but in the end it worked. Now I'm worried about my grade :DUpdate: got an A+ :DD

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

      Fortunately I only had to build a 32bit ALU in verilog.

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

      Derek Leung
      Just got out of a 16 bit carry lookahead adder in VHDL

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

      Heh, do "From nand to tetris" -that's fun. "Oh, just build a computer"...

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

      Markus Mines I have done a small amount of transistor logic using 2N3904 transistors, but they are rated for slightly higher current (NPN, 250mA);also some 2N2222A transistors (NPN, 800mA);and MJE3055T (NPN, 8A);and IRF540N (N-MOSFET, 33A).usually, the smaller transistors are for signaling and logic, and bigger transistors are for driving loads (such as electric motors).a lot of it is mixed digital and analog electronics, with parts operating at different voltages (3.3v, 5v, 12v, and sometimes higher, ex, 15v-24v).transistor logic isn't really fun, much easier to do any non-trivial
      logic using microcontrollers or a Raspberry Pi or similar... (leaving the discrete electronics mostly to non-logic tasks).wouldn't look forward to building complex digital circuits with transistors.most complex I built was a circuit for running bipolar stepper motors with transistors (sadly/ironically, thus far works better than my attempts at using driver ICs).NPNs are good for small digital circuits, and have good properties for analog, but the drawback of generating considerable amounts of heat. a few of my NPN-based circuits (simple analog logic) are actually insulated with silicone caulk and run while submerged in water for this reason, and may actually cause the water to start boiling off the transistors while running (yes, actually built the thing to run underwater...).MOSFETs, however, are more expensive and don't deal as well with analog signals (in a simple sense, they like to behave more like on/off switches).well, and of course, a lot of this stuff is wire-wrap (typically with 24 gauge wire, or thicker for higher loads), and a lot of resistors, capacitors, and a few ICs and other things in the mix as well...but, it is worthwhile I guess...

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

      +Brendan Bohannon The npn transistors you use for digital logic that give off heat, are you using resistors for that? It shouldn't overheat like that for simple digital logic.

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

    Every video with Prof. Brailsford in it gets an instant thumbs up from me :)

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

    I remember learning about XOR in electronics and graphics when I was a kiddie. I thought it was SO amazing. Drawing moire-patterns and trying to make a full adder... oh happy days.

  • @evil-robot
    @evil-robot 6 ปีที่แล้ว +1

    This guy is the best. Putting in my application for Grandson right now.

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

    Taking a class where we have to build these and test them on a circuit. Very helpful video. Thank you!

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

    I think it will be a great followup to this series if it is explained why a four bit adder is more efficient than adding up four full adders and what is the most efficient adder.

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

    Computerphile makes my brain happy.

  • @jena_thornwyrd
    @jena_thornwyrd 10 ปีที่แล้ว +55

    I've implemented a 8bits full-adder in Minecraft, that helped me A LOT ! :)

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

      I did a 24 bit full - adder, why 24? Because it got real boring after 23... ;)

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

      hmmm, without mod, I doubt, you would have been out of chunk loaded area :)

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

      Ya, you're probably right, must have been half-adders, I don't remember, my bad (Still got boring after 24):)

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

      XD

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

      kanethornwyrd On second thought, I think I got a full adder to work in like 9x5 blocks or something. But I might be mistaken ;)

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

    I've started working with assembly about a month ago. Learned to love the xor operation.
    swap 2 registers? xor that shit.
    set a register to 0? xor that shit.
    modulo(2^n)? xor that shit!
    Also if you look at the table for the fulladder you can actually read it as binary number.
    bin:1 1 1 = 11
    dec:1+1+1 = 3
    bin:1 0 1 = 10
    dec:1+0+1 = 2
    So you can very easily see that the circuit is in fact a fulladder :)

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

    I just wanted to thank you for taking the time to do this. I really appreciate this video.

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

    This guy is such an amazing teacher

  • @Zen-lz1hc
    @Zen-lz1hc 2 ปีที่แล้ว

    I never been so excited about a Half Binary Adder :)

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

    Perfectly constructed video, well done Prof!

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

    For over a year I have been playing a video game with logic gates in it and I made a bunch of simple games like tic tac toe and dots and boxes but I could never figure out how to make a calculator and now just looking at videos for fun I see this explaining how to do simple addition with logic gates.

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

    Wait a minute. I'm out of redstone.

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

      Lol

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

      ÀAAaaàÀà@@asaffisher8890

    • @t-rex1488
      @t-rex1488 3 ปีที่แล้ว +1

      i have like two stacks of torches though...

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

    Such a nice way of presenting these logical operations. Unfortunately, at least for me, in school ,they didn't get presented as nice, felt a bit more complicated than it really is and less interesting.

  • @charfractal9441
    @charfractal9441 9 หลายเดือนก่อน

    this video changed my life

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

    8:25
    cin تعني ما أحمله باليد واحد
    a,b حاصل جمع عددين عاديين فإذا كان صفر أضف ما كان لديك في اليد واحد (cin) إلى الأحاد كما في الحالة الثانية
    إذا كان
    a+b=2 اي 10 في النظام العشري قم بحملها في الcout الحالة قبل النهائية

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

    I'm not even religious but GOD BLESS THIS GUY!!!! He is so amazing.

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

    My jaw dropped when he did the addition. I can't believe that works

  • @T--xo2uq
    @T--xo2uq 6 ปีที่แล้ว +3

    I've thought of a way to make a half adder using only 3 gates. A xor gate is made from a or gate with the inputs tied to a Nand gate controlling the output. If you replace the carry out with a signal from the and gate before it is inverted. I have tested this shortcut in Minecraft with success.

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

      I know it's 5 years later, but the problem with this idea is that an or gate in itself is 4 nand gates(you need to invert both inputs and output) or 2 nor gates(invert the output). There is no way to electronically do an or gate directly. So while you are correct in a sense that an half-adder can be done in three operations, unfortunately one of those operations requires 4 gates to do.
      TL;DR
      Yes, as long as you ignore the fact that the OR gate is actually 4 NAND gates, since we can't make an OR gate directly, unlike a NAND or NOR gate.

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

    Yes; we all knew immediately and without thinking about it all that binary 101 is 5, because only awesome people like us watch this channel!

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

      we did? of course we did!
      .>

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

    Wow, this is an amazing description of the half adder. Really enjoyed this video!

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

    so helpful, best explanation ever- really going to help with my exams :))

  • @rich1051414
    @rich1051414 8 ปีที่แล้ว

    If you want to know the 'equivalency' gate, its XNOR. XOR with a NOT(inverter) tacked on. It returns a 1 if both inputs are the same.

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

    this video is a gem 💎

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

    I'm surprised there was no mention that XOR on {0, 1} forms an abelian group. It is the only logical operation that has such a nice structure afaik

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

    Excellent video for basic logic gates.

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

    Fantastic communicator and teacher -- thank you

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

    I've often seen XOR notation use the '^' symbol, e.g. A ^ B. I'm surprised that one was left out. It's very common in programming languages.

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

      @Connor Gaughan Actually, that’s (A∨B)∧¬(A∧B). ∧ and ^ are different symbols.

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

    Nice. Now blow everyone's minds with the SR and type D latches.

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

    Brilliant teacher

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

    i was bored so a coded a little binary converter, thanks for the easter egg

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

    A full adder can be done as follows: first bit: xor them & and them together, carry the and gate result to the next bit. All other bits: is there a carry bit? If so, xnor them together and or them together. Carry the or result. Otherwise, repeat the first bit process.

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

    Brings back the memories of hours spend on redstone machinery

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

    I built an 8 bit adder on my own PCB once, so satisfying

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

    Konrad Zuse realized his first (mechanical!) computer Z1 in 1938 which could add and subtract numbers. Not just integer numbers, but also floating point numbers. The machine consists of 30.000 parts. It was the first working computer having input, output, memory and a central processing unit.

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

    yess!!!! my favorite topic logic gate how the magic works!!!! i subscribed because of this video! and liked!

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

    Isn't it easier to think of the circuit as two half adders with the carry outputs OR-ed together ? Provided you convince yourself that it is impossible for both half adders to produce a carry, I think this gives more insight.

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

    beautiful beautiful video understood straight away

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

    It's 4:30am, I'm tired as hell, and this still made sense. There's something wrong with me.

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

    thanks, you are such a great proffesor

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

    I love the video thumbnail with the half snake (indeed a half adder) :D :D

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

    This is a fantastic video

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

    This makes it easy to do subtraction with 2's complement: Invert the bits for B and carry in a 1.

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

    Loved this video!! Loved Loved LOVED this video. ❤️👍🏻😁

  • @cmd5303
    @cmd5303 8 ปีที่แล้ว

    this guy is great.

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

    I like to think of the xor giving an output if the number of inputs on is odd and it doesn't give an output if the number of inputs on is even. That way it works for if you have a lot of inputs into a single xor gate.

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

    You explained that so elegantly, I couldn't of explained it that well

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

    I know all this things but still I hear this things as a story , when professor explains...

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

    One important thing that you forgot to talk about is that XOR is not just a way to have output 1 only if you have 1 input signal. In fact, if we have 6 input XOR gate, 1 on the output will apprear only, when the sum of input signals is not even. For example: 1 signal on input gives us 1 on output, but if we apply 3 signals on input, it still gives us 1 on the output. 5 signals on the input - still 1 on the output. 0,2,4,6 - even numbers - so there is no signal on the output.

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

      I'm pretty sure they stuck to two inputs for simplicity, and because it ties into their earlier logic addition content. Besides, a 6 input XOR is just five regular two input XOR gates stuck together. You start by putting three pairs through, and getting three outputs. You put outputs 1 and 2 through another XOR, and then take that result, along with you third output through the last XOR. I'm sure there is a smarter (at least less transistor heavy) way to do it, but you don't need dedicated 6 input XOR gates, just like you don't need more than two inputs on any other logic gate. AND and OR gates combine into their respective 6 input versions the same way as XOR.

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

      Improbabilities You are certainly right.

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

    Thanks sir ❤️

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

    Love this guy.

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

    Will or did you guys do a video on Karnaugh maps?

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

    I wonder if the professor is going to cover methods to derive these expressions from truth tables. That might help the layman understand why the full adder looks the way it does and how to derive the gate sequence without memorizing it.

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

      You can do it out of the truth table. Try to draw it on a paper. Start with the half adder. Then try it like this: if a & b are 1, and the carrier is 1, output should be 0 and carrier 1 etc... write this down and try to figure out how to place the and, or & xor gates, it'll work.

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

      Merthalophor I know how to do it myself. I'm just curious if they are going to cover Boolean Algebra, K-maps, etc. For instance, every time you have an output that equals 1, add a term to your OR expression that guarantees only that combination of inputs equal 1.
      Your regular output would be
      (~A^~B^C)v(~A^B^~C)v(A^~B^~C)v(A^B^C)
      Which eventually can be converted to
      (A XOR B) XOR C
      Your carry output would be
      (~A^B^C)v(A^~B^C)v(A^B^~C)v(A^B^C)
      Which eventually can be converted to
      ((A XOR B)^C)v(A^B)
      or
      (A^B)v(B^C)v(AvC)

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

      iabervon I wouldn't say never. You can always get to the triple-input XOR, and I think it is important to learn how. Also, I'm more concerned with the average viewer trying to figure out the Cout expression on their own, which can help teach them how to figure any expression on their own.

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

      KrunchyGoodness I'm hoping there will be a Karnaugh map video at some point. I think they make most sense when talking about something like instruction decoding, where you've got a really arbitrary truth table you have to implement, rather than one with structure you can reason about, so I'm fine with saving it for later. Also, it's worth talking about glitches first, because avoiding glitches is an important use of Karnaugh maps.

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

    The title should include the Full Adder as well since it was mentioned as well ;-)

  • @mustafatalaeezadehkhousani4856
    @mustafatalaeezadehkhousani4856 8 ปีที่แล้ว

    Also explaining the peculiar way that multiplication is done in a computer will be fascinating.

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

    I really wish you were teaching my courses!

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

    The OR gate before C(out) could be an XOR as well, because both inputs can never be one, since for the bottom wire to be on I this diagram, A AND B has to be on, and for the top wire, C(in) and the output of A XOR B has to be on, but A XOR B will not be on since A AND B was on. So you only need two types of logic gates for this!

  • @lewisb8634
    @lewisb8634 8 ปีที่แล้ว

    Absolutely fantastic! Thank-you for sharing! :)

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

    what a pleasure a presentation with a UK accent to avoid the littering of rouloulou accent from India!

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

    I love this professor :D

  • @lokynokey4822
    @lokynokey4822 8 ปีที่แล้ว

    What is the purpose of the "carry in" shown at the end? How does it exactly fit into a mathematical expression?

    • @RedBloodChannel
      @RedBloodChannel 8 ปีที่แล้ว

      I think a carry in, is if you carry 1 but in he number, so you have to add it to the next column wich already exists. But i'm not sure.

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

    Gotta love the 1980s printer paper pad

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

    Lol, speaking of binary adders I managed to make a 4 bit binary adder in Minecraft without knowing any logical operations other than AND and OR... I literally just brute forced it for like 10 hours and found a design that was highly impractical but worked, and then I found out that the inputs were the wrong way round and it was carrying the wrong way round too XD so I had to rewire a load of stuff.

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

      Gg

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

      tl;dr:
      a⊕b = (a+b)&¬(a&b)
      and
      a⊕b = (a&¬b)+(b&¬a)
      you can actually construct xor from and and or by starting with an approximation and refining it.
      I can start with approximating a⊕b with a+b. this gets 3 out of four correct.
      I can then look at what the incorrect one should be(0) and what conditions make that case(a=b=1)
      I can take the result of my first approximation and and it with 0 to force it to be zero, but I only want this to happen for this fourth case.
      so now I have a⊕b as (a+b)&c where c is zero if and only if a=b=1. sounds a lot like not and, doesn't it?
      then we have a⊕b = (a+b)&¬(a&b)
      another way to construct boolean functions for any arbitrary truth table is to find all of the cases where the result is one, create an expression that is only true under those circumstances, and or those expressions together. that ends up with a⊕b=(a&¬b)+(b&¬a)

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

      faissialoo well here's a XOR in Boolean. A⊕B = (A∨B) ∧ ¬(A∧B).But if you're gonna make a XOR in Minecraft I'd prefer (A ∧ ¬B) ∨ (¬A ∧ B) as it's simpler to understand.The second one is easier to follow in my opinion. ∨ = OR ∧=AND ¬=NOT ⊕=XOR

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

      Merthalophor every logical function is derived from OR and NOT. All computational can be done with just those two and all other gates are derivations of them.

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

      Nickster258 Both work. You're _wrong_. "All other gates *can be devirated from them".

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

    it is interesting that, if you have a xor gate it is synonymous with a 1 bit quarter adder, in the same way that if you have 1 proton particle it is synonymous with a atom hydrogen

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

    Best easter egg ever :D

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

    This dude is hardcore!

  • @wishcraft4u2
    @wishcraft4u2 8 ปีที่แล้ว +34

    My only complaint is HE ALWAYS GETS HIS HANDS IN THE WAY WHEN I TRY TO PAUSE TO SEE THE SCHEMATIC lol

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

      wishcraft4u2 LOL I had to pause the truth table a few times to make sure I understood it all too. He's an excellent teacher!

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

      hehe i can get it if i watch for like 2 to 4 times

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

      Blame camera's pos

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

    Super hardcore? We made this full adder the first semester of computer science at Uni. First on paper, then implemented it on a circuit board. Granted, it wasn't a walk in the park.

  • @sachitsharma1661
    @sachitsharma1661 3 หลายเดือนก่อน

    Thank you so much !!!!

  • @thogameskanaal
    @thogameskanaal 8 ปีที่แล้ว +106

    Is Bill Gates a logic gate?

    • @mrustbanger
      @mrustbanger 8 ปีที่แล้ว +22

      Yeah, whatever input goes through it always comes out much larger.

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

      lol

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

      a set of gateS; And, Or, Xor, Not, Nand, & Nor.

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

      And gate , Or gate, Nor gate, nand gate,.........,bill gate 😂

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

      😂😂😂

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

    7:16 "easter egg"?

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

    I already guessed what 7:18 says.
    ( I translated it afterwards and jup. I was right!)

  • @42isTh3Answ3r
    @42isTh3Answ3r 9 ปีที่แล้ว

    Why the last stage of carry out is an OR and not a XOR? It can't have two 1 at the same time as input

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

    can you show me the circuit of a full adder attached to an output and an input

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

    How do you do an Xor on two whole numbers or base 10 numbers?

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

    do n=np problem :)

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

    If anyone found this at all unclear, I urge you to go watch the Numberphile video titled "Domino addition". It shows this exact thing using dominoes and is even simpler.

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

    Thank God there are smart people in this world who come up with this stuff. We dumb people would be living in caves if were left up to us.

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

    So how do you use it in a situation where you can't carry a bit?

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

    demasiado claro!!

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

    With all these parallel inputs needed, is there a gate that takes one input and generates two outputs? It seems all of these gates decrease the number of signals, what does the reverse?

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

      Gareth Dean Multiplexers. Binary number on input defines which of output wires is active. Of course that consists of applying technically separate logical function on inputs for each output wire.

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

      kasuha
      Cool, thanks.

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

      kasuha What you described is a Decoder. A Multiplexer has one Data input, n select inputs and 2^n outputs. The binary number on the select input defines which output the input signal is forwarded to.

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

      swiss It's a while since I stopped having fun with designing hardware circuits, I'd swear we used to call these parts that but apparently I was wrong. It's even a demultiplexer actually. I'd guess we were just lazy to use such a long name for a part we were using all so often.

  • @navin.thamindu
    @navin.thamindu 5 ปีที่แล้ว

    What is carry? what does it used for?

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

    feels good that I figured this out myself in minecraft

  • @eliotcougar
    @eliotcougar 10 ปีที่แล้ว +8

    I remember building that in Minecraft "Redstone logic"...

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

    Can someone give me the link to the concept of carrying, if they did a video on it. Or an external link perhaps. Or just a brief run down. Thanks.

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

    Could the third OR gate be an XOR as well?

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

    One thing that always kind of irks me is that people usually show the diagram... and then the table.
    When, in most cases, you model your diagram after that table.
    It's like showing a house, giving me a full tour, then showing me the blueprints to assure me the outlets actually work.
    Let me put it like this: The table is the 'what it needs to do' and the diagram the 'how do you do it'. I don't know how you're doing what if I don't know what it needs to do.

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

    I love this man!