數字邏輯設計及應用17課件_第1頁
數字邏輯設計及應用17課件_第2頁
數字邏輯設計及應用17課件_第3頁
數字邏輯設計及應用17課件_第4頁
數字邏輯設計及應用17課件_第5頁
已閱讀5頁,還剩24頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、Chapter 7 Sequential Logic Design Principles( 時序邏輯設計原理 ) Latches and Flip-Flops (鎖存器和觸發(fā)器 ) Clocked Synchronous State-Machine Analysis (同步時序分析) Clocked Synchronous State-Machine Design (同步時序設計)Digital Logic Design and Application (數字邏輯設計及應用)1Chapter 7 Sequential Logic DesIntroductionCombinational cir

2、cuitOutputs depend solely on the present combination of the circuit inputs valuesDigitalSystemb=0F=0DigitalSystemif b=0, then F=0if b=1, then F=1b=1F=1(a)DigitalSystemb=0F=0DigitalSystemb=1F=1DigitalSystemb=0F=1Cannot determine value ofF solely from presentinput value(b) Vs. sequential circuit: Has

3、“memory” that impacts outputs too2IntroductionCombinational circBasic Concepts (基本概念)Logic Circuits are Classified into Two Types (邏輯電路分為兩大類):Combinational Logic Circuit (組合邏輯電路)Sequential Logic Circuit (時序邏輯電路)Digital Logic Design and Application (數字邏輯設計及應用)3Basic Concepts (基本概念)Logic CirBasic Conc

4、epts (基本概念)Combinational Logic Circuit (組合邏輯電路)Outputs Depend Only on its Current Inputs.(任何時刻的輸出僅取決與當時的輸入)Character of Circuit: No Feedback Circuit, No Memory Device(電路特點:無反饋回路、無記憶元件)Digital Logic Design and Application (數字邏輯設計及應用)4Basic Concepts (基本概念)CombinatiBasic Concepts (基本概念)Sequential Logic

5、 Circuit (時序邏輯電路)Outputs Depend Not Only on its Current Inputs, But also on the Past Sequence of Inputs.(任一時刻的輸出不僅取決與當時的輸入,還取決于過去的輸入序列)Character of Circuit: Have Feedback Circuit, Have Memory Device(電路特點:有反饋回路、有記憶元件)Digital Logic Design and Application (數字邏輯設計及應用)5Basic Concepts (基本概念)SequentiaBasic

6、 Concepts (基本概念)Sequential Logic Circuit (時序邏輯電路)Finite-State Machine: Have Finite States.(有限狀態(tài)機:有有限個狀態(tài)。)A Clock Signal is Active High if state changes occur at the clock Rising Edge or when the clock is High, and Active Low in the complementary case.(時鐘信號高電平有效是指在時鐘信號的上升沿或時鐘的高電平期間發(fā)生變化。) Digital Logi

7、c Design and Application (數字邏輯設計及應用)6Basic Concepts (基本概念)SequentiaBasic Concepts (基本概念)Sequential Logic Circuit (時序邏輯電路)Clock Period: The Time between Successive transitions in the same direction.(時鐘周期:兩次連續(xù)同向轉換之間的時間。)Clock Frequency: The Reciprocal of the Clock Period(時鐘頻率:時鐘周期的倒數。) Digital Logic D

8、esign and Application (數字邏輯設計及應用)Figure 7-17Basic Concepts (基本概念)SequentiaBasic Concepts (基本概念)Sequential Logic Circuit (時序邏輯電路)Clock Tick: The First Edge of Pulse in a clock period or sometimes the period itself.(時鐘觸發(fā)沿:時鐘周期內的第一個脈沖邊沿,或時鐘本身。)Duty Cycle: The Percentage of time that the clock signal is

9、 at its asserted level. (占空比:時鐘信號有效時間與時鐘周期的百分比。) Digital Logic Design and Application (數字邏輯設計及應用)Figure 7-18Basic Concepts (基本概念)Sequentia思考:能否只用一片1位全加器進行串行加法?C1S0X0 Y0C0X YCI COSX YCI COSX YCI COSC0S0S1SnX0 Y0X1 Y1Xn Yn串行加法器C1C2X YCI COSC2S1X1 Y1C1反饋利用反饋和時鐘控制C3S2X2 Y2C2Digital Logic Design and Appl

10、ication (數字邏輯設計及應用)9思考:能否只用一片1位C1S0X0 Y0C0X 暫存X YCI COSCi+1SiXi YiCiX YCI COSX YCI COSX YCI COSC0S0S1SnX0 Y0X1 Y1Xn Yn串行加法器C1C1時鐘控制需要具有記憶功能的邏輯單元,能夠暫存運算結果。利用反饋和時鐘控制Digital Logic Design and Application (數字邏輯設計及應用)10暫存X YCi+1SiXi YiCiX 7.1 Bistable Elements (雙穩(wěn)態(tài)元件)QQ_L1100QQ_LIt has Two Stable State: Q

11、 = 1 ( HIGH ) and Q = 0 ( LOW ) (電路有兩種穩(wěn)定狀態(tài):Q = 1 ( 1態(tài) ) 和 Q = 0 ( 0態(tài) ) Bistable Circuit(雙穩(wěn)電路)0011Digital Logic Design and Application (數字邏輯設計及應用)117.1 Bistable Elements (雙穩(wěn)態(tài)元件)7.1 Bistable Elements (雙穩(wěn)態(tài)元件)QQ_L1100QQ_LWhen Power is first Applied to the circuit, it Randomly Comes up in One State or th

12、e Other and Stays there Forever. ( 只要一接電源,電路就隨機出現兩種狀態(tài)中的一種,并永久地保持這一狀態(tài)。)0011Digital Logic Design and Application (數字邏輯設計及應用)127.1 Bistable Elements (雙穩(wěn)態(tài)元件)Vin1Vout1Vin2Vout2Vout2Vin2= Vin2= Vout2穩(wěn)態(tài) stable亞穩(wěn)態(tài) metastableQQ_LVin1 Vout1Vin2 Vout2Digital Logic Design and Application (數字邏輯設計及應用)13Vin1Vout1V

13、in2Vout2Vout2Vin2= VMetastable Behavior(亞穩(wěn)態(tài)特性)Random Noise will tend to Drive a circuit that is Operating at the Metastable Point toward one of the Stable operating point.( 隨機噪聲會驅動工作于亞穩(wěn)態(tài)點的電路轉移到一個穩(wěn)態(tài)的工作點上去 )QQ_LDigital Logic Design and Application (數字邏輯設計及應用)14Metastable Behavior(亞穩(wěn)態(tài)特性)Ran所有的時序電路對亞穩(wěn)態(tài)都

14、是敏感的Metastable Behavior(亞穩(wěn)態(tài)特性)穩(wěn)態(tài)穩(wěn)態(tài)亞穩(wěn)態(tài)Apply a definite Pulse Width from a Stable state to the Other.(從一個“穩(wěn)態(tài)”轉換到另一個“穩(wěn)態(tài)”需加一定寬度的脈沖(足夠的驅動))Digital Logic Design and Application (數字邏輯設計及應用)15所有的時序電路對亞穩(wěn)態(tài)都是敏感的Metastable Beh7.2 Latches and Flip-Flops(鎖存器與觸發(fā)器) The Basic Building Blocks of most Sequential Circu

15、its.(大多數時序電路的基本構件)Latches(鎖存器)根據輸入,直接改變其輸出(無使能端)有使能端時,在使能信號的有效電平之內都可根據輸入直接改變其輸出狀態(tài)Digital Logic Design and Application (數字邏輯設計及應用)167.2 Latches and Flip-Flops(鎖7.2 Latches and Flip-Flops(鎖存器與觸發(fā)器) The Basic Building Blocks of most Sequential Circuits.(大多數時序電路的基本構件)Flip-Flops( F/F,觸發(fā)器)只在時鐘信號的有效邊沿改變其輸出狀

16、態(tài)Digital Logic Design and Application (數字邏輯設計及應用)177.2 Latches and Flip-Flops(鎖S-R Latch (S-R鎖存器)S-R Latch with Enable (具有使能端的S-R鎖存器)D Latch (D鎖存器)Edge-Triggered D Flip-Flops (邊沿觸發(fā)式D觸發(fā)器)Edge-Triggered D Flip-Flops with Enable (具有使能端的邊沿觸發(fā)式D觸發(fā)器)Digital Logic Design and Application (數字邏輯設計及應用)7.2 Latch

17、es and Flip-Flops(鎖存器與觸發(fā)器)18S-R Latch (S-R鎖存器)Digital LogiScan Flip-Flops (掃描觸發(fā)器)Master/Slave Flip-Flops (S-R、J-K) (主從式觸發(fā)器)Edge-Triggered J-K Flip-Flops (邊沿觸發(fā)式J-K觸發(fā)器)T Flip-Flop (T觸發(fā)器)Digital Logic Design and Application (數字邏輯設計及應用)7.2 Latches and Flip-Flops(鎖存器與觸發(fā)器)19Scan Flip-Flops Digital Logic S

18、-R Latches (S-R鎖存器)QQLRS(1)S = R = 0電路維持原態(tài)工作原理:00QQL或非門 非門 Qn+1 = Qn QLn+1 = QLn新態(tài)原態(tài)Digital Logic Design and Application (數字邏輯設計及應用)20S-R Latches (S-R鎖存器)QQLRS(1)S QQLRS工作原理:10(2)S = 0, R = 1a. 原態(tài):Qn=0,QLn=101新態(tài):Qn+1=0,QLn+1=1b. 原態(tài):Qn=1,QLn=0新態(tài):Qn+1=0,QLn+1=1鎖存器清0:Qn+1=0 QLn+1=1即使S,R無效(=0)鎖存器仍能鎖定0態(tài)R

19、eset10(a)QQLRS1001(b)00101Digital Logic Design and Application (數字邏輯設計及應用)S-R Latches (S-R鎖存器)21QQLRS工作原理:10(2)S = 0, R = 1a. QQLRS工作原理:01(3)S = 1, R = 0a. 原態(tài):Qn=1,QLn=010新態(tài):Qn+1=1,QLn+1=0b. 原態(tài):Qn=0,QLn=1新態(tài):Qn+1=1,QLn+1=0鎖存器置1:Qn+1=1 QLn+1=0即使S,R無效(=0)鎖存器仍能鎖定1態(tài)Set01(a)QQLRS0110(b)00110Digital Logic

20、Design and Application (數字邏輯設計及應用)S-R Latches (S-R鎖存器)22QQLRS工作原理:01(3)S = 1, R = 0a. QQLRS工作原理:(3)S = R = 100Qn+1 = QLn+1 = 0當S,R無效(=0)時,11QQN00亞穩(wěn)態(tài),對噪聲敏感狀態(tài)不確定“禁止”Digital Logic Design and Application (數字邏輯設計及應用)S-R Latches (S-R鎖存器)23QQLRS工作原理:(3)S = R = 100Qn+1 =S QR QL(邏輯符號)S QR Q(邏輯符號)QQLRSResetSe

21、t(清0)(置1)0 0 00 0 10 1 00 1 11 0 01 0 11 1 01 1 1S R0100110*0*QnQn+1狀態(tài)轉移真值表0 00 11 01 1S R維持原態(tài)0 11 0 0* 0*Q QL(功 能 表)Digital Logic Design and Application (數字邏輯設計及應用)S-R Latches (S-R鎖存器)Logic SymbolFunction Table24S Q(邏輯符號)S Q(邏輯符號)狀態(tài)圖00011101 00 01 11 10QnSRQn+1Qn+1 = S + RQnSR = 0特征方程約束條件01S=1,R=0S=0,R=1S=XR=0S=0R=X0 0 00 0 10 1 00 1 11 0 01 0 11 1 01 1 1S R0100110*0*QnQn+1狀態(tài)轉移真值表Digital Logic Design and Application (數字邏輯設計及應用)25狀態(tài)圖000111

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論