NAND and NOR | Spinning Numbers
文章推薦指數: 80 %
NOR gate Weintroducetwonewgates,theNANDandNOR.Thesehaveadvantagesinsizeandspeedbecauseofthewaytransistorcircuitsimplementgates. WrittenbyWillyMcAllister. Contents NANDgate NORgate WhyarethereNANDandNORgates? Conceptcheck ThefirstadditionswemaketoourcollectionofsimplegatesareNANDandNOR. NANDgate ANANDgate(shortforNOT-AND)isthesameasANDfollowedbyNOT.Youcanseehowwe’vesquishedthesymbolstogether, TheequationforaNANDgateisC=A·B ThetruthtableforNANDistheoppositeofAND.Youlistthesameinputsbutinverttheoutputoneveryrow, ThereareafewwaystothinkabouttheNANDtruthtable. DescribewhentheoutputisTRUE:TheoutputisTRUEifanyoftheinputsareFALSE. DescribewhentheoutputisFALSE:TheoutputisFALSEifbothinputsareTRUE. NORgate ANORgate(NOT-OR)isthesameasORfollowedbyNOT.WemergetheORandNOTsymbolstogethertogetNOR, TheequationforaNORgateisC=A+B ThetruthtableforNORistheoppositeofOR.Youlistthesameinputsbutinverttheoutputoneveryrow, ThereareafewwaystothinkabouttheNORtruthtable. DescribewhentheoutputisTRUE:TheoutputisTRUEifbothoftheinputsareFALSE. DescribewhentheoutputisFALSE:TheoutputisFALSEifanyinputsareTRUE. WhyarethereNANDandNORgates? WhydowebothercreatingNANDandNORgates?WhynotjuststringtogetherAND,OR,andNOTwheneverweneedto?Wehaven’tcoveredhowtobuildlogicgatesyet,buttherearesomeverygoodreasonstodefineNANDandNOR, Electroniccircuitsarenaturallyinverting. WhetheryoubuildgateswithMOSFETsorBJTtransistors,thesimplestcircuittoimplementanANDorORfunctionsalsoinvertstheoutputsignal“forfree.”Ifyouwantanon-invertinggateyouhavetoaddaninvertertoundothe“free”inversion. Simpleissmaller. Youwanttousethefewesttransistorsandthefewestgatespossible.Onagatearray,semi-customASIC,orcustomintegratedcircuit,aNANDgateisalwayssmallerthananANDgate.ANORgateisalwayssmallerthananORgate. Simpleisfaster. ThenaturallyinvertingNANDgateisalwaysfasterthanaAND+NOTcombination. Simplesavepower. Simplegateshavefewernodesthathavetochangeeverylogictransition.Fewermovingnodesmeanslesschargeissloshingaround,whichmeanslesschargehastocomefromthepowersupply.Thatmeansyourbattery-powereddigitalgizmolastsalotlonger.Wouldn’titbeniceifyourmobilephonestayedchargedforamonthinsteadofaday? Learningtodesignwithinvertinggatesisabigwin.Wearegoingtocoverthatsoon. Conceptcheck WritedownthefourtruthtablesforANDNANDORNOR,side-by-side. Compareandcontrasttheoutputpatternstounderstandhowtheyaredifferent, Describewhichinputsmaketheoutput1. Describewhichinputsmaketheoutput0. Getusedtodescribinggatesindifferentways.Oftenwhenyoudesignlogicyoustartwithaverbaldescriptionofwhatyouwantandthentranslateitintogates. Summary TheequationforaNANDgateisC=A·B TheequationforaNORgateisC=A+B Evenifyouneverplantodesigndigitalhardware,itisgoodtoappreciatewhyinvertinggates(NANDandNOR)arepreferredforlogicdesign.Thesimplestgatesarenaturallyinverting.Simplegatesarefaster,smaller,anduselesspower.Ifyouareasoftwareperson,Iassureyounoneofyoursoftwarecolleaguesknowthis.Showoffyounewknowledge! Comment(cancelreply) Name E-mail Sendmeanemailwhensomeonecomments. Submit Commentsareheldformoderation.Therewillbeadelaybeforetheyappear. CommentsmayincludeMarkdown. Tosharesomethingprivately:Contactme. Close
延伸文章資訊
- 1Basic Logic Gates - Types, Functions, Truth Table ... - Byju's
Logic gates are the electronic circuits in a digital system that are mainly based on the Boolean ...
- 2NAND and NOR | Spinning Numbers
NOR gate
- 3Draw the truth table of a NOR gate. - Toppr
Click here to get an answer to your question ✍️ Draw the truth table of a NOR gate.
- 4NOR gate truth table with 2 and 3 inputs | Edumir-Physics
Here is the NOR gate truth table with three inputs A, B and C. It gives the inverted output of OR...
- 5Basic Gates and Functions
Truth tables are used to help show the function of a logic gate. If you are unsure about truth ta...