Xor And Xnor Gate Truth Table & Symbol - Electrical4U
文章推薦指數: 80 %
XOR Gate Truth Table ... The above truth table's binary operation is known as exclusive OR operation. It is represented as A ⊕ B. The symbol of ... SkiptocontentMenuOctober11,2020February24,2012byElectrical4UContentsWhatisanXORGate?XORGateTruthTableXORGateCircuitDiagramLogicalSymbolofXORGateMultipleInputXORGate3InputXORGateWhatisanXNORGate?XNORGateTruthTableXNORGateCircuitDiagram3InputXNORGateApplicationsofXORGatesWhatisanXORGate?AnXORgate(alsoknownasanEOR,orEXORgate)–pronouncedasExclusiveORgate–isadigitallogicgatethatgivesatrue(i.e.aHIGHor1)outputwhenthenumberoftrueinputsisodd.AnXORgateimplementsanexclusiveOR,i.e.,atrueoutputresultoccursifone–andonlyone–ofthegate’sinputsistrue.Ifbothinputsarefalse(i.e.LOWor0)orbothinputsaretrue,theoutputisfalse.XORrepresentstheinequalityfunction,i.e.theoutputistrueiftheinputsarenotalike;otherwise,theoutputisfalse.AcommonwaytoremembertheXORis“musthaveoneortheother,butnotboth”.AnotherwaytolookatanXORgate:amodulosumoftwovariablesinabinarysystemlookslikethis:ThelogicgateperformsthismodulosumoperationwithoutincludingcarryisknownasXORgate.AnXORgateisnormallytwoinputslogicgatewheretheoutputisonlylogical1whenonlyoneinputislogical1.Whenbothinputsareequal,eitherare1orbothare0,theoutputwillbelogical0.ThisisthereasonanXORgateisalsocalledananti-coincidencegateorinequalitydetector.ThisgateiscalledXORorexclusiveORgatebecauseitsoutputisonly1whenitsinputisexclusively1.Indigitalelectronics,otherlogicgatesincludeNOTgates,ORgates,NANDgates,andNORGates.XORGateTruthTableTruthtableslisttheoutputofaparticulardigitallogiccircuitforallthepossiblecombinationsofitsinputs.ThetruthtableofanXORgateisgivenbelow:Theabovetruthtable’sbinaryoperationisknownasexclusiveORoperation.ItisrepresentedasA⊕B.ThesymbolofexclusiveORoperationisrepresentedbyaplusringsurroundedbyacircle⊕.XORGateCircuitDiagramTheaboveexpression,A⊕Bcanbesimplifiedas,Letusprovetheaboveexpression.Infirstcaseconsider,A=0andB=0.Insecondcaseconsider,A=0andB=1.Inthirdcaseconsider,A=1andB=0.Infourthcaseconsider,A=1andB=1.SoitisprovedthattheBooleanexpressionforA⊕BisAB̅+ĀB,asthisBooleanexpressionsatisfiedalloutputstateswithrespecttoanXORgate’sinputsconditions.FromthisBooleanexpression,onecaneasilyrealizethelogicalcircuitofanXORgate,andthiswillbeasshown,LogicalSymbolofXORGateAnXORgateislogicallyrepresentedas,MultipleInputXORGateAlthoughXORgatescanonlyhavetwoinputs,youcanperformtheXORoperationusinganynumberofinputs(e.g.3inputXORoperationor4inputXORoperation).MorethantwoinputsXORoperationisthat,whentheoddnumberofinputsinthegatearea1,theoutputis1,andwhennoneoreventhenumberofinputsis1,theoutputislogical0.3InputXORGateLetusrealizeanXORgatewiththreeinputsA,B,andC.Now,asperthedefinitionofXORoperationwithmorethanthreeinputs,thetruthtablewouldbe,Thistruthtablecanbeelaboratedas,Fromtheabove-elaboratedtruthtable,itisfoundthattheXORoperationofthreebinaryvariablesisequivalentto,XORoperationofonevariablewiththeresultofXORoperationsoftheothertwovariables.Fromtheabovetruthtable,WhatisanXNORGate?TheXNORgate(alsoknownasaXORN’T,ENOR,EXNORorNXOR)–andpronouncedasExclusiveNOR–isadigitallogicgatewhosefunctionisthelogicalcomplementoftheexclusiveORgate(XORgate).Logically,anXNORgateisaNOTgatefollowedbyanXORgate.TheXORoperationofinputsAandBisA⊕B;therefore,XNORoperationthoseinputswillbe(A+B)̅.ThatmeanstheoutputoftheXORgateisinvertedintheXNORgate.IntheXORgateoperation,theoutputisonly1whenonlyoneinputis1.Theoutputislogical0whenbothinputsarethesame,meaningtheyareeither1or0.ButintheXNORgate,theinverseistrue.Hencetheoutputis0whenonlyoneinputis0,andtheoutputis1whenbothinputsarethesame(i.e.eithertwo0’sortwo1’s).SeetheXNORgatetruthtablebelowforavisualrepresentationofthis.XNORGateTruthTableThetruthtableoftheXNORgateisshownbelow:ThelogicalXNORoperationisrepresentedby⊙.Thatisadotsurroundedbyacircle.TheexpressionofXNORoperationbetweenvariablesAandBisrepresentedasA⊙B.Nowagain,thetruthtableissatisfiedbytheequationAB+ĀB̅.Hence,itisprovedthatA⊙B=AB+ĀB̅.ThesamecanbeprovedbyusingK-mapalso.XNORGateCircuitDiagramTheexpressionofXNORoperationcanberealizedbyusingtwoNOTgates,twoANDgates,andoneORgateasfollowers,ThesymboloftheXNORgate:3InputXNORGateLiketheXORgate,anXNORgateonlyexistswithtwoinputs,butforXNORoperationwithmorethantwoinputs,wehavetousemorethanoneXNORgates.XNORoperationwithmorethantwoinputsislikethat.Whenthereareoddnumbersofinputsinhighorlogical1condition,theoutputwillbe0;otherwise,theoutputwillbe1.Now,Fromthiselaboratetruthtable,thelogicalsymbolofthreeinputsXNORgatecanberepresentedas,ApplicationsofXORGatesThemainapplicationoftheExclusiveORgateisintheoperationofhalfandfulladder.Ifwelookatthetruthtablecarefully,wewillfindthatthefirstthreeresultsaretotallysatisfyingtheprocessofbinaryaddition.Still,inthelastinputsequencei.e.whenboththeinputsare1,theresultaccordingtotheruleofadditionshouldbe0withacarry1.Inthetruthtable,wearegettingthedesired0butamissing1.Tosolvethisproblemwhiledesigninganadder’scircuit,anANDgateisaddedtotheEx-ORgateinparallel.Wewillshowthecircuitoftheadderindetail.Fromtheabovediagram,wecanseethatthetwoinputsaregoingthroughanExclusive-ORgateandanANDgateparallellyinthehalfaddercircuit.Andwiththiscircuit’soperation,wegetthetotalprocessofbinaryadditionsmoothly.Pseudo-randomnumbergeneration–tomodelalinearfeedbackshiftregister,Ex-ORgatesareusedandgeneratearandomsequenceofbits.WantToLearnFaster?🎓Getelectricalarticlesdeliveredtoyourinboxeveryweek.Nocreditcardrequired—it’s100%free.AboutElectrical4UElectrical4Uisdedicatedtotheteachingandsharingofallthingsrelatedtoelectricalandelectronicsengineering....RelatedArticlesTruthTables:WhatAreThey?(Truth…NANDGate:Whatisit?(Working…INHIBITGateDigitalLogicGatesLeaveaCommentCancelreplyCommentNameEmailΔRecentPostsreportthisadPleasefeelfreetocontactusifyou’dliketorequestaspecifictopic.Clickheretoseeourprivacypolicy.WeareaparticipantintheAmazonServicesLLCAssociatesProgram,anaffiliateadvertisingprogramdesignedtoprovideameansforustoearnfeesbylinkingtoAmazon.comandaffiliatedsites.Fulldisclaimerhere.xx
延伸文章資訊
- 1Exclusive OR Gate: Definition, Symbol and truth table of XOR ...
- 2XOR gate - Wikipedia
XOR gate is a digital logic gate that gives a true (1 or HIGH) output when the number of ... The ...
- 3互斥或閘- 維基百科,自由的百科全書
互斥或閘(英語:Exclusive-OR gate,簡稱XOR gate,又稱EOR gate、ExOR gate)是數位邏輯中實現邏輯互斥或的邏輯閘,功能見右側真值表。若兩個輸入的電平相異,則...
- 4XOR Gate Truth Table
Practically three or more input XOR gate does not exist. But when more than two variables are XOR...
- 5How does XOR gate Works with Truth Table and Uses - eduCBA
Truth Table of XOR gate · Case 1: When both inputs are low, that means 0. · Case 2: When one inpu...