您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 4数字电子基础-组合逻辑电路
本章内容组合逻辑电路的分析与设计常用中规模集成电路南京大学金陵学院—肇莹组合逻辑电路组合逻辑电路输入逻辑变量输出逻辑变量Output=Function(Input)组合逻辑电路的分析BDCDBDCDYACDBCDCBDACDBCDCBDYDBADCDBADCY012组合逻辑电路设计输入DCBAY2Y1Y0输出0000000100100011010001010110011110001001101010111100110111101111001001001001001001010010010010010100100100100100组合逻辑电路设计设计一个3位奇偶校验电路,当输入变量中有奇数个“1”时,输出为“1”,否则,输出为“0”.用与非门来实现。ABCF00000101001110010111011101111000ABCCBACBACBAF组合逻辑电路设计111101ABC00011011ABCCBACBACBAABCCBACBACBAF&&&&&&&&ABCF组合逻辑电路设计组合逻辑电路设计RAGZ00000110001001110111011110010111RAGGRAGARAGRGARZ组合逻辑电路设计AGRGRAGARZ组合逻辑电路设计AGRGRAGARZ译码器用二极管组成的译码器VVVVILIH0,3译码器3-to-8译码器74LS1381GAG2BG2ABC0Y1Y2Y3Y4Y5Y6Y7YG1ABCY0Y1Y2Y3Y4Y5Y6Y774x13815141312111097645123Pin-8isGNDPin-16isVCCCBAGGGYBA)(2210CBAGGGYBA)(2211CBAGGGYBA)(2217表示低电平有效译码器AG2BG2译码器4线-16线译码器译码器的应用用译码器来实现逻辑函数。当译码器在工作状态下CBAY0CBAY1CBAY711,022GGGBA译码器的应用例6,5,3,0,,mZYXFG1G2AG2BABCY0Y1Y2Y3Y4Y5Y6Y774x138151413121110976451236530,,YYYYZYXF&100XYZ二——十进制译码器74LS42七段显示译码器BS201A灭零输入端:灭灯输入/灭零输出:74x48A3A2A1A0abcdefg00001001LTRBOBI/RBI七段显示译码器aYbYcYdYeYfYgY.1~,0gaYYthenLTifRBI灯测试端:LT.0~,0000&00123gaYYthenAAAARBIifRBOBI/.0~,0gaYYthenBIifRBILTAAAARBO0123七段显示译码器七段显示译码器编码器RequestEncoderREQ1REQ2REQ3REQNRequestor’snumber优先权编码器74x14874x148EII7I6I5I4I3I2I1I0A2A1A0GSEO54321131211106791415EOInputOutputEII0I1I2I3I4I5I6I7A2A1A0GS1000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX00XXX00000011111111111111111111111111111111111111111100000011001010011101001010110110101111011101EI----EnableGS---表示编码器工作,并且有编码信号输入(GotSometing)EO---表示编码器工作,但是没有编码信号输入。74x148EII7I6I5I4I3I2I1I0A2A1A0GSEO54321131211106791415EII7I6I5I4I3I2I1I0A2A1A0GSEO5432113121110679141516线-4线编码器Request15Request14Request13Request12Request11Request10Request9Request8Request7Request6Request5Request4Request3Request2Request1Request0&&&A3A2A1A0数据选择器101130112011101101SAADAADAADAADY201230122012101202SAADAADAADAADY74x153数据选择器ENABCD0D1D2D3D4D5D6D7YY74x15171110493211514131256ENDABCDCBADCBAY710数据选择器的扩展ENABCD0D1D2D3D4D5D6D7YENABCD0D1D2D3D4D5D6D7YAY0Y1ENBC扩展位数数据选择器的应用用数据选择器来实现逻辑函数ABCBABCAL01CBACBACBACBACABABCCBABCACABABCCBABCACCABCBABCAL0,142106753DDDDDDDDENABCD0D1D2D3D4D5D6D7YY74x1517111049321151413125600001111试用4选1数据选择器来实现数值比较器+ABBAL1BAL3BAL21位数值比较器BABAL1BAABBABABAL3BABAL2如何比较01230123&BBBBAAAA00112233&&&&BABABABA数值比较器(74x85)001122331122332233331BABABABABABABABABABABAL001122331122332233332BABABABABABABABABABABAL001122333BABABABABALBAIBABABABA00112233BAIBABABABA00112233BAI数值比较器(74x85)A0B0A1B1A2B2B3A3)(BAI)(BAI)(BAI)(BAL)(BAL)(BAL74x8523410912111314151765数值比较器(74x85)[注意]:当只比较两个四位二进制数时,1,0)()()(BABABAIII0707&YYXXCompare例:+5VYXYXYXX0Y0X1Y1X2Y2X3Y3X4Y4X5Y5X6Y6X7Y4A0B0A1B1A2B2B3A3)(BAI)(BAI)(BAI)(BAL)(BAL)(BAL74x85A0B0A1B1A2B2B3A3)(BAI)(BAI)(BAI)(BAL)(BAL)(BAL74x85数值比较器(CC14585)数值比较器(CC14585))()()()(BABABABAIYYY00112233112233223333BABABABABABABABABABABAYBAIBABABABA0011223300112233BABABABABAYBAI半加器XY00011011Cout00010110SXY0011S11YXYXYXSCoutXY00111XYCoutXYCoutS全加器全加器的真值表ABCin0100011110SABCin0100011110Cout1111inCBAS1111inCBAABC?Cin是进位输入信号Cout是进位输出信号ABCin000CoutS0001011000101001110010111011101101011全加器称作进位传输信号称作进位产生信号中,在BAABCBAABCinABCoSFA全加器逻辑符号CiABiCOCSPG进位传输信号Propagate进位产生信号Generate全加器如何设计4-bit全加器?ABCoSFACiABCoSFACiABCoSFACiABCoSFACi0C0A1A2A3A3B2B1B0B1C2C3C0S1S2S3SCOUT超前进位加法器iiiiiiiiiCPGCBABAC1对于四位二进制数的加法,000000001CPGCBABAC001011111111112CPPGPGCPGCBABAC0012012122222222223CPPPGPPGPGCPGCBABAC001231123223233333333334CPPPPGPPPGPPGPGCPGCBABAC74x28374x283C0A0B0A1B1A2B2A3B3S0S1S2S3C474x283C0C0A0B0A1B1A2B2A3B3S0S1S2S3C474x283A0B0A1B1B2B3A2A3B7B6B5B4A7A6A5A4C8S[3:0]S[7:4]如何实现8位二进制数的加法?组合逻辑电路中的竞争冒险现象&&+XYZZZXYZF10ZZ假设X=Y=1YZZXF0型冒险1,1ZZFYXWhen组合逻辑电路中的竞争冒险现象AAALAAL1型冒险稳定状态下0AAL消除竞争冒险现象的方法YZZXFZXY000111100111111,11ZZFXYWhenXYYZZXFZXZY存在0型冒险消除竞争冒险现象的方法WXYZ00000111100111101111111111WYZWZYXFWXYZ00000111100111101111111111YYFWXZWhen,110ZWXYZYXWWYZWZYXFWWFYZWhen,11ZZFWXYWhen,010存在0型冒险组合逻辑电路设计设计一个组合逻辑电路,实现两个一位二进制数的加法和减法运算。(1)用门电路实现;(2)用3-to-8译码器实现MABCICOS00000001001000110100010101100111100010011010101111001101111011110001011001101000111110110100001115,11,10,9,7,6,5,3mCO15,12,10,9,7,4,2,1mS组合逻辑电路设计组合逻辑电路设计MABCI000111100001111011111111SMABCI000111100001111011111111COAMCBBCCBAMCBAMBCBAMCAMABMACMBCCOIIIIIIIIIIIIICBACBAABCCBACBASMABCIS组合逻辑电路设计G1G2AG2BABCY0Y1Y2Y4Y5Y6Y3Y7G1G2AG2BABCY0Y1Y2Y4Y5Y6Y3Y711Y15Y8Y7Y0例:设计一个函数发生器电路,它的功能表如下表所示,要求:YSS0100A+B01AB10BA11BA组合逻辑电路设计(1)用卡诺图法写出函数Y的最简与或表达式;(2)用一个8选1数据选择器74LS151实现;(3)用两个3线——8线译码器74LS138实现;(可以附加适当的门电路)YBASS010000000011001010011101000010100110001111100011001010100101111100011011111011111014,13,11,8,7,3,2,1imYi01SSAB000111100001111011111
本文标题:4数字电子基础-组合逻辑电路
链接地址:https://www.777doc.com/doc-59538 .html