Lecture 3 Algebraic Simplification

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
Advertisements

ECE 331 – Digital System Design
Examples Simplify: ab’c + abc + a’bc Show that X + X’Y = X + Y
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
PMOS & nMOS pMOS is open when input is high. nMOS is closed when input is high. Always pMOS at top (high) and nMOS at botom (ground) implement F in pMOS.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
9/15/09 - L5 Boolean AlgebraCopyright Joanne DeGroat, ECE, OSU1 Boolean Algebra.
CHAPTER 2 Boolean Algebra
Demonstrate Basic Algebra Skills
ECE 331 – Digital System Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
©2010 Cengage Learning CHAPTER 3 BOOLEAN ALGEBRA (continued) 3.1Multiplying Out and Factoring Expressions 3.2Exclusive-OR and Equivalence Operations 3.3The.
Section 2-4 Reasoning with Properties from Algebra.
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
©2004 Brooks/Cole FIGURES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
KFUPM COE 202: Digital Logic Design Combinational Logic Part 1 Courtesy of Dr. Ahmad Almulhem.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Chap 2. Combinational Logic Circuits
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
CONSENSUS THEOREM Choopan Rattanapoka.
Conversion from one number base to another Binary arithmetic Equation simplification DeMorgan’s Laws Conversion to/from SOP/POS Reading equations from.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Module –I Boolean Algebra Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
Digital Logic Design Dr. Oliver Faust Chapter 4
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
Karnaugh Map (K-Map) By Dr. M. Khamis Mrs. Dua’a Al Sinari.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic 4: Cost of Logic Circuits and Karnaugh Maps José Nelson Amaral.
1 CS 352 Introduction to Logic Design Lecture 1 Ahmed Ezzat Number Systems and Boolean Algebra, Ch-1 + Ch-2.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Introduction to Digital Electronics Lecture.
1 CS 352 Introduction to Logic Design Lecture 2 Ahmed Ezzat Boolean Algebra and Its Applications Ch-3 + Ch-4.
Basic Laws, theorems, and postulates of Boolean Algebra
©2010 Cengage Learning SLIDES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter.
Fundamentals of Logic Design, 7 th editionRoth/Kinney © 2014 Cengage Learning Engineering. All Rights Reserved. 1 Boolean Algebra (continued) UNIT 3.
ECE 331 – Digital System Design
Lecture 7 Multi-Level Gate Networks
ECE 301 – Digital Electronics
Computer Organisation
Lecture 2 Boolean Algebra Basic
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
CS 352 Introduction to Logic Design
CHAPTER 1 : INTRODUCTION
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra.
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
Lecture 2-1 Boolean Algebra
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
ECE 331 – Digital System Design
Lecture 3: Boolean Algebra
17-Nov-18 Logic Algebra 1 Combinational logic.
Boolean Algebra.
COE 202: Digital Logic Design Combinational Logic Part 1
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Boolean Algebra.
Fractional Factorial Design
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
CHAPTER 3 BOOLEAN ALGEBRA (continued)
ECE 352 Digital System Fundamentals
Design matrix Run A B C D E
Laws & Rules of Boolean Algebra
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
DIGITAL DESIGN MORRIS MANO UNIT 3 ANSWERS OF THE PROBLEMS 1-29
Presentation transcript:

Lecture 3 Algebraic Simplification Consensus Theorem XY + X’Z + YZ = XY + X’Z YZ, which is referred to as consensus term, is redundant. transform YZ to YZ(X+X’) Example The consensus term for abd and b’de’ is ade’. The dual form of the consensus theorem. (X+Y)(X’+Z)(Y+Z) = (X+Y)(X’+Z) Chap 3

Consensus Term Example A’C’D + A’BD + BCD +ABC +ACD’ BCD can be eliminated by (A’BD, ABC) pair. But we can do it better. (A’C’D, BCD) delete A’BD (BCD, ACD’) delete ABC Repeat BCD for twice Chap 3

Add a Consensus Term Example: Add consensus term to eliminate other terms. F = ABCD + B’CDE + A’B’ + BCE’ ABCD + B’CDE => ACDE, add this to F F = ABCD + B’CDE + A’B’ + BCE’ + ACDE (BCE’ , ACDE) => ABCD (A’B’ , ACDE) => B’CDE Chap 3

Simplification Using Algebraic Methods Combining terms XY + XY’ = X Example: abc’d’ + abcd’ = abd’ ab’c +abc + a’bc = ab’c + abc + abc + a’bc = ac + bc. (a+bc)(d+e’) + a’(b’+c’)(d+e’) = d + e’. DeMorgan Chap 3

More examples Eliminating terms. Example: X + XY = X XY + X’Z + YZ = XY + X’Z Example: a’b + a’bc = a’b a’bc’ + bcd + a’bd = a’bc’+ bcd Chap 3

Simplification Using Algebraic Methods Eliminating literals X + X’Y = X + Y Example: A’B + A’B’C’D’ + ABCD’ = A’(B + B’C’D’) + ABCD’ = A’(B + C’D’) + ABCD’ = B(A’ + ACD’) + A’C’D = B(A’ + CD’) + A’C’D = A’B + BCD’ + A’C’D’ Chap 3

Simplification Using Algebraic Methods Adding Redundant Terms Add XX’ Multiply (X+X’) Add YZ to XY + X’Z Example: add then remove WX + XY + X’Z’ + WY’Z’ = WX + XY + X’Z’ + (WY’Z’ + WZ’) = WX + XY + X’Z’ + WZ’ = WX + XY + X’Z’ Chap 3

Simplification Example Using Dual Theorems (A’ + B’ + C’)(A’ + B’ + C) (B’ + C)(A +C) (A + B + C) 1. (A’ + B’ + C’)(A’ + B’ + C) = (A’ + B’) Dual XY’ + XY = X, (X+Y’)(X+Y) = X 2. (A + B + C) can be eliminated. (A+C) (A+B+C), dual X + XY = X, so (A+C) (A+B+C) = A+C It becomes : (A’ + B’)(B’+C)(A+C) = (A’+ B’)(A +C) (B’ +C) is the consensus term. A’B’ + AC consensus term is B’C Chap 3

Proving Validity Proving if an equation is valid for all combinations of values of variables Methodology Using a truth table => Tedious. Heuristic Manipulate one side of equation to see if it matches the other side. Reduce both side to the same expression. Perform reversible operation on both sides. Complement on both sides Multiplication and addition of the same term to both sides are not permissible. (Why? Division and subtraction are not defined for Boolean algebra.) Chap 3

Cancellation Law is not True Cancellation law is not true for Boolean algebra, i.e., If x +y = x + z, then y=z (let x = 1, y = 0, z= 1) Cancellation law for multiplication is not valid for Boolean algebra, i. e. if xy = xz, then y = z. Let x = 0, y = 0, z = 1. This is why in proving the validity of an equation, although adding the same term to both sides of the equation leads to a valid equation, but the reverse operation (canceling or subtracting a term from both sides) does not lead to a valid equation. Therefore, when we try to prove that an equation is valid, it is not permissible to add or to multiply both sides by the same expression, because the addition or the multiplication operations are not reversible. Chap 3