logic gate (AND, OR, XOR, NOT, NAND, NOR and XNOR)

文章推薦指數: 80 %
投票人數:10人

The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical operation "and" followed by negation. · The NOR gate is a ... Home Topics Computerscience Electronics logicgate(AND,OR,XOR,NOT,NAND,NORandXNOR) Sharethisitemwithyournetwork: By TechTargetContributor Alogicgateisadevicethatactsasabuildingblockfordigital circuits.Theyperformbasiclogicalfunctionsthatarefundamentaltodigitalcircuits.Mostelectronicdevicesweusetodaywillhavesomeformoflogicgatesinthem.Forexample,logicgatescanbeusedintechnologiessuchassmartphones,tabletsorwithinmemorydevices. Inacircuit,logicgateswillmakedecisionsbasedonacombinationofdigitalsignalscomingfromitsinputs.Mostlogicgateshavetwoinputsandoneoutput.Logicgatesarebasedon Boolean algebra.Atanygivenmoment,everyterminalisinoneofthetwo binary conditions,falseor true.Falserepresents0,andtruerepresents1.Dependingonthetypeoflogicgatebeingusedandthecombinationofinputs,thebinaryoutputwilldiffer.Alogicgatecanbethoughtoflikealightswitch,whereinonepositiontheoutputisoff--0,andinanother,itison--1.Logicgatesarecommonlyusedinintegratedcircuits(IC). Basiclogicgates Therearesevenbasiclogicgates:AND,OR,XOR,NOT,NAND,NOR,andXNOR. AND | OR | XOR | NOT | NAND | NOR | XNOR The ANDgate issonamedbecause,if0iscalled"false"and1iscalled"true,"thegateactsinthesamewayasthelogical"and"operator.ThefollowingillustrationandtableshowthecircuitsymbolandlogiccombinationsforanANDgate.(Inthesymbol,theinputterminalsareatleftandtheoutputterminalisatright.)Theoutputis"true"whenbothinputsare"true."Otherwise,theoutputis"false."Inotherwords,theoutputis1onlywhenbothinputsoneANDtwoare1. ANDgate Input1 Input2 Output         1   1     1 1 1 The ORgate getsitsnamefromthefactthatitbehavesafterthefashionofthelogicalinclusive"or."Theoutputis"true"ifeitherorbothoftheinputsare"true."Ifbothinputsare"false,"thentheoutputis"false."Inotherwords,fortheoutputtobe1,atleastinputoneORtwomustbe1. ORgate Input1 Input2 Output         1 1 1   1 1 1 1   The XOR ( exclusive-OR ) gate actsinthesamewayasthelogical"either/or."Theoutputis"true"ifeither,butnotboth,oftheinputsare"true."Theoutputis"false"ifbothinputsare"false"orifbothinputsare"true."Anotherwayoflookingatthiscircuitistoobservethattheoutputis1iftheinputsaredifferent,but0iftheinputsarethesame.    XORgate Input1 Input2 Output         1 1 1   1 1 1     Alogical inverter,sometimescalleda NOTgate todifferentiateitfromothertypesofelectronicinverterdevices,hasonlyoneinput.Itreversesthelogicstate.Iftheinputis1,thentheoutputis0.Iftheinputis0,thentheoutputis1.      InverterorNOTgate Input Output 1     1   The NANDgate operatesasanANDgatefollowedbyaNOTgate.Itactsinthemannerofthelogicaloperation"and"followedbynegation.Theoutputis"false"ifbothinputsare"true."Otherwise,theoutputis"true." NANDgate Input1 Input2 Output     1   1 1 1   1 1 1     The NORgate isacombinationORgatefollowedbyaninverter.Itsoutputis"true"ifbothinputsare"false."Otherwise,theoutputis"false." NORgate Input1 Input2 Output     1   1   1     1 1     The XNOR(exclusive-NOR)gate isacombinationXORgatefollowedbyaninverter.Itsoutputis"true"iftheinputsarethesame,and"false"iftheinputsaredifferent. XNORgate Input1 Input2 Output     1   1   1     1 1 1 Complexoperationscanbeperformedusingcombinationsoftheselogicgates.Intheory,thereisnolimittothenumberofgatesthatcanbearrayedtogetherinasingledevice.Butinpractice,thereisalimittothenumberofgatesthatcanbepackedintoagivenphysicalspace.ArraysoflogicgatesarefoundindigitalICs.AsICtechnologyadvances,therequiredphysicalvolumeforeachindividuallogicgatedecreasesanddigitaldevicesofthesameorsmallersizebecomecapableofperformingever-more-complicatedoperationsatever-increasingspeeds. Compositionoflogicgates Highorlowbinaryconditionsarerepresentedbydifferent voltage levels.Thelogicstateofaterminalcan,andgenerallydoes,oftenchangeasthecircuitprocessesdata.Inmostlogicgates,thelowstateisapproximatelyzero volts (0V),whilethehighstateisapproximatelyfivevoltspositive(+5V). Logicgatescanbemadeof resistors andtransistorsordiodes.Aresistorcancommonlybeusedasapull-uporpull-downresistor.Pull-upandpull-downresistorsareusedwhenthereareanyunusedlogicgateinputstoconnecttoalogiclevel1or0.Thispreventsanyfalseswitchingofthegate.Pull-upresistorsareconnectedtoVcc(+5V),andpull-downresistorsareconnectedtoground(0V). Commonlyusedlogicgatesare TTL andCMOS.TTL,orTransistor-TransistorLogic,ICswilluseNPNandPNPtypeBipolarJunction Transistors.CMOS,orComplementaryMetal-Oxide-Silicon,ICsareconstructedfromMOSFETorJFETtype FieldEffectTransistors.TTLIC'smaycommonlybelabeledasthe7400seriesofchips,whileCMOSICsmayoftenbemarkedasa4000seriesofchips. ThiswaslastupdatedinDecember2020 ContinueReadingAboutlogicgate(AND,OR,XOR,NOT,NAND,NORandXNOR) ChoosebetweenNANDvs.NORflashmemory NORflashmemoryprovesagoodfitforrobotics,IoTdevices TheendofMoore'slawforSSDperformance Electronicstutorialscoverslogicgates Basiclogicgatesandfunctions RelatedTerms accumulator Anaccumulatorisatypeofregisterforshort-term,intermediatestorageofarithmeticandlogicdatainacomputer'scentral... See complete definition space Spaceisatermthatcanrefertovariousphenomenainscience,mathematicsandcomputingandgenerallyencompassestheconcept... See complete definition Transistor Atransistorisaminiaturesemiconductorthatregulatesorcontrolscurrentorvoltageflow. See complete definition WordoftheDay blendedthreat Ablendedthreatisanexploitthatcombineselementsofmultipletypesofmalwareandusuallyemploysvariousattackvectorstoincreasetheseverityofdamageandthespeedofcontagion. 20NewestandUpdatedTerms parser accesscontrol digitalaccessibility Whatisobservability?Abeginner'sguide expertsystem bitwise blendedthreat Lightning(SalesforceLightning) CONFIG.SYS DigitalOcean Intel FileAllocationTable(FAT) resourceallocation GreatFirewallofChina virtualasset chiefdigitalofficer(CDO) DataDefinitionLanguage(DDL) POSIX(PortableOperatingSystemInterface) voltpermeter(V/m) hardwaresecurity LatestTechTargetresources Networking Security CIO HRSoftware CustomerExperience SearchNetworking virtualnetworkfunctions(VNFs) Virtualnetworkfunctions(VNFs)arevirtualizedtasksformerlycarriedoutbyproprietary,dedicatedhardware. networkfunctionsvirtualization(NFV) Networkfunctionsvirtualization(NFV)isanetworkarchitecturemodeldesignedtovirtualizenetworkservicesthathave... overlaynetwork Anoverlaynetworkisavirtualorlogicalnetworkthatiscreatedontopofanexistingphysicalnetwork. SearchSecurity accesscontrol Accesscontrolisasecuritytechniquethatregulateswhoorwhatcanvieworuseresourcesinacomputingenvironment. blendedthreat Ablendedthreatisanexploitthatcombineselementsofmultipletypesofmalwareandusuallyemploysvariousattackvectorsto... encryption Encryptionisthemethodbywhichinformationisconvertedintosecretcodethathidestheinformation'struemeaning. SearchCIO resourceallocation Resourceallocationistheprocessofassigningandmanagingassetsinamannerthatsupportsanorganization'sstrategic... chiefdigitalofficer(CDO) Achiefdigitalofficer(CDO)ischargedwithhelpinganenterpriseusedigitalinformationandadvancedtechnologiestocreate... securityaudit Asecurityauditisasystematicevaluationofthesecurityofacompany'sinformationsystembymeasuringhowwellitconforms... SearchHRSoftware performanceandaccountabilityreporting(PAR) Performanceandaccountabilityreporting(PAR)istheprocessofcompilinganddocumentingfactorsthatquantifyan... chiefhumanresourcesofficer(CHRO) Chiefhumanresourcesofficer(CHRO)isatop-levelmanagementexecutiveinchargeofanorganization'semployees. talentmanagement Talentmanagementisaprocessusedbycompaniestooptimizehowtheyrecruit,trainandretainemployees. SearchCustomerExperience implementation Implementationistheexecutionorpracticeofaplan,amethodoranydesign,idea,model,specification,standardorpolicyfor... firstcallresolution(FCR) Firstcallresolution(FCR)iswhencustomerserviceagentsproperlyaddressacustomer'sneedsthefirsttimetheycall. customerintelligence(CI) Customerintelligence(CI)istheprocessofcollectingandanalyzingdetailedcustomerdatafrominternalandexternalsources... Close



請為這篇文章評分?