版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 3. Designing combinational circuits 3.1 Combinational circuits 3.2Implementing Boolean expressions 3.3 Simplifying logic circuits3.4 MSI combinational logic devices1 3.1 Combinational circuitsA combinational function can be defined by Boolean expression, truth table and circuit diagram. F = AB + CT
2、ruth tableABCFCircuit diagramFor example:2 3.2 Implementing Boolean expressions1. Sum-of-product expressions (1)Product termA term consisting of variables connected with AND operators is a product term.(2)Sum-of-product expressionAn expression with product terms connected by OR operators is a sum-of
3、-product (SOP) expression.For example: F(A,B,C) = AB + AC3 3.2 Implementing Boolean expressions2. Canonical expressions (1)MintermThe product term which contains all the variables (or their complements) is called a minterm.Each minterm can be described by a binary number such that each digit in the
4、number is a 1 if the variable in the minterm is true, and a 0 if the variable is complemented.The binary number for each minterm is unique.4 3.2 Implementing Boolean expressionsThree-variable Minterm numbering5 3.2 Implementing Boolean expressions(2)Canonical sum-of-product expressionThe expression
5、with minterms connected by OR operators is a canonical sum-of-product expression.(3)Conversion into canonical formA canonical sum-of-product expression can be obtained from a non-canonical sum-of-product expression by multiplying each term by (A+A)(B+B)(), where A,B, etc. are variables not in the pr
6、oduct term.6 3.2 Implementing Boolean expressionsExp1: Expand the expression F(A,B,C)= AB+AC+ABC to the canonical sum-of-product expression.F(A, B, C) = AB + AC + ABC= AB (C+C) + A (B+B) C + ABC= ABC+ ABC+ ABC+ ABC + ABC= ABC+ ABC+ ABC+ ABC 7 3.2 Implementing Boolean expressions2. Product-of-sum exp
7、ressions (1)Sum termA term consisting of variables (or their complements) connected with OR operators is a sum term.(2)Product-of-sum expressionAn expression with sum terms connected by AND operators is a product-of-sum (POS) expression.For example: F(A,B,C) = (A+B) (A+C)8 3.2 Implementing Boolean e
8、xpressions(3)MaxtermThe sum term which contains all the variables (or their complements) is called a maxterm.Each maxterm can be described by a binary number such that each digit in the number is a 0 if the variable in the maxterm is true, and a 1 if the variable is complemented.(4)Canonical product
9、-of-sum expressionThe expression with maxterms connected by OR operators is a canonical sum-of-product expression.9 3.2 Implementing Boolean expressionsThree-variable Maxterm numbering10 3.3 Simplifying logic circuitsSimplifying an expression usually means reducing the number of variables in each te
10、rm and reducing the number of terms.1. Simplification2. Algebraic minimization methodExp2: F(A,B,C) = A + AC + ABC= A (1+ C + BC) = AAlgebraic minimization applies Boolean identities and laws to simplify expressions.11 3.3 Simplifying logic circuitsAlgebraic minimization is capable of reducing any e
11、xpression to its simplest form, however, it relies on the skill of the individual in applying the appropriate rules. Limitations for algebraic method 12 3.3 Simplifying logic circuits3. Karnaugh map minimization method(1)Karnaugh mapKarnaugh map consists of two-dimensional array squares. Each square
12、 corresponds to a minterm. The minterms of adjacent squares, either horizontally or vertically, have the same variables except only one variable different.Karnaugh map method is a visual minimization method, by which we can identify the terms that can be combined.13 3.3 Simplifying logic circuits3,4
13、 variable Karnaugh map14 3.3 Simplifying logic circuits(2)Mapping functions onto the Karnaugh mapSquares should be marked with 1s for those minterms appear in the function to be minimized.Exp3: Mapping the function expression F(A,B,C) = ABC + ABC + ABC onto a Karnaugh map.15 3.3 Simplifying logic ci
14、rcuits(3)Karnaugh map minimization methodTo the sum-of-product expressions, the basic minimization steps are:) Mark those squares with a 1 that correspond to the terms in the expression.) Form the 1s into the largest valid groups of 1s.) Read the terms from the map which correspond to the groups (co
15、ver the 1s).16 3.3 Simplifying logic circuitsExp4: Minimize the function expression by Karnaugh map: F(A,B,C) = A B C + A B C + A B C F(A,B,C) = A B + A B C Adjacent 1s can be combined into a group corresponding to a single product term, eliminating the different variable.17 3.3 Simplifying logic ci
16、rcuitsExp5: Minimize the function expression by Karnaugh map: F(A,B,C) = A B C + A B C F(A,B,C) = A C Squares on one edge are also adjacent to those on the opposite edge (top and bottom or left and right). 18 3.3 Simplifying logic circuitsLarger groupsThe final minimization term is given by those va
17、riables which are common to all the squares in the group.19 3.3 Simplifying logic circuitsTruth table description and the Karnaugh map There is a direct relationship between the squares on a Karnaugh map and the truth table description of the function as both have one entry for each minterm.20 3.3 S
18、implifying logic circuits4. Incompletely specified functions(1)dont care termThe combinations of input values that cannot occur or can occur but the output values for them are irrelevant are treated as dont care terms, and marked by X.(2)Incompletely specified functionThe function with dont care ter
19、m is called incompletely specified function.21 3.3 Simplifying logic circuits(3)Minimizing incompletely specified functionsWe can take advantage of the dont care terms in minimization. Each X can be considered as 0 or 1 whichever leads to the simplest solution.Exp6: Suppose a logic circuit is design
20、ed to generate a 1 when the BCD digit 8 appears. What will the function be? F = A D22 3.4 MSI combinational logic devices1. DecoderA decoder is designed to recognize the different patterns that can occur on a set of inputs. One output of the decoder is activated for each of the possible binary patte
21、rns that occur on the inputs.Lets take a 3-line-to-8-line decoder 74LS138 as an example:three inputs: A2, A1, A0eight outputs: Y0 Y7enable inputs: S3, S2, S1(1)Function 23 3.4 MSI combinational logic devicesTruth table of a 3-line-to-8-line decoder24 3.4 MSI combinational logic devicesThe enable inp
22、uts enable the device and allow its outputs to change with the inputs:) When S11、S2S30 ,the decoder is enabled,Y0 Y7are determined by A0 A2 ;) When S10 or S21 or S31 ,the decoder is disabled, Y0 Y7 will be limited to 1;The outputs of the decoder are active-low, which means that they are normally at
23、a logic 1 and become a logic 0 to indicate activation. An output becomes a 0 when the corresponding input pattern has been applied.25 3.4 MSI combinational logic devices(2)Applications Address decoderDecoder can be used in computer interface design to identify addresses of memory modules. Suppose th
24、e memory module address to be recognized is 010, then output Y2 is chosen to activate the memory module.Exp6:26 3.4 MSI combinational logic devicesLogic function generatorAs each output of a decoder implements one minterm, therefore, the decoder can be used to implement a combinational logic functio
25、n.Exp7: Implement the function F = ABC + ABC + ABC by using a 3-line-to-8-line decoder.Three outputs need to be selected, Y5,Y6 and Y7 which are connected to the inputs of a three-input NAND gate.27 3.4 MSI combinational logic devicesCircuit diagram 28 3.4 MSI combinational logic devices2. Multiplex
26、er (Selector)(1)Function Multiplexer is a logic circuit which allows one of a set of data inputs to be selected and fed into a single output.Lets take a 8-line-to-1-line selector or multiplexer as an example:Model of a multiplexer3 data select inputs: A2, A1, A01 data output: Y8 data inputs: D0 D729
27、 3.4 MSI combinational logic devicesMSI devices 74LS151: 8-line-to-1-line multiplexer 74LS153: dual 4-line-to-1-line multiplexer 74LS157: quad 2-line-to-1-line multiplexer 30 3.4 MSI combinational logic devices(2)Applications Address decoderExp8: Suppose the memory module address to be recognized is
28、 010.D0 D1 D2 D3 D4 D5D6D7SA2A1A00Y MultiplexerY 0100101To memory Then output Y is 0, which can be used to activate the memory module.Multiplexer can be used as an address decoder.31 3.4 MSI combinational logic devicesLogic function generatorApart from its principle function for selecting one data i
29、nput to feed to a single output, the multiplexer can be used to implement a sum-of-product expression. If a data input is set to a 1 and the data input is selected by the combination of select input values, the Y output will be a 1.Hence by connecting each data input to either a 0 or a 1, depending upon whether the associated minterm is a part of the required function that Y output will implement.32 3.4 MSI combinational logic de
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 驻马店地区新蔡县2025-2026学年第二学期五年级语文期末考试卷(部编版含答案)
- 宝鸡市岐山县2025-2026学年第二学期五年级语文第八单元测试卷(部编版含答案)
- 阿坝藏族羌族自治州松潘县2025-2026学年第二学期三年级语文期末考试卷(部编版含答案)
- 南阳市南召县2025-2026学年第二学期三年级语文期末考试卷(部编版含答案)
- 船舶气焊工岗前跨领域知识考核试卷含答案
- 煤提质工操作评估竞赛考核试卷含答案
- 复混肥生产工安全防护测试考核试卷含答案
- 2026年数字疗法临床验证产业园
- 2026年工业节能审计评估认证
- 梅州市平远县2025-2026学年第二学期三年级语文第八单元测试卷(部编版含答案)
- TCSEM0024-2024智慧消防火灾防控系统建设要求
- T∕CECS 21-2024 超声法检测混凝土缺陷技术规程
- 新员工职业道德培训课件
- 基于BIM技术的装配式建筑施工管理与控制研究
- 多媒体一体机使用管理制度
- 临床科室每月运营分析报告
- 教师培训的课堂管理与纪律管理
- 毛泽东思想和中国特色社会主义理论体系概论(大连海事大学)智慧树知到课后章节答案2023年下大连海事大学
- 保洁服务投标方案
- 学位外语(本23春)形成性考核3试题答案
- 暖通专业主要设备材料技术要求
评论
0/150
提交评论