Boolean Algebra and Reduction Techniques

Slides:



Advertisements
Similar presentations
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Advertisements

Digital Circuits.
Boolean rules for simplification Dr. Ahmed Telba.
Boolean Algebra and Combinational Logic
Digital Fundamentals Floyd Chapter 4 Tenth Edition
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Computer Engineering (Logic Circuits) (Karnaugh Map)
Digital Fundamentals with PLD Programming Floyd Chapter 4
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Chapter 5 Boolean Algebra and Reduction Techniques William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Boolean Algebra and Logic Simplification
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Digital Systems Presented by Prof Tim Johnson
Boolean Algebra and Digital Circuits
Department of Computer Engineering
1 Digital Logic Design Week 5 Simplifying logic expressions.
Digital Systems: Combinational Logic Circuits Wen-Hung Liao, Ph.D.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
LOGIC GATES & BOOLEAN ALGEBRA
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Boolean Logic 1 Technician Series Boolean 1.1 ©Paul Godin Created Jan 2015 gmail.com.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
Boolean Algebra and Reduction Techniques
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Boolean 1.1 Boolean Logic 1 ©Paul Godin Created September 2007 Last Edit September 2009 gmail.com.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 4 © 2008 Pearson Education.
Chapter 2 Boolean Algebra and Minimization Techniques.
Sum-of-Products (SOP)
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Digital Logic Design Dr. Oliver Faust Chapter 4
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
1 3- De-Morgan’s Theorems 1.The complement of a product of variables is equal to the sum of the complements of the variables. 2. The complement of a sum.
Chapter 4 OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
In some Boolean functions there are some input terms that will never occur, for example in BCD code there are sex invalid combinations 1010,1011,1100,
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
DeMorgan’s Theorem DeMorgan’s 2 nd Theorem The complement of a sum of variables is equal to the product of the complemented variables. A + B = A. B Applying.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Combinational Circuits Part 1
Chapter 3 Notes – Part II Review Questions
De Morgan’s Theorem,.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
CHAPTER 1 : INTRODUCTION
Digital Fundamentals Floyd Chapter 5 Tenth Edition
BASIC & COMBINATIONAL LOGIC CIRCUIT
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Chapter 5 Combinational Logic Analysis
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
Laws & Rules of Boolean Algebra
Chapter 3 – Describing Logic Circuits
Presentation transcript:

Boolean Algebra and Reduction Techniques Chapter 5 Boolean Algebra and Reduction Techniques 1

Objectives You should be able to: Write Boolean equations for combinational logic applications. Use Boolean algebra laws and rules to simplify combinational logic circuits. Apply DeMorgan’s theorem to complex Boolean equations to arrive at simplified equivalent equations. 2

Objectives You should be able to: Design single-gate logic circuits by using the universal capability of NAND and NOR gates. Troubleshoot combinational logic circuits. Implement sum-of-products expressions using AND-OR-INVERT gates. 3

Objectives You should be able to: Use the Karnaugh mapping procedure to systematically reduce complex Boolean equations to their simplest form. Describe the steps involved in solving a complete system design application. 4

Combinational Logic Using two or more logic gates to form a more useful, complex function A combination of logic functions B = KD + HD Boolean Reduction B = D(K+H) 5

Discussion Point Write the Boolean equation for the circuit below: 6

Boolean Laws and Rules Commutative law of addition and multiplication A + B = B + A ABC = BCA Figures 5-7 and 5-8 7

Boolean Laws and Rules Associative law of addition and multiplication A + (B + C) = (A + B) + C A(BC) = (AB)C Figures 5-9 and 5-10 8

Boolean Laws and Rules Distributive law A(B + C) = AB + AC (A + B)(C + D) = AC + AD + BC + BD Figures 5-11 and 5-12 9

Boolean Laws and Rules Rule 1: Anything ANDed with a 0 is equal to 0 Rule 2: Anything ANDed with a 1 is equal to itself Figure 5-14 10

Boolean Laws and Rules Rule 3: Anything ORed with a 0 is equal to itself Figure 5-15 Rule 4: Anything ORed with a 1 is equal to 1 Figure 5-16 11

Boolean Laws and Rules Rule 5: Anything ANDed with itself is equal to itself Figure 5-17 Rule 6: Anything ORed with itself is equal to itself Figure 5-18 12

Boolean Laws and Rules Rule 7: Anything ANDed with its own complement equals 0 Figure 5-19 Rule 8: Anything ORed with its own complement equals 1 Figure 5-20 13

Boolean Laws and Rules Rule 9: Anything complemented twice will return to its original logic level Figure 5-21 14

Boolean Laws and Rules Rule 10: A + AB = A + B See Table 5-1 in your text 15

16

Discussion Point Which Boolean laws are illustrated below? B + (D + E) = (B + D) + E AB = BA A + B + C = B + C + A A(C + D) = AC + AD What are some strategies for remembering the 10 Boolean rules? 17

Simplification of Combinational Logic Circuits Using Boolean Algebra Equivalent circuits can be formed with fewer gates Cost is reduced Reliability is improved Use laws and rules of Boolean Algebra 18

Simplification of Combinational Logic Circuits Using Boolean Algebra Simplify the logic circuit shown by using the appropriate laws and rules. 19

Simplification of Combinational Logic Circuits Using Boolean Algebra Simplify the logic circuit shown by using the appropriate laws and rules. 20

DeMorgan’s Theorem To simplify circuits containing NAND and NOR gates A B = A + B A + B = A B 21

DeMorgan’s Theorem Break the bar over the variables and change the sign between them Inversion bubbles - used instead of inverters to show inversion. Use parentheses to maintain proper groupings Results in Sum-of-Products (SOP) form Use of the MultiSIM logic converter 22

DeMorgan’s Theorem Bubble Pushing Figure 5-46 23

DeMorgan’s Theorem Bubble Pushing shortcut method of forming equivalent gates change the logic gate (AND to OR or OR to AND) Add bubbles to the inputs and outputs where there were none and remove original bubbles 24

The Universal Capability of NAND and NOR Gates The NAND as an inverter. Figure 5-49(a) 25

The Universal Capability of NAND and NOR Gates Forming an AND with two NANDs Figure 5-49(b) 26

The Universal Capability of NAND and NOR Gates Forming an OR with three NANDs Figure 5-53 27

The Universal Capability of NAND and NOR Gates Forming a NOR with three NANDs Figure 5-54 28

Discussion Point The technique used to form all gates from NANDs can also be used with NOR gates. Here is an inverter – Figure 5-55 Form the other logic gates using only NORs. 29

AND-OR-INVERT Gates for Implementing Sum-of-Products Expressions Product-of-sums (POS) form Sum-of-products (SOP) form Can easily be implemented using an AOI gate Programmable Logic Devices (PLDs) Can also be used 30

Karnaugh Mapping To minimize the number of gates Reduce circuit cost Reduce physical size Reduce gate failures Requires SOP form 31

Karnaugh Mapping Graphically shows output level for all possible input combinations Moving from one cell to an adjacent cell, only one variable changes 32

Karnaugh Mapping Steps for K-map reduction: Transform the Boolean equation into SOP form Fill in the appropriate cells of the K-map Encircle adjacent cells in groups of 2, 4 or 8 watch for the wraparound Find terms by determining which variables remain constant within circles 33

Discussion Point Use a K-map to simplify the circuit. 34

System Design Applications Use Karnaugh Mapping to reduce equations Use AND-OR-INVERT gates to implement logic 35

System Design Applications Use a K-map to simplify a circuit that will use an AOI and inverters to output a HIGH when a 4 bit hexadecimal input is an odd number from 0 to 9 36

CPLD Design Applications Used to simulate combinations of inputs and observe the resulting output to check for proper design operation. See CPLD Applications 5-1 and 5-2 37

38

39

Figures 5-80 and 5-81 40

Summary Several logic gates can be connected together to form combinational logic. There are several Boolean laws and rules that provide the means to form equivalent circuits. Boolean algebra is used to reduce logic circuits to simpler equivalent circuits that function identically to the original circuit. 41

Summary DeMorgan’s theorem is required in the reduction process whenever inversion bars cover more than one variable in the original Boolean equation. NAND and NOR gates are sometimes referred to as universal gates, because they can be used to form any of the other gates. 42

Summary AND-OR-INVERT (AOI) gates are often used to implement sum-of-products (SOP) equations Karnaugh mapping provides a systematic method of reducing logic circuits. 43