Logic Gates : XOR and XNOR gates Explained | XOR and XNOR gate as Inverter

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ค. 2024
  • In this video, the XOR gate and XNOR gates are explained in detail.
    In this video, two input XOR and XNOR gates, the applications of XOR and XNOR gates, and the XOR and XNOR gates with more than 2-inputs are explained. And at the end, how XOR and XNOR gates can be used as an inverter (as NOT gate) is also explained.
    Chapters:
    0:00 Introduction
    0:35 XOR gate
    6:26 XNOR gate
    16:00 XOR and XNOR gate as Inverter
    XOR gate (Exclusive OR Gate):
    The output of the 2-input XOR gate is high when both inputs are different. It can also be implemented using three basic gates. (AND, OR, and NOT gate). In this video, the implementation of the XOR gate using three basic gates is shown.
    In general, the output of the n-input XOR gate is high (logic '1'), when an odd number of inputs is high or logic '1'.
    Typically, more than a 2-input XOR gate is not readily available and it is implemented using multiple 2-input XOR gates.
    XNOR gate:
    The output of the XNOR gate is the complement of the XOR gate output. The output of the 2-input XNOR gate is high (logic '1' ) when both inputs are same. (either logic '0' or logic '1'). The XNOR gate can also be implemented using the three basic gates. (AND, OR, and NOT gates). In this video, the implementation of the XNOR gate using three basic gates is shown.
    In general, for the n-input XNOR gate, the output is high (logic '1') when the even number of inputs is high (logic '1').
    Similar to the XOR gate, more than 2-input XNOR gates are not readily available. And they are implemented using the 2-input XOR and XNOR gates.
    Applications of XOR and XNOR gate:
    1) Arithmetic Operations (Adder and Subtractor)
    2) Code Converter
    3) Error Correction and Error Detection
    Multisim Simulation Link:
    www.multisim.com/content/kKC9...
    This video will be helpful to all the students of science and engineering in understanding the XOR and XNOR gates.
    #ALLABOUTELECTRONICS
    #LogicGates
    Support the channel through membership program:
    / @allaboutelectronics
    --------------------------------------------------------------------------------------------------
    Follow my second channel:
    / @allaboutelectronics-quiz
    Follow me on Facebook:
    / allaboutelecronics
    Follow me on Instagram:
    / all_about.electronics
    --------------------------------------------------------------------------------------------------
    Music Credit: www.bensound.com
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Timestamps:
    0:00 Introduction
    0:35 XOR gate
    6:26 XNOR gate
    16:00 XOR and XNOR gate as Inverter

  • @Itsme-qk7vg
    @Itsme-qk7vg 10 หลายเดือนก่อน +4

    Why I didn't find your channel before 😅 regret!! 😮any how your video lectures helped me lot thank you so much.🤟

  • @otaku4life549
    @otaku4life549 2 หลายเดือนก่อน +1

    Your videos has helped me tremedeously in preparing for my final exams. Thank you so much for your efforts. It just saved my ass from failing this subject 😺

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

    Eagerly waiting for more videos on logic gates ☺️☺️

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

    Thank you so much for this lesson.

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

    Since yesterday was waiting for next video and u came 🎉🎉

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

      Yesterday is now 10 months ago

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

    Excellent lesson 👍👍

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

    I love it thank you so much 😊

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

    The output of XNOR gate is always the complement of XOR gate.
    It's just that when the number of inputs are even then we can also express the output of XNOR gate in terms of that circle dot symbol using successive XNOR gates.
    When the number of inputs are odd then the output is either the complement of 3 input XOR gate or complement of A circle dot B circle dot C.
    When the number of inputs are odd then A circle plus B...C= A circle dot B...C
    When the number of inputs are even then A circle plus B...C= (A circle dot B...C)'

  • @abhisiktaghosh6607
    @abhisiktaghosh6607 7 หลายเดือนก่อน

    Nicely explained ❤

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

    I was just searching for these 🌞

    • @IGNOREDAT0M
      @IGNOREDAT0M 7 หลายเดือนก่อน

      I am searching you ❤️

    • @user-ec4jo8de5l
      @user-ec4jo8de5l 7 หลายเดือนก่อน

      @@IGNOREDAT0M bro 💀 did you find her?

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

    Sir what software are you using

  • @madhumohan5605
    @madhumohan5605 7 หลายเดือนก่อน

    Super sir

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

    10:50 for n input xnor gate when even number of inputs are high then output is also high. But it is not following according to this generalized way. As if we consider 3 input XNOR GATE as follows:
    A(XNOR)B(XNOR)C = 0(XNOR)0(XNOR)1= 1 (i.e. odd number of one's)
    Similarly 0(XNOR)1(XNOR)0= 1(i.e. odd number of one's)
    And for even number of 1s it is giving me 0 as output .
    Considering above XNOR expression
    0(XNOR)1(XNOR)1=0 ( i.e. even number of 1s)
    1(XNOR)0(XNOR)1=0 ( i.e. even number of 1s)
    I have two conclusions for n input xnor gate:
    1. For even inputs, output is logic high if number of logic high inputs are even.
    2. For odd inputs, output is logic high if number of logic high inputs are odd.

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

    Thankyou sir I have understood this concept only cause of you 💫

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

    Plz do Boolean laws too 🙏🙏and demorgan laws

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

    Thank you.

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

    You have old videos of more complicated topics in detail . I couldn't join college after 12 . If you can make a playlist of videos from start to end in a sequence or like a course it will be much more helpful . Currently I'm unable to follow . Please do this . I don't follow any curriculum but I want to be a good engineer one day.

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

      There are various playlist for the different subjects ( basic electronics, digital electronics, analog electronics, network analysis etc ). Please check the playlist page of the channel. You will find it.

    • @mpkdon
      @mpkdon 3 วันที่ผ่านมา +1

      Hope u doing well?

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

    Best🌈🦄👌🏻👍🏻

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

    Why are resistors in ohms and megaohms difficult to fabricate, why we use it in kiloohms generally?

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

      They are also used. It depends on the application. In digital electronics, typically the external resistors used with the digital circuits are in kilo ohm. But sometimes the other resistors are also used. And apart from digital electronics, in many other applications the resistors in ohms and mega ohms are used quite often.

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

    Sir how to simplify XOR Gate to XNOR? How to show A'B'(+) AB.

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

      You mean, you want to covert the XOR gate to XNOR right !! If so, then you just need to add the NOT gate after the XOR gate.

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

    I couldn't understand gate structure

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

    Sir,when we take 2 inputs for X-OR gate, in the truth table why for A=1,B=1 we get Y=1? Isn't it Y=0? Sir, please answer me. My Digital Electronics 1 exam is knocking at the door😭

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

      For two input XOR gate, when both inputs are 1, then output is 0. You can check the truth table at 1:19

    • @sutopasarkar497
      @sutopasarkar497 11 หลายเดือนก่อน +2

      ​@@ALLABOUTELECTRONICS
      Thank you sir. Best of luck. Keep up the hardwork❤

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

    XNOR si bascially the same as AND

  • @Mohamed-xz1fq
    @Mohamed-xz1fq หลายเดือนก่อน

    12:31 I think the line 1 z must be 0

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

      Output will be 1 when odd number of inputs are 1. When all three inputs are 0, then output will be 0. Hence, z is 0 in the first case.

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

    What you are trying to say by 3:24 "we can say that it's output is equal to ONE when odd number of inputs are high" ????? It's confusing because the way you identifying odds and evens. which one are odds and which one are even????

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

      In the input, if there is odd numbers of 1s (1,3,5 etc) then output of the XOR gate will be 1. I hope, it will clear your doubt.

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

      @@ALLABOUTELECTRONICS TQ let see, by the way good work.

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

      @@ALLABOUTELECTRONICS But in X-NOR gate you say the function is high(1) when Even number of input is high(1) but why 0 0 0 =1 (high) , Although there is no any even high(1) output.
      How it becomes 1?

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

      You also need to include the case when all the inputs are 0. That means when no inputs are high or when even numbers or inputs are high.

    • @busisiweprincess631
      @busisiweprincess631 8 หลายเดือนก่อน

      In simple terms, with regards to 3 inputs: if you have only one high(logic 1) as any input (obviously the other two inputs being low or logic 0s), You will have your output as 1. So for XOR, anywhere where there's one logic1 and two logic 0s the output will be 1.

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

    You are even number of inputs it is 0 or 1

  • @user-wv9ny9xp5z
    @user-wv9ny9xp5z 5 หลายเดือนก่อน

    10:54 how 000 is even

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 หลายเดือนก่อน

      The number of 1s are 0 (even) in 000. In short, when number of 1s are ( 0,2,4 etc) then output is 1.