Exclusive-OR Gate Tutorial with Ex-OR Gate Truth Table
文章推薦指數: 80 %
Good . In case of 3 input XOR gate , it's easier than 2 input XOR . Because in 3 input XOR gate minor input is the resultant output , but in ... X Registertodownloadpremiumcontent! Registertodownloadpremiumcontent! X Deutsch Polski Register LogIn ACCircuits Amplifiers Attenuators BinaryNumbers BooleanAlgebra Capacitors CombinationalLogic Connectivity Counters DCCircuits Diodes Electromagnetism Filters Inductors Input/OutputDevices LogicGates MiscellaneousCircuits OperationalAmplifiers Oscillator PowerElectronics PowerSupplies Premium RCNetworks Resistors Resources SequentialLogic Systems Transformers Transistors Uncategorized WaveformGenerators PremiumContent FurtherEducation Sitemap ContactUs Home / LogicGates / Exclusive-ORGateTutorial Exclusive-ORGateTutorial TheExclusive-ORlogicfunctionisaveryusefulcircuitthatcanbeusedinmanydifferenttypesofcomputationalcircuits Intheprevioustutorials,wesawthatbyusingthethreeprincipalgates,theANDGate,theORGateandtheNOTGate,wecanbuildmanyothertypesoflogicgatefunctions,suchasaNANDGateandaNORGateoranyothertypeofdigitallogicfunctionwecanimagine. Buttherearetwoothertypesofdigitallogicgateswhichalthoughtheyarenotabasicgateintheirownrightastheyareconstructedbycombiningtogetherotherlogicgates,theiroutputBooleanfunctionisimportantenoughtobeconsideredascompletelogicgates.Thesetwo“hybrid”logicgatesarecalledtheExclusive-OR(Ex-OR)GateanditscomplementtheExclusive-NOR(Ex-NOR)Gate. Previously,wesawthatfora2-inputORgate,ifA=“1”,ORB=“1”,ORBOTHA + B=“1”thentheoutputfromthedigitalgatemustalsobeatalogiclevel“1”andbecauseofthis,thistypeoflogicgateisknownasanInclusive-ORfunction.ThelogicgategetsitsnamefromthefactthatitincludesthecaseofQ=“1”whenbothAandB=“1”. Ifhowever,anlogicoutput“1”isobtainedwhenONLYA=“1”orwhenONLYB=“1”butNOTbothtogetheratthesametime,givingthebinaryinputsof“01”or“10”,thentheoutputwillbe“1”.ThistypeofgateisknownasanExclusive-ORfunctionormorecommonlyanEx-Orfunctionforshort.Thisisbecauseitsbooleanexpressionexcludesthe“ORBOTH”caseofQ=“1”whenbothAandB=“1”. InotherwordstheoutputofanExclusive-ORgateONLYgoes“HIGH”whenitstwoinputterminalsareat“DIFFERENT”logiclevelswithrespecttoeachother. Anoddnumberoflogic“1’s”onitsinputsgivesalogic“1”attheoutput.Thesetwoinputscanbeatlogiclevel“1”oratlogiclevel“0”givingustheBooleanexpressionof: Q = (A ⊕ B) = A.B + A.B TheExclusive-ORGatefunction,orEx-ORforshort,isachievedbycombiningstandardlogicgatestogethertoformmorecomplexgatefunctionsthatareusedextensivelyinbuildingarithmeticlogiccircuits,computationallogiccomparatorsanderrordetectioncircuits. Thetwo-input“Exclusive-OR”gateisbasicallyamodulotwoadder,sinceitgivesthesumoftwobinarynumbersandasaresultaremorecomplexindesignthanotherbasictypesoflogicgate.Thetruthtable,logicsymbolandimplementationofa2-inputExclusive-ORgateisshownbelow. TheDigitalLogic“Exclusive-OR”Gate 2-inputEx-ORGate Symbol TruthTable 2-inputEx-ORGate B A Q 0 0 0 0 1 1 1 0 1 1 1 0 BooleanExpressionQ = A ⊕ B AORBbutNOTBOTHgivesQ GivingtheBooleanexpressionof: Q = AB + AB ThetruthtableaboveshowsthattheoutputofanExclusive-ORgateONLYgoes“HIGH”whenbothofitstwoinputterminalsareat“DIFFERENT”logiclevelswithrespecttoeachother.Ifthesetwoinputs,AandBarebothatlogiclevel“1”orbothatlogiclevel“0”theoutputisa“0”makingthegatean“oddbutnottheevengate”.Inotherwords,theoutputis“1”whenthereareanoddnumberof1’sintheinputs. ThisabilityoftheExclusive-ORgatetocomparetwologiclevelsandproduceanoutputvaluedependentupontheinputconditionisveryusefulincomputationallogiccircuitsasitgivesusthefollowingBooleanexpressionof: Q = (A ⊕ B) = A.B + A.B Thelogicfunctionimplementedbya2-inputEx-ORisgivenaseither:“AORBbutNOTboth”willgiveanoutputatQ.Ingeneral,anEx-ORgatewillgiveanoutputvalueoflogic“1”ONLYwhenthereareanODDnumberof1’sontheinputstothegate,ifthetwonumbersareequal,theoutputis“0”. ThenanEx-ORfunctionwithmorethantwoinputsiscalledan“oddfunction”ormodulo-2-sum(Mod-2-SUM),notanEx-OR.Thisdescriptioncanbeexpandedtoapplytoanynumberofindividualinputsasshownbelowfora3-inputEx-ORgate. 3-inputEx-ORGate Symbol TruthTable 3-inputEx-ORGate C B A Q 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 BooleanExpressionQ = A ⊕ B ⊕ C “AnyODDNumberofInputs”givesQ GivingtheBooleanexpressionof: Q = ABC + ABC + ABC + ABC ThesymbolusedtodenoteanExclusive-ORoddfunctionisslightlydifferenttothatforthestandardInclusive-ORGate.ThelogicorBooleanexpressiongivenforalogicORgateisthatoflogicaladditionwhichisdenotedbyastandardplussign. ThesymbolusedtodescribetheBooleanexpressionforanExclusive-ORfunctionisaplussign,( + )withinacircle( Ο ).Thisexclusive-ORsymbolalsorepresentsthemathematical“directsumofsub-objects”expression,withtheresultingsymbolforanExclusive-ORfunctionbeinggivenas:( ⊕ ). WesaidpreviouslythattheEx-ORfunctionisnotabasiclogicgatebutacombinationofdifferentlogicgatesconnectedtogether.Usingthe2-inputtruthtableabove,wecanexpandtheEx-ORfunctionto:(A+B).(A.B)whichmeansthatwecanrealisethisnewexpressionusingthefollowingindividualgates. Ex-ORGateEquivalentCircuit OneofthemaindisadvantagesofimplementingtheEx-ORfunctionaboveisthatitcontainsthreedifferenttypeslogicgatesOR,NANDandfinallyANDwithinitsdesign.OneeasierwayofproducingtheEx-ORfunctionfromasinglegateistouseouroldfavouritetheNANDgateasshownbelow. Ex-ORFunctionRealisationusingNANDgates Exclusive-ORGatesareusedmainlytobuildcircuitsthatperformarithmeticoperationsandcalculationsespeciallyAddersandHalf-Addersastheycanprovidea“carry-bit”functionorasacontrolledinverter,whereoneinputpassesthebinarydataandtheotherinputissuppliedwithacontrolsignal. CommonlyavailabledigitallogicExclusive-ORgateIC’sinclude: TTLLogicEx-ORGates 74LS86Quad2-input CMOSLogicEx-ORGates CD4030Quad2-input 7486Quad2-inputExclusive-ORGate TheExclusive-ORlogicfunctionisaveryusefulcircuitthatcanbeusedinmanydifferenttypesofcomputationalcircuits.Althoughnotabasiclogicgateinitsownright,itsusefulnessandversatilityhasturneditintoastandardlogicalfunctioncompletewithitsownBooleanexpression,operatorandsymbol.TheExclusive-ORGateiswidelyavailableasastandardquadtwo-input74LS86TTLgateorthe4030BCMOSpackage. Oneofitsmostcommonlyusedapplicationsisasabasiclogiccomparatorwhichproducesalogic“1”outputwhenitstwoinputbitsarenotequal.Becauseofthis,theexclusive-ORgatehasaninequalitystatusbeingknownasanoddfunction.Inordertocomparenumbersthatcontaintwoormorebits,additionalexclusive-ORgatesareneededwiththe74LS85logiccomparatorbeing4-bitswide. InthenexttutorialaboutDigitalLogicGates,wewilllookatthedigitallogicExclusive-NORgateknowncommonlyastheEx-NORGatefunctionasusedinbothTTLandCMOSlogiccircuitsaswellasitsBooleanAlgebradefinitionandtruthtables. PreviousLogicNORGateTutorial NextExclusive-NORGateTutorial ReadmoreTutorialsinLogicGates 1.DigitalLogicGates 2.LogicANDGateTutorial 3.LogicORGateTutorial 4.LogicNOTGateTutorial 5.LogicNANDGateTutorial 6.LogicNORGateTutorial 7.Exclusive-ORGateTutorial 8.Exclusive-NORGateTutorial 9.DigitalBufferTutorial 10.DigitalLogicGatesSummary 11.Pull-upResistors 12.UniversalLogicGates 110Comments JointheconversationCancelreplyError!Pleasefillallfields. Notifymeoffollow-upcommentsbyemail. Δ Tunahan Hangon,IgotaproblemwiththethreeinputXOR.WhydoesQbecome1whenC,BandAare1?Ifit’sanEXCLUSIVEOR,shouldn’tQbecomea0insuchacase?SinceQshouldonlybecome1,whenONLYA,BORCbecomes1andtheotherremain0.OramImissingsomethinghere? PostedonMay16th2022|8:14am Reply WayneStorr Asstatedinthetutorial.Forthree(ormore)inputs,theoutputofanExclusive-ORgatehasavalueof“1”(HIGHlogiclevel)whenthereisanoddnumberof1’sasitsinputs,otherwise,itisa“0”. PostedonMay16th2022|10:06am Reply Tunahan Thankyouforyourreply!Ireallygottoproperlyreadatextbeforecommenting…Alrightfortomorrow’sexamIknowwhattodo.Hopefullymyteacherwon’tbeconfused,whenIwriteaXORtruthtable🤔 PostedonMay16th2022|11:20am Reply TatendaWeddy Good PostedonFebruary04th2022|4:34pm Reply Preciousmarcel CanacombinationofexclusiveORgateperformtheoperationsofAND,OR,NOTEgates. Pleaseprovewithdiagram PostedonAugust23rd2021|9:17pm Reply WayneStorr No,theExclusiveORgateisnotauniversalgate.Althoughifyouuseenoughofthemyoucouldgetthemtoperformotherswitchingfunctions PostedonAugust24th2021|5:24am Reply Ngongmarinus IactuallygoontothissitetocheckforinformationconcerningdigitalelectronicsandIfoundoutthatthesiteactuallyhavethebestofwhatIwanttocomparewiththeotherside.SoIgeneratethatlikenessfortheside. PostedonMay11th2021|4:41pm Reply BahrehCham Ittookmesolongtounderstandit!(A’.B)+(A.B’)=(A+B’).(A’+B)=A.(A’+B)+B’.(A’+B)=AB+(BA)’ PostedonApril26th2021|5:08am Reply SubhahariniMG Buildacircuitwithexclusiveordiagramanupuinha PostedonApril22nd2021|7:33am Reply kathu superb PostedonApril17th2021|5:12am Reply Insane ImplementEx-ORGatebetweentwoinputsofAandBusingasNORGate PostedonApril05th2021|9:26am Reply Viruddhagiri Ifthetwoinputsaresameoutputiszero.Otherwiseoutputiszero PostedonMarch09th2021|2:00pm Reply intisar UsingLogisim,drawalogiccircuitdiagramfortwovariablesinput(A⊕B)’gateoperationbyusingonlybasicgatesandwritetheBooleanexpressionforthegivencircuit. PostedonMarch04th2021|4:58am Reply PALMERSUCCESS ProcedureofExorgate PostedonFebruary23rd2021|6:27pm Reply Kathirvel Exorgateprocedure PostedonMarch09th2021|11:45am Reply Rajpatel Niceyaa PostedonFebruary17th2021|8:47am Reply ABUBAKARSADIQISAH mayAllahblessus PostedonJanuary19th2021|5:32am Reply SOHAMSINGHA Good.Incaseof3inputXORgate,it’seasierthan2inputXOR.Becausein3inputXORgateminorinputistheresultantoutput,butin2inputXORgate,sameinputcreateoutput‘0’. PostedonDecember29th2020|4:44am Reply Malli Good PostedonNovember23rd2020|5:43pm Reply AidaGuanine stopitplzzzzzz PostedonNovember01st2020|1:20pm Reply SinnehrichardMomo Iwanttobepartofconversation PostedonOctober29th2020|8:01am Reply Tarikul iwanttoacceptedyousolved. PostedonOctober19th2020|2:12am Reply Abdulwahhab Good PostedonSeptember29th2020|3:53pm Reply BOJEDLASAISUDHEER Elections🤘🏻 PostedonApril19th2020|2:15pm Reply ViewMore ReadmoreTutorialsinLogicGates 1.DigitalLogicGates 2.LogicANDGateTutorial 3.LogicORGateTutorial 4.LogicNOTGateTutorial 5.LogicNANDGateTutorial 6.LogicNORGateTutorial 7.Exclusive-ORGateTutorial 8.Exclusive-NORGateTutorial 9.DigitalBufferTutorial 10.DigitalLogicGatesSummary 11.Pull-upResistors 12.UniversalLogicGates LookingforDataSheets? Close TheBasics ContactUs PrivacyPolicy TermsofUse ForAdvertisers ContactSales MediaGuideRequest AspencoreNetwork EDN EETimes EEWeb ElectronicProducts PowerElectronicsNews EPSNews Embedded PlanetAnalog ElectroSchematics TechOnline Datasheets.com ElectronicsKnowHow IoTTimes GlobalNetwork EETimesAsia EETimesChina EETimesIndia EETimesJapan EETimesTaiwan EDNAsia EDNChina EDNTaiwan EDNJapan ESMChina ConnectwithUs Facebook AllcontentsareCopyright©2022byAspenCore,Inc.Allrightsreserved. Weusecookiesonourwebsitetogiveyouthemostrelevantexperiencebyrememberingyourpreferencesandrepeatvisits.Byclicking“AcceptAll”,youconsenttotheuseofALLthecookies.However,youmayvisit"CookieSettings"toprovideacontrolledconsent.CookieSettingsAcceptAllManageconsent Close PrivacyOverview Thiswebsiteusescookiestoimproveyourexperiencewhileyounavigatethroughthewebsite.Outofthese,thecookiesthatarecategorizedasnecessaryarestoredonyourbrowserastheyareessentialfortheworkingofbasicfunctionalitiesofthewebsite.Wealsousethird-partycookiesthathelpusanalyzeandunderstandhowyouusethiswebsite.Thesecookieswillbestoredinyourbrowseronlywithyourconsent.Youalsohavetheoptiontoopt-outofthesecookies.Butoptingoutofsomeofthesecookiesmayaffectyourbrowsingexperience. Necessary Necessary AlwaysEnabled Necessarycookiesareabsolutelyessentialforthewebsitetofunctionproperly.Thesecookiesensurebasicfunctionalitiesandsecurityfeaturesofthewebsite,anonymously. CookieDurationDescriptioncookielawinfo-checkbox-analytics11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Analytics".cookielawinfo-checkbox-functional11monthsThecookieissetbyGDPRcookieconsenttorecordtheuserconsentforthecookiesinthecategory"Functional".cookielawinfo-checkbox-necessary11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookiesisusedtostoretheuserconsentforthecookiesinthecategory"Necessary".cookielawinfo-checkbox-others11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Other.cookielawinfo-checkbox-performance11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Performance".viewed_cookie_policy11monthsThecookieissetbytheGDPRCookieConsentpluginandisusedtostorewhetherornotuserhasconsentedtotheuseofcookies.Itdoesnotstoreanypersonaldata. Functional Functional Functionalcookieshelptoperformcertainfunctionalitieslikesharingthecontentofthewebsiteonsocialmediaplatforms,collectfeedbacks,andotherthird-partyfeatures. Performance Performance Performancecookiesareusedtounderstandandanalyzethekeyperformanceindexesofthewebsitewhichhelpsindeliveringabetteruserexperienceforthevisitors. Analytics Analytics Analyticalcookiesareusedtounderstandhowvisitorsinteractwiththewebsite.Thesecookieshelpprovideinformationonmetricsthenumberofvisitors,bouncerate,trafficsource,etc. Advertisement Advertisement Advertisementcookiesareusedtoprovidevisitorswithrelevantadsandmarketingcampaigns.Thesecookiestrackvisitorsacrosswebsitesandcollectinformationtoprovidecustomizedads. Others Others Otheruncategorizedcookiesarethosethatarebeinganalyzedandhavenotbeenclassifiedintoacategoryasyet. SAVE&ACCEPT
延伸文章資訊
- 1How is an XOR with more than 2 inputs supposed to work?
You can find a XOR gate that have more than two inputs, but they are not actually a 3 input XOR. ...
- 2XOR 3 Input 邏輯閘– Mouser 臺灣
XOR 3 Input 邏輯閘在Mouser Electronics有售。Mouser提供XOR 3 Input 邏輯閘的庫存、價格和資料表。
- 3The equation for the 3-input XOR gate is derived as follows
The last four product terms in the above derivation are the four 1-minterms in the 3-input XOR tr...
- 474LVC1G386 - Nexperia
The 74LVC1G386 is a single 3-input EXCLUSIVE-OR gate. Inputs can be driven from either 3.3 V or 5...
- 5XOR 3 Input 邏輯閘規格書– Mouser 臺灣
XOR 3 Input 邏輯閘在Mouser Electronics有售。Mouser提供XOR 3 Input 邏輯閘的庫存、價格和資料表。