版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 5. Sequential circuit design 5.1 Synchronous sequential circuit model 5.2Designing synchronous sequential circuits 1 5.1 Synchronous sequential circuit model 1. Mealy modelThe outputs Z are combinational functions of both the present state variables y and the inputs X.2 5.1 Synchronous sequential c
2、ircuit model X0Xn-1 : a set of n inputs, X; Z0Zm-1 : a set of m outputs, Z; y0yk-1 : a set of k internal signals, y, which define the present state of the circuit, i.e. present state variables. Y0Yk-1 : a set of k internal signals, Y, which are generated to produce the next state of the circuit, i.e
3、. next state variables.Y and Z are both combinational functions of the circuit inputs X and the present state y.3 5.1 Synchronous sequential circuit model 2. Moore modelThe outputs Z are combinational functions of only the present state variables y.4 5.2 Designing synchronous sequential circuit 1. D
4、esign procedure Derive the state diagram. Draw the state table. Assign state variable patterns to states. Draw the assigned state table. Derive the flip-flop input functions. Derive the output function of a Karnaugh map. Draw the logic circuit.5 5.2 Designing synchronous sequential circuit 2. Design
5、 examplesExp1: Suppose a synchronous counter is required which follows one of two repeating sequences depending upon a control input C. When C=0, the sequence is 00, 01, 11. When C=1, the sequence is 00, 11, 01. (1)Derive the state diagramOnly three states are in the sequence. The fourth state might
6、 appear upon switch-on, so we map it to lead to state 1.State diagram6 5.2 Designing synchronous sequential circuit (2)Draw the state transition tableState tableThe state transition table can be constructed from the state diagram.(3)State assignmentValues needs to be chosen for the present state var
7、iables for each state. For convenience, we assign:y2y1= 00 for state 1;y2y1= 01 for state 2;y2y1= 11 for state 3;y2y1= 10 for state 4;Assigned state table7 5.2 Designing synchronous sequential circuit (4)Derive the flip-flop input functionsThe Karnaugh maps for the two inputs to the flip-flops, Y1 a
8、nd Y2 can be established from the assigned state table.The Karnaugh maps for the input functions8 5.2 Designing synchronous sequential circuit From the Karnaugh maps, we get:Y2 = y2 y1 C + y2 y1 CY1 = y2 C + y2 y1 C + y2 y1 C(5)Draw the logic circuit9 5.2 Designing synchronous sequential circuit Exp
9、2: Suppose a synchronous sequential logic circuit is required that could detect a defined sequence appears on the input. The circuit has one data input, x, and one data output, Z, in addition to the clock input. Suppose the serial input to detect is 0110011, with Z becoming a 1 after the last bit ap
10、pears in the sequence.10 5.2 Designing synchronous sequential circuit (1)Derive the state diagramThe state diagram can be derived from the problem specification. The sequence has eight steps to reach the final pattern, therefore, eight states are needed.11 5.2 Designing synchronous sequential circui
11、t (2)Draw the state transition tableThe state transition table lists not only the next states but also the output values associated with each present state.State table of the detector12 5.2 Designing synchronous sequential circuit (3)State assignmentThree state variables are needed for eight states.
12、Using the characteristics of Gray code that adjacent codes differ by one bit. Based on the state table, we make the assignment:State table of the detectorState 1 = 000, State 2 = 111, State 4 = 001, State 3 = 101, State 5 = 010, State 6 = 110, State 8 = 100, State 7 = 011.13 5.2 Designing synchronou
13、s sequential circuit Assigned state tableWe can get:14 5.2 Designing synchronous sequential circuit (4)Derive the flip-flop input functionsThe input functions for the three flip-flops can be obtained by mapping the next state variables in the assigned state table onto Karnaugh maps.15 5.2 Designing
14、synchronous sequential circuit We get the input functions:Y3 = x y1 + x y3 + y2 y1Y2 = x + y3 y2 y1Y1 = y3 y1 + y3 y2 y1 + x y2 y1 + x y2 y1(5)Derive the output functionMapping the state table output column onto the Karnaugh map. we obtain the output function:Z = y3 y2 y116 5.2 Designing synchronous
15、 sequential circuit (6)Draw the logic circuit17 5.2 Designing synchronous sequential circuit 3. Some problems to discuss State minimizationThe number of states will determine the number of state variables, and hence the number of flip-flops.We want to reduce the number of states to a minimum because
16、 it could reduce the circuitry.Identical states whose next state and output entries are identical in the state table can be merged into a single state with the same number.18 5.2 Designing synchronous sequential circuit Equivalent statesTwo states are equivalent and can be replaced by one state if t
17、he following two conditions exist:) The outputs associated with the two states are the same;) Corresponding next states are the same or equivalent;Once these two conditions are satisfied, we can combine the two states into one newly named state.19 5.2 Designing synchronous sequential circuit State d
18、iagram using transition expressionsIf the transition from one state to another is specified by several input variables, the state diagram will be clumsy. A simpler way is to give the Boolean condition necessary for the transition or no transition in so-called transition expression.Each transition expression can be reduce
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 部編初中歷史八下第1課中華人民共和國(guó)成立教案
- 2025年全球及中國(guó)大型不銹鋼鑄件行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 2025-2030全球化妝品級(jí)枯草菌脂肽鈉行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025-2030全球光纖導(dǎo)管靜脈激光治療行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025年全球及中國(guó)銅纜高速連接器行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 2025國(guó)際(非獨(dú)占)商標(biāo)使用許可合同
- 2025農(nóng)業(yè)種植生產(chǎn)產(chǎn)銷(xiāo)合同書(shū)
- 餐飲業(yè)合同年
- 2025室內(nèi)裝修設(shè)計(jì)合同范本
- 房屋租賃續(xù)簽合同模板
- 2025年湖南高速鐵路職業(yè)技術(shù)學(xué)院高職單招高職單招英語(yǔ)2016-2024歷年頻考點(diǎn)試題含答案解析
- 醫(yī)保政策與健康管理培訓(xùn)計(jì)劃
- 策略與博弈杜塔中文版
- 無(wú)人化農(nóng)場(chǎng)項(xiàng)目可行性研究報(bào)告
- 2024屆上海市金山區(qū)高三下學(xué)期二模英語(yǔ)試題(原卷版)
- 學(xué)生春節(jié)安全教育
- 2024-2025年校長(zhǎng)在教研組長(zhǎng)和備課組長(zhǎng)會(huì)議上講話(huà)
- 2025屆江蘇省常州市高級(jí)中學(xué)高三第二次模擬考試語(yǔ)文試卷含解析
- 高三日語(yǔ)一輪復(fù)習(xí)助詞「で」的用法課件
- 2024-2030年中國(guó)銣銫及其化合物行業(yè)深度調(diào)研及投資戰(zhàn)略分析報(bào)告
- 散貨物流行業(yè)市場(chǎng)調(diào)研分析報(bào)告
評(píng)論
0/150
提交評(píng)論