组合逻辑电路分析和设计_第1页
组合逻辑电路分析和设计_第2页
组合逻辑电路分析和设计_第3页
组合逻辑电路分析和设计_第4页
组合逻辑电路分析和设计_第5页
已阅读5页,还剩48页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CHAPTER5

CombinationalLogicAnalysisandDesign(组合逻辑电路分析和设计)组合逻辑电路时序逻辑电路components:LogicGatesCombinationallogiccircuitSequentiallogiccircuitcomponents:LogicGates+FlipFlops,LatchesChapter7,8,9,10Chapter5,6theoutputisonlydependedonthecurrentinputsTheoutputisnotonlydependedonthecurrentinputsbutalsodependedonthepaststateCombinationallogiccircuitchapter5chapter6CombinationallogicAnalysisandDesignFunctionsofcombinationalLogic5-1BasicCombinationalLogicCircuits5-2CombinationalLogicCircuits

Analysis5-3ImplementingCombinationalLogic

5-4TheUniversalPropertyofNANDandNORGates

5-5CombinationalLogicUsingNANDandNORGates5-6LogicCircuitOperationWithPulseWaveformCHAPTER5CombinationalLogicAnalysisandDesignAND-ORLogic(与-或逻辑电路)AND-OR-InvertLogic(与-或-非逻辑电路)Exclusive-ORLogic(异-或逻辑电路)5-1BasicCombinationalLogicCircuitsAND-ORLogicTruthtableINPUTSABCDABCDOUTPUTX0000000100100011010001010110011110001001101010111100110111101111000000010000000100000001101010110001000100011111XX=AB+CDAND-ORLogicAND-ORInvertLogicExclusive-ORLogicABX000110110110TruthtableExclusive-NORLogic

BooleanexpressionTruthtableTwoequivalentwaysofimplementingtheexclusive-NOR

Samelogiccanbeimplementedbydifferentcircuit5-2CombinationalLogicCircuitsAnalysis

(组合逻辑电路分析)LogicCircuitLogicFunctionX=F(A,B,C)?ThesensorproduceaHIGHwhenthelevelofchemicalinthetankdropsbelowaspecifiedpointBCABACA,B,Carelevelsensors.aHIGHisproducedwhenthelevelofchemicalinthetankdropsbelowaspecifiedpoint.AnalysisthefunctionofthecircuitX=AB+BC+ACBCABACX=AB+BC+ACTruthtableABCABBCACX00000101001110010111011100000000001000000110011100010111Thelow-levelindicatorwillgiveanindicationwhenmorethantwotanks’leveldropbelowthespecifiedpoint!AnalysisthefunctionofthecircuitAnalysisthefunctionofthecircuit(review)

Step1:ObtaintheLogicExpressionfromthelogiccircuitStep2:ConstructingaTruthTablefortheLogiccircuitStep3:Analysisthefunction

5-3ImplementingCombinationalLogic

(组合逻辑电路的设计)LogicCircuitLogicFunction1.FromanapplicationtoaTruthTable2.FromaTruthTabletoasimplifiedlogicexpression3.FromthesimplifiedlogicexpressiontoalogiccircuitExample:Implementavotingcircuitforthreeperson.Eachpersonhasonebutton.Pressthebuttonforagreementandleaveitfordisagreement.TheoutputwillshowonaLEDlight.Thelightonwhenmajoritypeopleagreed.Otherwise,thelightoff.三人表决电路每人一个按键,如果同意则按下,不同意则不按。结果用指示灯表示,多数同意时指示灯亮,否则不亮。FromlogicfunctiontoTruthTableTruthTableInputs:A、B、CAgree“1”,otherwise“0”Output:FLighton“1”,otherwise“0”Implementavotingcircuitforthreeperson(A、B、C):

Eachpersonhasonebuttoninfrontofhim.Pressthebuttonforagreementandleaveitfordisagreement.

TheoutputwillshowonaLEDlight.Thelightonwhenmajoritypeopleagreed.Otherwise,lightoff.

TruthTable2.FromTruthTabletosimplifiedlogicexpressionABC0001111001ABACBCABBCCAF3.FromLogicExpressiontoLogicCircuitAnd-OrLogic3.FromLogicExpressiontoLogicCircuitchap5-1a.ewbImplementathreeinputsparitychecker:Theoutputis“1”whenthenumberofinput“1”isodd.

(1)TruthTable

(2)Logicexpression

0000

A

B

C

Y0011010101101001101011001111ABC00100111101111Solution:奇偶检验器

(3)logiccircuit

(3)logiccircuitChap5奇偶校验电路.ewbstep1.FromanapplicationtoaTruthTablestep2.FromaTruthTabletoasimplifiedlogicexpressionstep3.FromthesimplifiedlogicexpressiontoalogiccircuitCombinationLogicImplementation(Review)LogicCircuitLogicFunctionTextbook:Page168ch5-25-3TheUniversalProperty

ofNANDandNORGates

NANDandNORgatesare“universal”becausetheycanusedtoproduceanyoftheotherlogicfunctionsTheNANDGateasaUniversalLogicElementTheNORGateasaUniversalLogicElementNANDGateasanInverterTheNANDGateasaUniversalLogicElement?AAHIGH??NANDGateasanInverterxTwoNANDGatesasanANDGate?ThreeNANDGatesasanORGateFourNANDGatesasNORGateFourNANDGatesasXORGateNORGateasanInverterTheNORGateasaUniversalLogicElementTwoNORGatesasanORGateThreeNORGatesasanANDGateFourNORGatesasanNANDGateNANDlogicforX=AB+CD?5-4COMBINATIONALLOGICUSINGNANDANDNORGATEDeMorgan’s最简逻辑电路标准门的个数最少每个门的连线最少门的种类最少

NANDLogicDiagramsUsingDualsymbolswhendrawingaNANDlogicdiagram,alwaysusethegatesymbolsinsuchawaythateveryconnectionbetweenagateoutputandagateinputiseitherbubble-to-bubbleornonbubble-to-nonbubble.UseoftheappropriatedualsymbolsinaNANDlogicdiagrameveryconnectionbetweenagateoutputandagateinputiseitherbubble-to-bubbleornonbubble-to-nonbubbleEXAMPLE:ImplementeachexpressionwithNANDlogicusingappropriatedualsymbols(a)EXAMPLE:ImplementeachexpressionwithNANDlogicusingappropriatedualsymbols(b)NORLOGICNORnegative-ANDNORlogicforX=(A+B)(C+D)

ANORgatefunctionaseitheraNORoranegative-AND.180三人表决电路:

Implementavotingcircuitforthreeperson(A、B、C):UseNANDgatesABCAnd-OrLogicGatesABCNANDLogicGates最简逻辑电路标准门的个数最少每个门的连线最少门的种类最少Implementathreeinputsparitychecker:Theoutputis“1”whenthenumberofinput“1”isodd.奇偶检验器(3)ConverttoNANDlogic

(2)LogicexpressionUseNANDGates!EX5-12:DeterminethefinaloutputwaveformXforthecircuit,withinputwaveformsA,BandCasshown.5-5CIRCUITOPERATIONWITHPULSEWAVEFORMINPUTSEX5-11:DrawthetimingdiagramFindoutthelogiccircuitthatwillgeneratetheoutputwaveformfortheinputs.inputsoutputABCX000Page193:Problem30Homework:Page193Problem31DigitalSystemApplication7-segmentdisplayspage149共阳极接法共阴极接法gfedcba例:共阴极接法a

b

c

d

e

f

g

01100001101101低电平时发光高电平时发光共阳极接法abcgdef+dgfecbag共阴极接法abcdefg二-十进制编码?显示器件

D

C

BAa

b

c

d

efg00001111110000010110000100101101101200111111001301000110011401011011011501101011111601111110000710001111111810011

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论