《數(shù)字電路第3章習題課》由會員分享,可在線閱讀,更多相關《數(shù)字電路第3章習題課(49頁珍藏版)》請在裝配圖網上搜索。
1、單擊此處編輯母版標題樣式,單擊此處編輯母版文本樣式,第二級,第三級,第四級,第五級,*,*,*,組合邏輯電路習題課,1,一、組合邏輯電路的基本概念,1.,定義,2.,結構特點,(1),電路由邏輯門構成,不含記憶元件;,(2),輸入信號是單向傳輸?shù)?,電路中不含反饋回路?3.,功能描述,真值表;表達式;卡諾圖;電路圖;波形圖,2,二、,SSI,構成的組合邏輯電路的分析和設計,1.,分析步驟,(1),從輸入端開始,逐級推導出函數(shù)表達式,;,(2),列真值表,(3),確定邏輯功能,2.,設計步驟,(1),列真值表;,(2),寫最簡表達式;,(3),畫邏輯電路,3,三、,MSI,組合邏輯電路的工作原理
2、及應用,1.,功能表、簡化邏輯符號,2.,典型應用,(1),用二進制譯碼器設計組合邏輯電路,(2),用數(shù)據選擇器設計組合邏輯電路,四、組合邏輯電路中的競爭和冒險,1.,競爭和冒險的概念,(1)1,型冒險和,0,型冒險;,(2),邏輯冒險和功能冒險;,4,2.,邏輯冒險、功能冒險的檢查,3.,冒險的消除方法,五、例題講解,5,例,1,:分析下圖電路的邏輯功能。,4,位加法器,4,位數(shù)值比較器,B,3,A,3,B,2,A,2,B,1,A,1,B,0,A,0,1,0,0,1,D,3,D,2,D,1,D,0,0,(AB),i,F,(AB),74,85,1,A,3,A,2,A,1,A,0,B,3,B,2
3、,B,1,B,0,S,3,S,2,S,1,S,0,Y,3,Y,2,Y,1,Y,0,CI,0,C,O,C,O,0,74LS283,0,6,解:邏輯真值表,分析:,當,D,3,D,0,9,時,,F,(,AB,),0,,,Y,3,Y,0,等于,D,3,D,0,,即為十進制數(shù)的,0,9,;,當,D,3,D,0,9,時,,F,(,AB,),1,,則加法器將,D,3,D,0,加上,6,,,Y,3,Y,0,就等于調整后的十進制數(shù)的,個位,,同時,CO,1,表示十進制數(shù)的,十位,。,結論:,此電路是將,4,位二進制數(shù),D,3,D,0,轉化為十進制數(shù)的,8421BCD,碼的電路。,7,例,2,:試用,4,位超前
4、進位加法器,74LS283,構成,4,位減法器。,解:設被減數(shù)為,A,3,A,2,A,1,A,0,,減數(shù)為,B,3,B,2,B,1,B,0,。由二進制運算法則可知,,A,3,A,2,A,1,A,0,減去,B,3,B,2,B,1,B,0,等于,A,3,A,2,A,1,A,0,加上,B,3,B,2,B,1,B,0,的補碼。而,補碼等于反碼加,1,。故,B,3,B,2,B,1,B,0,的補碼可以利用非門求,B,3,B,2,B,1,B,0,的反碼,利用低位進位輸入端,CI,接,1,實現(xiàn),B,3,B,2,B,1,B,0,的反碼加,1,。,8,4.1,分析圖,P4.1,電路的邏輯功能,9,解:(,1,)推
5、導輸出表達式,Y,2,=X,2,;,Y,1,=X,1,X,2,;,Y,0,=(MY,1,+X,1,M),X,0,(2),列真值表,M X,2,X,1,X,0,Y,2,Y,1,Y,0,0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111,000,001,011,010,110,111,101,100,000,001,011,010,111,110,100,101,10,(,3,)邏輯功能:,當,M=0,時,實現(xiàn),3,位自然二進制碼轉換成,3,位循環(huán)碼。,當,M=1,時,實現(xiàn),3,位循環(huán)碼轉換
6、成,3,位自然二進制碼。,11,圖,P 4.2,4.2,分析圖,P4.2,電路的邏輯功能。,12,解:,(1),從輸入端開始,逐級推導出函數(shù)表達式,F,1,=ABC,F,2,=A(BC)+BC,=A BC+ABC+ABC+ABC,(2),列真值表,13,A B C,F,1,F,2,0 0 0,0 0,0 0 1,1 1,0 1 0,1 1,0 1 1,0 1,1 0 0,1 0,1 0 1,0 0,1 1 0,0 0,1 1 1,1 1,(3),確定邏輯功能,假設變量,A,、,B,、,C,和函數(shù),F,1,、,F,2,均,表示一位二進制數(shù),那么,由真值表可知,該電路實現(xiàn)了全減器的功能。,14,A
7、,、,B,、,C,、,F,1,、,F,2,分別表示被減數(shù)、減數(shù)、來自低位的借位、本位差、本位向高位的借位。,A,B,C,F,1,F,2,被減數(shù),減 數(shù),借 位,差,15,4.4,設,ABCD,是一個,8421BCD,碼,試用最少與非門設計一個能判斷該,8421BCD,碼是否大于等于,5,的電路,該數(shù)大于等于,5,,,F=1,;,否則為,0,。,解:,(1),列真值表,16,A B C D,F,0 0 0 0,0,0 0 0 1,0,0 0 1 0,0,0 0 1 1,0,0 1 0 0,0,0 1 0 1,1,0 1 1 0,1,0 1 1 1,1,A B C D,F,1 0 0 0,1,1
8、0 0 1,1,1 0 1 0,1 0 1 1,1 1 0 0,1 1 0 1,1 1 1 0,1 1 1 1,17,(3),畫邏輯電路,如下圖所示:,(2),寫最簡表達式,AB,CD,1,1,10,11,1,1,1,01,00,10,11,01,00,F=A+BD+BC,=A BD BC,18,題,4.4,圖,19,4.10,電話室對,3,種電話編碼控制,按緊急次序排列優(yōu)先權高低是:火警電話、急救電話、普通電話,分別編碼為,11,,,10,,,01,。試設計該編碼電路。,解:設火警為,A,,,急救為,B,,,普通為,C,,,列真值表為:,A B C,F,1,F,2,1,0,1,0 0,1,0
9、 0 0,20,A,BC,F,1,=A+B,A,BC,F,2,=,21,4.11,試將,2/4,譯碼器擴展成,4/16,譯碼器,A,1,EN,Y,3,A,0,2/4,Y,2,譯碼器,Y,1,Y,0,EN,A,1,2/4(1),A,0,Y,0,Y,1,Y,2,Y,3,EN,A,1,2/4(2),A,0,Y,0,Y,1,Y,2,Y,3,EN,A,1,2/4(3),A,0,Y,0,Y,1,Y,2,Y,3,EN,A,1,2/4(4),A,0,Y,0,Y,1,Y,2,Y,3,A,3,A,2,A,1,A,0,Y,0,Y,1,Y,2,Y,3,Y,4,Y,5,Y,6,Y,7,Y,8,Y,9,Y,10,Y,11
10、,Y,12,Y,13,Y,14,Y,15,22,4.12,試用,74138,設計一個多輸出組合網絡,它的輸入是,4,位二進制碼,ABCD,,,輸出為:,F,1,:,ABCD,是,4,的倍數(shù)。,F,2,:,ABCD,比,2,大。,F,3,:,ABCD,在,8,11,之間。,F,4,:,ABCD,不等于,0,。,23,解:由題意,各函數(shù)是,4,變量函數(shù),故須將,74138,擴展為,4-16,線譯碼器,讓,A,、,B,、,C,、,D,分別接,4-16,線譯碼器的地址端,A,3,、,A,2,、,A,1,、,A,0,,,可寫出各函數(shù)的表達式如下:,=m,0,m,4,m,8,m,12,=Y,0,Y,4,Y
11、,8,Y,12,24,=m,8,m,9,m,10,m,11,=m,0,m,1,m,2,=Y,0,Y,1,Y,2,=Y,8,Y,9,Y,10,Y,11,=Y,0,25,實現(xiàn)電路如下圖所示:,26,4.13,試將八選一,MUX,擴展成三十二選一,MUX,。,EN,A,2,A,1,A,0,D,0,D,1,74151(1)Y,D,2,D,3,D,4,D,5,D,6,D,7,EN,A,2,A,1,A,0,D,0,D,1,74151(8)Y,D,2,D,3,D,4,D,5,D,6,D,7,1,A,2,Y,0,A,1,Y,1,A,0,Y,2,741,38,Y,3,E,1,Y,4,E,2A,Y,5,E,2B,
12、Y,6,Y,7,1,0,0,A,5,A,4,A,3,A,2,A,1,A,0,D,0,D,1,D,7,D,56,D,57,D,63,Y,0,Y,7,Y,27,4.14,試用,74151,實現(xiàn)下列函數(shù):,解:,(1),函數(shù)有,4,個輸入變量,而,74151,的地址端只有,3,個,即,A,2,、,A,1,、,A,0,,,故須對函數(shù)的卡諾圖進行降維,即降為,3,維。,28,10,11,1,1,01,1,1,00,10,11,01,00,AB,CD,0,0,0,0,1,D,D,D,D,0,10,11,01,00,A,BC,D,6,D,7,D,5,D,4,1,D,2,D,3,D,1,D,0,0,10,11
13、,01,00,A,2,A,1,A,0,D,0,=D,3,=D,D,1,=D,2,=D,D,4,=D,5,=D,6,=D,7,=0,令,A=A,2,、,B=A,1,、,C=A,0,則:,29,相應的電路圖如下所示:,30,(4),函數(shù)有,4,個輸入變量,而,74151,的地址端只有,3,個,即,A,2,、,A,1,、,A,0,,,故須對函數(shù)的卡諾圖進行降維,即降為,3,維。,10,1,1,1,11,01,1,1,00,10,11,01,00,AB,CD,D,6,D,7,D,5,D,4,1,D,2,D,3,D,1,D,0,0,10,11,01,00,A,2,A,1,A,0,1,D,0,0,1,0,
14、0,D,D,0,10,11,01,00,A,BC,31,D,0,=D,7,=D,D,1,=D,D,2,=D,3,=D,4,=D,5,=0。,D,6,=1,相應的電路圖,如右圖所示:,令,A=A,2,、,B=A,1,、,C=A,0,則:,32,4.15,用,74153,實現(xiàn)下列函數(shù):,解:,(1),函數(shù)有,4,個輸入變量,而,74153,的地址端只有,2,個,即,A,1,、,A,0,,,故須對函數(shù)的卡諾圖進行降維,即降為,2,維。,33,10,1,11,1,1,01,1,1,00,10,11,01,00,AB,CD,0,CD,0,CD,0,CD,1,1,A,B,D,2,D,0,0,D,1,0,D
15、,3,1,1,A,1,A,0,0,D,0,0,1,D,D,D,D,0,10,11,01,00,A,BC,34,D,0,=CD,D,1,=CD,D,2,=0,D,3,=CD,令,A=A,1,、,B=A,0,,,則:,相應的電路圖如下圖所示:,35,4.16,試在圖,4.2.31,的基礎上增加一片,7485,,構成,25,位數(shù)據比較器。,=,A,3,A,2,A,1,A,0,B,3,B,2,B,1,B,0,(A,B),i,(A=,B),i,7485(1),(AB,F,A=B,F,AB,F,A=B,F,A,B),i,(A=,B),i,7485(2),(AB,F,A=B,F,A,B),i,(A=,B),
16、i,7485(3),(AB,F,A=B,F,A,B),i,(A=,B),i,7485(4),(AB,F,A=B,F,A,B),i,(A=,B),i,7485(6),(AB,F,A=B,F,A,B),i,(A=,B),i,7485(5),(AB,F,A=B,F,A1001,時,須加,0110,修正項進行調整,計算結果為,C,4,C,3,C,2,C,1,C,0,。,A,3,A,2,A,1,CO,A,0,S,3,CI 74283 S,2,B,3,S,1,B,2,S,0,B,1,B,0,A,3,A,2,A,1,A,0,B,3,B,2,B,1,B,0,1,A,3,A,2,A,1,CO,A,0,S,3,CI 74283 S,2,B,3,S,1,B,2,S,0,B,1,B,0,S,3,S,2,S,1,S,0,0,0,C,4,C,3,C,2,C,1,C,0,1,C,4,37,4.18,用,74283,將,8421BCD,碼轉換為余,3BCD,碼。,解:由于同一個十進制數(shù)碼的余,3BCD,碼比相應的,8421BCD,碼大,3,,故用一片,74283,既可以實現(xiàn),電路圖如下所示:,38,4.19,用,74