版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、1,Chapter 6 Combinational Logic Design Practices(組合邏輯設(shè)計(jì)實(shí)踐),Documentation Standard and Circuit Timing (文檔標(biāo)準(zhǔn)和電路定時(shí)) Commonly Used MSI Combinational Logic Device (常用的中規(guī)模組合邏輯器件),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),2,期中考試,時(shí)間: 5月11日 (周六) 19:00-21:00 范圍: 第二章、第三章、第四章、第六章內(nèi)容及有關(guān)補(bǔ)充內(nèi)容 集中答疑時(shí)間: 5月11日(周
2、六) 8:30-11:30 14:30-17:30 地點(diǎn):待定,3,實(shí)驗(yàn)課答疑驗(yàn)收通知,本周四(4月25日) 下午 2:30-5:30 地點(diǎn):科A335,4,Decoder (譯碼器) Cascading Binary Decoders (譯碼器的級(jí)聯(lián)) Realize a Logic Circuit by Using Decoder (利用譯碼器實(shí)現(xiàn)邏輯電路),Review of Last Class (內(nèi)容回顧),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),5,BCD Decoder ( 二十進(jìn)制譯碼器 ) Seven-Segment
3、Decoders(七段顯示譯碼器),Review of Last Class (內(nèi)容回顧),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),6,用譯碼器和邏輯門實(shí)現(xiàn)邏輯函數(shù),F = (X,Y,Z) (1,3,5,6),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),A Class Problem ( 每課一題 ),7,6.5 Encoder(編碼器),1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1
4、 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1,2n Inputs,n Out- puts,Truth Table for a 8-to-3 Encoder,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),8,Encoder,N inputs with exactly one of them being set to 1, log2(n) outputs for encoding.,8,4
5、x2,4 x 2 encoder,9,Guarantee: The Inputs are asserted at most one at a time. (前提: 任何時(shí)刻只有一個(gè)輸入端有效。),6.5 Encoder(編碼器),Truth Table for a 8-to-3 Encoder,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),10,A0 = I1 + I3 + I5 + I7,A1 = I2 + I3 + I6 + I7,A2 = I4 + I5 + I6 + I7,Trouble: When more than One Inp
6、uts are asserted? (問題:當(dāng)某時(shí)刻出現(xiàn)多個(gè)輸入有效?),Priority(優(yōu)先級(jí)),6.5 Encoder(編碼器),Truth Table for a 8-to-3 Encoder,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),ABCD = A,11,Priority Encoder(優(yōu)先編碼器),Change I0I7 to H0H7, Make Sure the Inputs are asserted at most one at a time. ( 將 I0I7 轉(zhuǎn)換為 H0H7, 保證其中,任何時(shí)刻只有一個(gè)有效),
7、Highest-Priority ( 數(shù)大優(yōu)先 ),6.5 Encoder(編碼器),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),12,Priority Encoder(優(yōu)先編碼器),H7 = I7 H6 = I6 I7 H5 = I5 I6 I7 H0 = I0 I1 I2 I6 I7 A2 = H4 + H5 + H6 + H7 A1 = H2 + H3 + H6 + H7 A0 = H1 + H3 + H5 + H7,Highest-Priority ( 數(shù)大優(yōu)先 ),6.5 Encoder(編碼器),Digital Logic De
8、sign and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),13,Priority Encoder(優(yōu)先編碼器),Change I0I7 to H0H7, Make Sure the Inputs are asserted at most one at a time. ( 將 I0I7 轉(zhuǎn)換為 H0H7, 保證其中,任何時(shí)刻只有一個(gè)有效),Highest-Priority ( 數(shù)大優(yōu)先 ),The IDLE Output is asserted if No Inputs are asserted. (如果沒有輸入有效,則 IDLE 為1 ) IDLE = I0 I1 I6 I7,6.5
9、Encoder(編碼器),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),14,圖6-48 表6-27,The 74x148 Priority Encoder (優(yōu)先級(jí)編碼器74x148),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),15,2個(gè)74x148級(jí)聯(lián)為164優(yōu)先編碼器,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),16,輸入:由864,需8片74x148 每片優(yōu)先級(jí)不同(怎樣實(shí)現(xiàn)?) 保證高位無輸入時(shí),次高位才工作 高位芯片的EO
10、端接次高位芯片的EI端,用8-3優(yōu)先編碼器74x148級(jí)聯(lián)為64-6優(yōu)先編碼器,片間優(yōu)先級(jí)的編碼 利用第9片74x148 每片的GS端接到第9片的輸入端 第9片的輸出作為高3位(RA5RA3),片內(nèi)優(yōu)先級(jí) 片間優(yōu)先級(jí),輸出:6位,8片輸出A2A0 通過或門作為 最終輸出的低3位 RA2RA0,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),17,分析判定優(yōu)先級(jí)電路:(利用74x148 ) 8個(gè)_電平有效輸入I0_LI7_L,_的優(yōu)先級(jí)最高 地址輸出A2A0,_電平有效 若輸出AVALID高電平有效,則表示_,A2 A1 A0,AVALID,低,
11、I0_L,至少有一個(gè)輸入有效,低,題6.53,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),18,設(shè)計(jì)判定優(yōu)先級(jí)電路:(利用74x148 ) 8個(gè)輸入I0I7高電平有效,I7優(yōu)先級(jí)最高 地址輸出A2A0,高電平有效 如果沒有輸入有效,為111且輸出IDLE有效,題6.52,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),19,6.6 Three-State Devices (三態(tài)器件),Three-State Buffer (Three-State Driver) 三態(tài)緩沖器(三態(tài)驅(qū)動(dòng)器),F
12、igure 6-51,Three States: Active High(1) ,Active Low (0), Hi-Z (三種狀態(tài):高電平,低電平,高阻態(tài)),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),20,6.6 Three-State Devices (三態(tài)器件),Three-State Device allow Multiple Sources to Share a Single “Party Line“ As long as Only One device “talk” on the Line at a time (三態(tài)器件允許
13、多個(gè)信號(hào)源共享單個(gè)“同線”, 條件是每次只有一個(gè)器件工作) (Figure 6-52),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),21,6.6 Three-State Devices (三態(tài)器件),Typical Three-State Devices are Designed So that they go into the Hi-Z state Faster than they come out of the Hi-Z state. (對(duì)典型的三態(tài)器件,進(jìn)入高阻態(tài)比離開高阻態(tài) 的時(shí)間快),Digital Logic Design an
14、d Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),22,6.6 Three-State Devices (三態(tài)器件),74x245:雙向傳輸數(shù)據(jù),低電平使能 DIR 決定傳輸方向,74x541:兩個(gè)公共使能端,低電平使能, 施密特觸發(fā)輸入,輸出不反相 (圖6-54 6-55),Standard SSI and MSI Three-State Buffer (標(biāo)準(zhǔn)SSI和MSI三態(tài)緩沖器),(圖6-56 6-57),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),23,沖突(fighting),利用使能端進(jìn)行時(shí)序控制,三態(tài)器件允許信號(hào)共享單個(gè)“
15、同線”(party line),典型的三態(tài)器件,進(jìn)入高阻態(tài)比離開高阻態(tài)快,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),24,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),Figure 6-53,25,Notation of Data Bus (數(shù)據(jù)總線的表示法),圖 655,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),26,Transfer Data in Either Directions By Using Three-State T
16、ransceiver (利用三態(tài)緩沖器實(shí)現(xiàn)數(shù)據(jù)雙向傳送),Bus Transceiver (總線收發(fā) 圖656),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),27,6.7 Multiplexer(多路復(fù)用器),Digital Switch, Multi-Switch, Data Selector (又稱數(shù)據(jù)開關(guān)、多路開關(guān)、數(shù)據(jù)選擇器) (縮寫:MUX) Under Select Controlling Signals, Select One of the Multi-Inputs to the Output (在選擇控制信號(hào)的作用下, 從多
17、個(gè)輸入數(shù)據(jù)中選擇其中一個(gè)作為輸出。),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),28,28,Multiplexer (Mux),Mux: Another popular combinational building block Routes one of its N data inputs to its one output, based on binary value of select inputs,29,29,Multiplexer (Mux),4 input mux needs 2 select inputs to indicat
18、e which input to route through 8 input mux 3 select inputs N inputs log2(N) selects Like a rail yard switch,30,6.7 Multiplexer(多路復(fù)用器),Enable 使能,Select 選擇,數(shù)據(jù)輸出(1位),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),31,31,Mux Internal Design,2,1,i1,i0,s0,0,d,2,1,i1,i0,s0,d,0,i0 (1*i0=i0),i0 (0+i0=i0),2x
19、1 mux,0,32,32,Mux Internal Design,33,A B C,8-Input,1-bit Multiplexer,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),34,2-Input,4-bit Multiplexer,Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),35,雙4選1,A B,Truth Table for a 74x153 4-Input, 2-bit Multiplexer,36,Expanding Multiplexers(擴(kuò)展多路復(fù)用器),Expan
20、ding Bit (擴(kuò)展位) How to Realize 8-Input, 16-bit Multiplexer? (如何實(shí)現(xiàn)8輸入,16位多路復(fù)用器?) From 8-Input, 1-bit to 8-Input, 16-bit (由8輸入1位8輸入16位) Need 16 74x151, Each Chip Process 1-bit (需要16片74x151, 每片處理輸入輸出中的1位),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),37,Expanding Multiplexers(擴(kuò)展多路復(fù)用器),Expanding Bit (
21、擴(kuò)展位) Select-Inputs Connect to C,B,A of Each Chip (選擇端連接到每片的C,B,A) Note: The Fanout Ability of Select field (注意:選擇端的扇出能力) (驅(qū)動(dòng)16個(gè)負(fù)載),Digital Logic Design and Application (數(shù)字邏輯設(shè)計(jì)及應(yīng)用),38,Expanding Inputs (擴(kuò)展數(shù)據(jù)輸入端的數(shù)目) How to realize 32-Input, 1-bit Multiplexer (如何實(shí)現(xiàn)32輸入,1位多路復(fù)用器?) Inputs from 8 to 32, Nee
22、d 4 chips ( 數(shù)據(jù)輸入由832,需4片) How to control Select Inputs - By High bit plus Low bit. ( 如何控制選擇輸入端? 分為:高位低位),Expanding Multiplexers(擴(kuò)展多路復(fù)用器),39,Expanding Inputs (擴(kuò)展數(shù)據(jù)輸入端的數(shù)目) 如何實(shí)現(xiàn)32輸入,1位多路復(fù)用器? High Bits plus Decoder as Select ( 高位譯碼器進(jìn)行片選) Low Bits Connect to C,B,A of each Chip ( 低位接到每片的C,B,A) Output Usin
23、g OR Gate ( 4片輸出用或門得最終輸出),Expanding Multiplexers(擴(kuò)展多路復(fù)用器),Figure 6-60,40,Dual 4-to-1 Multiplexer to 8-to-1 Multiplexer (用雙4選1數(shù)據(jù)選擇器構(gòu)成8選1數(shù)據(jù)選擇器),41,41,Mux Example,City mayor can set four switches up or down, representing his/her vote on each of four proposals, numbered 0, 1, 2, 3 City manager can displ
24、ay any such vote on large green/red LED (light) by setting two switches to represent binary 0, 1, 2, or 3,42,Mux Example,Use 4x1 mux,43,43,Muxes Commonly Together N-bit Mux,Ex: Two 4-bit inputs A (a3 a2 a1 a0), and B (b3 b2 b1 b0) 4-bit 2x1 mux (just four 2x1 muxes sharing a select line) can select between A or B,44,Muxes Commonly Together N-bit Mux,45,45,N-bit Mux Example,Four possible display items Temperature (T), Average miles-per-gallon (A) Instantaneous mpg (I), a
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 創(chuàng)傷性脾出血的護(hù)理
- 2024派遣人力資源管理顧問員工培訓(xùn)與發(fā)展合同3篇
- 2024年沅江市人民醫(yī)院高層次衛(wèi)技人才招聘筆試歷年參考題庫頻考點(diǎn)附帶答案
- 大班藝術(shù)活動(dòng):我的插花教案
- 2024年畢節(jié)市博愛醫(yī)院高層次衛(wèi)技人才招聘筆試歷年參考題庫頻考點(diǎn)附帶答案
- 2024版管茜的離婚協(xié)議書
- 小學(xué)信息技術(shù)五年級(jí)上冊(cè)第4課《算法中的數(shù)據(jù)》說課稿
- 浙江安吉縣實(shí)驗(yàn)初中教育集團(tuán)人教版八年級(jí)上冊(cè)歷史與社會(huì)第一單元第三課 西方古典文明說課稿
- 預(yù)防傳染病說課稿 八年級(jí)初中體育與健康教育說課稿001
- 《靈動(dòng)鮮活從哪里》課件
- 員工健康狀況篩查方案
- 執(zhí)行 如何完成任務(wù)的學(xué)問
- 6.2《青紗帳-甘蔗林》【中職專用】(高教版2023基礎(chǔ)模塊下冊(cè))
- 二年級(jí)上每日一練(豎式+口算+應(yīng)用題)已排版直接打印
- 臀部惡性黑色素瘤的個(gè)案護(hù)理
- 小學(xué)英語新思維朗文2A知識(shí)清單總結(jié)期末復(fù)習(xí)資料
- 2023年房車設(shè)計(jì)工程師年度總結(jié)及下一年計(jì)劃
- 教師信息素養(yǎng)與數(shù)字教育培訓(xùn)
- 南非的地理特點(diǎn)
- 2023年硬件研發(fā)工程師年度總結(jié)及下年工作展望
- 教代會(huì)提案表格
評(píng)論
0/150
提交評(píng)論