版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Digital Electronics-Lecture 7ForsChapter 6-MSI Combinational Circuits II6-5Decoders譯碼器A Decoder is a combinational logic circuit that detects the presence of a specified combinationofbits (code) on its inputs and indicates thepresence of that code by a specified output level.The basic binary decoder
2、2YJ, Department ofElectrical & ElectronicTechnology, SAEE, USTBThe output is 1 only when:A0 = 1A1 = 0A2 = 0A3 = 1More Examples:A0 A1 A2A3A0 A1A2A3 XXdecoder for 0011Active LOW outputdecoder for 0011Active HIGH output3YJ, Department ofElectrical &Electronic Technology, SAEE, USTBA 0 is the active out
3、put stateA 1 is the active output stateExercise:Determine the logic required to decodethe binary number 1011 by producing a HIGH output level on the output.active-HIGH output4YJ, Department ofElectrical& Electronic Technology, SAEE,USTBThe 4-bit decoder4-bit decoder, also called 4-line-to-16-line de
4、coder, which can decode all possible combinations of 4 bits.Active-low outputs5YJ, Department ofElectrical & Electronic Technology, SAEE, USTBTtable of the 4-bit decoder6YJ, Department ofElectrical & Electronic Technology, SAEE,USTBIC: Pin diagram and logic symbol for the 74HC154The enable function:
5、CS1CS 27YJ, Department ofElectrical & Electronic Technology, SAEE, USTBExpansion:A 5-bit decoder using 74HC154s8YJ, Department ofElectrical & Electronic Technology, SAEE, USTBApplication: A simplified computer I/O port system with a port address decoder with only four address lines shown.9YJ, Depart
6、ment ofElectrical & Electronic Technology, SAEE, USTBSupplement:Use the binary decoder as a logicfunction generatorY0 = A2 A1 A0= m0= m1=m2Y1 = A2 A1 A0= A2 A1 A0Y2 Y3 Y4Y5= A2 A1 A0=m3=m4=m5=m6= A2 A1 A0= A2 A1 A0Y = m= A A AYii6210= A A A =m7Y721010YJ, Department ofElectrical &Electronic Technolog
7、y, SAEE, USTB二進(jìn)制譯碼器的每一項(xiàng)輸出對(duì)應(yīng)一個(gè)最小項(xiàng),所有輸出包含所有的最小項(xiàng)。Ex 1: Use a decoder with a few gates necessary to implement the following expression.Y=AB+BC+CAA B CSolution:1) Choose IC3 inputs, Use 74LS1382) Change the expression to the standard SOP form.Y = ABC + ABC + ABC + ABC= Y3Y5Y6Y7= Y3 + Y5 +Y6 +Y711YJ, Depa
8、rtment ofElectrical & Electronic Technology, SAEE,USTBEx 2: Use a 2-line-to-4-line decoder 74LS139 and a few gates necessary to implement the following 2-outputs function.Z1 = AB + ABZ2 = AB + ABFunction table of 2-line-to-4-line decoderY0 = A1 A0 =m0Y1 = A1 A0 =m1Y = A A =m2210Y = A A =m331012YJ, D
9、epartment ofElectrical & ElectronicTechnology, SAEE, USTBInputsOutputsSA1A0Y3Y2Y1Y0100000101001111111110110110110111Solution:Y = A AY = A A010110= A1 A0Y3 = A1 A0Y2= AB + AB= AB + ABZ2Z1Z2Z1Let:A=A ;B=A10= Y 1 + Y 2= Y 1Y 2Then:Z1= Y 0+ Y 3= Y 0Y 3Z2AB13YJ, DepartmentofElectrical &Electronic Technol
10、ogy,SAEE, USTB&Y0Y1Y2Y374LS139SA1A0Exercise: Use a 3-line-to-8-line decoder to realize the following combinational function.Y = AB + BC14YJ, Department ofElectrical &Electronic Technology, SAEE, USTBExercise: Write the Boolean expression of Z1 inminimum SOP form.= miYiZ1 (A,B,C) = Y3Y4Y5Y6 = Y3 + Y4
11、 + Y5 + Y6= ABC + ABC + ABC + ABC= m(3,4,5,6)15YJ, Department ofElectrical & Electronic Technology, SAEE,USTBZ1 = ABC + AB + AC用最小項(xiàng)譯碼器實(shí)現(xiàn)組合邏輯函數(shù):n/2n 線譯碼器,包含了n變量所有的最小項(xiàng)。加上或與非門,可以組成的輸入變量不大于n的組合邏輯函數(shù)。實(shí)現(xiàn)n變量邏輯函數(shù):將邏輯表達(dá)式寫成n變量最小項(xiàng)形式16YJ, Department ofElectrical & Electronic Technology,SAEE, USTBThe BCD-to-decim
12、al decoder4-line-to-10-line decoder1-of-10 decoder17YJ, Department ofElectrical & Electronic Technology, SAEE, USTBIC:The 74HC42 BCD-to-decimal decoder18YJ, Department ofElectrical & Electronic Technology, SAEE, USTBThe BCD-to-7-segment decoder(顯示譯碼器)Block diagram of 7-segment logic and display19YJ,
13、 Department ofElectrical & Electronic Technology, SAEE, USTBP142 :Digital System Application7-segment displaysLED (light-emitting diode) displays20YJ, Department ofElectrical & Electronic Technology, SAEE, USTBTtable of the BCD-to-7-segment decoderabfced21YJ,DepartmentofElectrical & Electronic Techn
14、ology, SAEE, USTBgIC: Pin diagram and logic symbol for the 74LS47 BCD-to-7-segment decoder/driver.22YJ, Department ofElectrical & Electronic Technology,SAEE, USTB74LS47 Function Tableylamp tblankinzero suppress23YJ, Department ofElectrical & Electronic Technology, SAEE, USTBinputoutputdisplaLTRBIBIA
15、3A2A1A0a b c d e f gest 010 0 0 0 0 0 08g 01 1 1 1 1 1 1全滅i1on010 0 0 01 1 1 1 1 1 1全滅111110 0 0 08421碼0 0 0 0 0 0 1譯碼019Zero suppression using the 74LS4700 0 0 000 0 0 000 0 1 110 0 0 0RBI LT8 4 2 174LS47g f e d c b a8 4 2 174LS47d c b a8 4 2 174LS47e d c b a8 4 2 1RBI LTRBI LTRBI LT74LS47d c b aBI
16、/RBOg f eBI/RBOgfBI/RBOgfeBI/RBOBlankedBlanked0101011100000000100Blanked& Electronic Technology,BlankedSAEE, USTB24YJ, Department ofElectricalRBI LT8 4 2 174LS47g f e d c b a BI/RBORBI LT8 4 2 174LS47g f e d c b a BI/RBORBI LT8 4 2 174LS47g f e d c b a BI/RBORBI LT8 4 2 174LS47g f e d c b a BI/RBOCh
17、ap06:P251-22Exercise: Determine the decimal number shown on the 7-segment displayer.25YJ, Department ofElectrical & ElectronicTechnology, SAEE, USTB6-6Encoders 編碼器An encoder is a combinational logic circuit that essentially performs a “reverse” decoder function.An encoder accepts an active level on
18、one of its inputs which representing a digit, such as a decimal or octal digit, and converts it to a coded output, such as BCD or binary.26YJ, Department ofElectrical & Electronic Technology, SAEE, USTBDecimal-to-BCD encoderAt one moment only one input iive.27YJ, Department ofElectrical & Electronic
19、 Technology, SAEE, USTBIC: 74HC147 decimal-to-BCD priority encoderactive LOW inputsactive LOW outputsA 0-digit input is not needed because the BCD outputs are all HIGH when there are no active inputs.28YJ, Department ofElectrical & Electronic Technology, SAEE, USTBHPRI means highest value input has
20、priority74LS147 Function Table29YJ, Department ofElectrical & Electronic Technology, SAEE,USTBInputOutputI9I8I7I6I5I4I3I2I1Y3Y2Y1Y0111111111010 110 1110111101111101111110111111101111111101111011001111000100110101011110011011110Q: If LOW levels appear on pins 1,4 and 13, indicate the state of the fou
21、r outputs.(all other inputs aIGH)If all inputs are LOW ?If all inputs aIGH ?74HC14730YJ, Department ofElectrical & Electronic Technology, SAEE,USTBApplication:A simplified keyboard encoder31YJ, Department ofElectrical & Electronic Technology, SAEE, USTB8-line-to-3-line encoder32YJ, Department ofElectrical & ElectronicTechnology, SAEE, USTBIC: 74LS148 8-line-to-3-line encoder.EI: enable input EO: enable outputGS: expansion purposeEO is LOW when EI is LOW and none of theinputs iiveGS is LOW when EI isLOW and any of the inputsiive33YJ, Depa
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 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ì)用戶上傳內(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024油畫原作版權(quán)轉(zhuǎn)讓與銷售合同3篇
- 一年級(jí)20以內(nèi)口算速度強(qiáng)化訓(xùn)練題
- 2024版勞務(wù)聘用合同范本
- 二零二五年度辦公場(chǎng)所安全評(píng)估與整改合同3篇
- 新人教版小學(xué)數(shù)學(xué)一年級(jí)上冊(cè)第六單元《6和7的加減法》教學(xué)設(shè)計(jì)
- 二零二五年度會(huì)展活動(dòng)安全保衛(wèi)與應(yīng)急預(yù)案合同3篇
- 2024新版?zhèn)€人信用借款合同樣本版B版
- 二零二五年度XX商標(biāo)權(quán)轉(zhuǎn)讓居間合同2篇
- 2024年精準(zhǔn)扶貧產(chǎn)業(yè)項(xiàng)目扶持合同
- 2025年度涂料原料供應(yīng)與產(chǎn)品研發(fā)合作協(xié)議3篇
- GB 19272-2024室外健身器材的安全通用要求
- 2024版企業(yè)股權(quán)收購(gòu)并購(gòu)重組方案合同3篇
- 2024AIGC創(chuàng)新應(yīng)用洞察報(bào)告
- 統(tǒng)編版2024-2025學(xué)年三年級(jí)上冊(cè)語(yǔ)文期末情景試卷(含答案)
- 2024北京通州初三(上)期末數(shù)學(xué)試卷(含答案解析)
- 市場(chǎng)營(yíng)銷習(xí)題庫(kù)(附參考答案)
- 2024年馬拉松比賽項(xiàng)目合作計(jì)劃書
- 2024年演出經(jīng)紀(jì)人資格《思想政治與法律基礎(chǔ)》考前必刷必練題庫(kù)500題(含真題、必會(huì)題)
- 苗圃購(gòu)銷合同范本
- 《二十四節(jié)氣融入幼兒園教育活動(dòng)的個(gè)案研究》
- 麻醉與舒適醫(yī)療
評(píng)論
0/150
提交評(píng)論