組合邏輯電路分析和設計_第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

提交評論