T9: Covering. Prove true by: Method 1: Perfect induction Method 2: Using other theorems and axioms. Number Theorem. T9 B (B+C) = B Covering

Similar documents
CPE100: Digital Logic Design I

Administrative Notes. Chapter 2 <9>

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

CHAPTER III BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA

CHAPTER 2 BOOLEAN ALGEBRA

UNIT 3 BOOLEAN ALGEBRA (CONT D)

Boolean Algebra and Logic Design (Class 2.2 1/24/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE

UNIT 5 KARNAUGH MAPS Spring 2011

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

CHAPTER 5 KARNAUGH MAPS

Combinational Logic. Review of Combinational Logic 1

This form sometimes used in logic circuit, example:

Midterm1 Review. Jan 24 Armita

Chapter 2 Combinational Logic Circuits

CPE100: Digital Logic Design I

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C

Chapter 3. Boolean Algebra. (continued)

Chapter 2 Combinational Logic Circuits

ECE 238L Boolean Algebra - Part I

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

Karnaugh Maps Objectives

ELC224C. Karnaugh Maps

Chapter 2 Boolean Algebra and Logic Gates

Slides for Lecture 10

Unit 2 Session - 6 Combinational Logic Circuits

Digital Logic Design. Malik Najmus Siraj

Combinational Logic Fundamentals

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

DIGITAL ELECTRONICS & it0203 Semester 3

CHAPTER 3 BOOLEAN ALGEBRA

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

Simplification of Boolean Functions. Dept. of CSE, IEM, Kolkata

APPLİCATION OF BOOLEAN ALGEABRA

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

12/31/2010. Overview. 04-Boolean Algebra Part 2 Text: Unit 2. Basic Theorems. Basic Theorems. Basic Theorems. Examples

Karnaugh Map & Boolean Expression Simplification

Chapter 2 Combinational Logic Circuits

Lecture 7: Karnaugh Map, Don t Cares

Number System conversions

Chap 2. Combinational Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2

INTRO TO I & CT. (Boolean Algebra and Logic Simplification.) Lecture # By: Department of CS & IT.

EECS Variable Logic Functions

211: Computer Architecture Summer 2016

ENG2410 Digital Design Combinational Logic Circuits

Hardware Design I Chap. 2 Basis of logical circuit, logical expression, and logical function

Unit 2 Boolean Algebra

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Lab 1 starts this week: go to your session

Digital Logic Design. Combinational Logic

Chapter 2 Combinational Logic Circuits

MC9211 Computer Organization

Gate-Level Minimization

Signals and Systems Digital Logic System

Chapter 2 : Boolean Algebra and Logic Gates

Chapter 2 Combinational logic

Fundamentals of Boolean Algebra

Chapter-2 BOOLEAN ALGEBRA

Digital Circuit And Logic Design I. Lecture 3

2 Application of Boolean Algebra Theorems (15 Points - graded for completion only)

Chapter 2 Combinational

ELCT201: DIGITAL LOGIC DESIGN

Standard Expression Forms

Minimization techniques

Combinational Logic Design Principles

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms

Solutions to Assignment No 5 Digital Techniques Fall 2007

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

Cover Sheet for Lab Experiment #3

Optimizations and Tradeoffs. Combinational Logic Optimization

Unit 2 Boolean Algebra

COM111 Introduction to Computer Engineering (Fall ) NOTES 6 -- page 1 of 12

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Karnaugh Maps (K-Maps)

Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

1. Expand each of the following functions into a canonical sum-of-products expression.

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Computer Organization I

Combinational Logic. Fan-in/ Fan-out Timing. Copyright (c) 2012 Sean Key

Chapter 2. Digital Logic Basics

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Chapter 7 Logic Circuits

Lecture 2 Review on Digital Logic (Part 1)

EEE130 Digital Electronics I Lecture #4

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Review for Test 1 : Ch1 5

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra

CSE 140: Components and Design Techniques for Digital Systems

Earlier this week we defined Boolean atom: A Boolean atom a is a nonzero element of a Boolean algebra, such that ax = a or ax = 0 for all x.

Logic Design. Chapter 2: Introduction to Logic Circuits

Logical Design of Digital Systems

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

Boolean Algebra & Logic Gates. By : Ali Mustafa

Logic Design I (17.341) Fall Lecture Outline

Transcription:

T9: Covering Number Theorem Name T9 B (B+C) = B Covering Prove true by: Method 1: Perfect induction Method 2: Using other theorems and axioms Chapter 2 <58>

T9: Covering Number Theorem Name T9 B (B+C) = B Covering Method 1: Perfect Induction B C (B+C) B(B+C) 0 0 0 1 1 0 1 1 Chapter 2 <59>

T9: Covering Number Theorem Name T9 B (B+C) = B Covering Method 1: Perfect Induction B C (B+C) B(B+C) 0 0 0 1 1 0 1 1 0 0 1 0 1 1 1 1 Chapter 2 <60>

T9: Covering Number Theorem Name T9 B (B+C) = B Covering Method 2: Prove true using other axioms and theorems. Chapter 2 <61>

T9: Covering Number Theorem Name T9 B (B+C) = B Covering Method 2: Prove true using other axioms and theorems. B (B+C) = B B + B C T8: Distributivity = B + B C T3: Idempotency = B (1 + C) T8: Distributivity = B (1) T2: Null element = B T1: Identity Chapter 2 <62>

T10: Combining Number Theorem Name T10 (B C) + (B C) = B Combining Prove true using other axioms and theorems: Chapter 2 <63>

T10: Combining Number Theorem Name T10 (B C) + (B C) = B Combining Prove true using other axioms and theorems: B C + B C = B (C+C) T8: Distributivity = B (1) T5 : Complements = B T1: Identity Chapter 2 <64>

T11: Consensus Number Theorem T11 (B C) + (B D) + (C D) = (B C) + B D Name Consensus Prove true using (1) perfect induction or (2) other axioms and theorems. Chapter 2 <65>

Recap: Boolean Thms of Several Vars Number Theorem Name T6 B C = C B Commutativity T7 (B C) D = B (C D) Associativity T8 B (C + D) = (B C) + (B D) Distributivity T9 B (B+C) = B Covering T10 (B C) + (B C) = B Combining T11 B C + (B D) + (C D) = B C + B D Consensus Chapter 2 <66>

Boolean Thms of Several Vars: Duals # Theorem Dual Name T6 B C = C B B+C = C+B Commutativity T7 (B C) D = B (C D) (B + C) + D = B + (C + D) Associativity T8 B (C + D) = (B C) + (B D) B + (C D) = (B+C) (B+D) Distributivity T9 B (B+C) = B B + (B C) = B Covering T10 (B C) + (B C) = B (B+C) (B+C) = B Combining T11 (B C) + (B D) + (C D) = (B C) + (B D) (B+C) (B+D) (C+D) = (B+C) (B+D) Dual: Replace: with + 0 with 1 Consensus Chapter 2 <67>

Boolean Thms of Several Vars: Duals # Theorem Dual Name T6 B C = C B B+C = C+B Commutativity T7 (B C) D = B (C D) (B + C) + D = B + (C + D) Associativity T8 B (C + D) = (B C) + (B D) B + (C D) = (B+C) (B+D) Distributivity T9 B (B+C) = B B + (B C) = B Covering T10 (B C) + (B C) = B (B+C) (B+C) = B Combining T11 (B C) + (B D) + (C D) = (B C) + (B D) (B+C) (B+D) (C+D) = (B+C) (B+D) Consensus Dual: Replace: with + 0 with 1 Warning: T8 differs from traditional algebra: OR (+) distributes over AND ( ) Chapter 2 <68>

Boolean Thms of Several Vars: Duals # Theorem Dual Name T6 B C = C B B+C = C+B Commutativity T7 (B C) D = B (C D) (B + C) + D = B + (C + D) Associativity T8 B (C + D) = (B C) + (B D) B + (C D) = (B+C) (B+D) Distributivity T9 B (B+C) = B B + (B C) = B Covering T10 (B C) + (B C) = B (B+C) (B+C) = B Combining T11 (B C) + (B D) + (C D) = (B C) + (B D) (B+C) (B+D) (C+D) = (B+C) (B+D) Consensus Axioms and theorems are useful for simplifying equations. Chapter 2 <69>

Simplifying an Equation Reducing an equation to the fewest number of implicants, where each implicant has the fewest literals Chapter 2 <70>

Simplifying an Equation Reducing an equation to the fewest number of implicants, where each implicant has the fewest literals Recall: Implicant: product of literals ABC, AC, BC Literal: variable or its complement A, A, B, B, C, C Chapter 2 <71>

Simplifying an Equation Reducing an equation to the fewest number of implicants, where each implicant has the fewest literals Recall: Implicant: product of literals ABC, AC, BC Literal: variable or its complement A, A, B, B, C, C Also called: minimizing the equation Chapter 2 <72>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Chapter 2 <73>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A Chapter 2 <74>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <75>

Simplification methods A combination of Combining/Covering PA + A = P + A Proof: PA + A = PA + (A + AP) T9 Covering = PA + PA + A T6 Commutativity = P(A + A) + A T8 Distributivity = P(1) + A T5 Complements = P + A T1 Identity Chapter 2 <76>

T11: Consensus Number Theorem T11 (B C) + (B D) + (C D) = (B C) + B D Name Consensus Prove using other theorems and axioms: Chapter 2 <77>

T11: Consensus Number Theorem T11 (B C) + (B D) + (C D) = (B C) + B D Name Consensus Prove using other theorems and axioms: B C + B D + C D = BC + BD + (CDB+CDB) T10: Combining = BC + BD + BCD+BCD T6: Commutativity = BC + BCD + BD + BCD T6: Commutativity = (BC + BCD) + (BD + BCD) T7: Associativity = BC + BD T9 : Covering Chapter 2 <78>

Recap: Boolean Thms of Several Vars # Theorem Dual Name T6 B C = C B B+C = C+B Commutativity T7 (B C) D = B (C D) (B + C) + D = B + (C + D) Associativity T8 B (C + D) = (B C) + (B D) B + (C D) = (B+C) (B+D) Distributivity T9 B (B+C) = B B + (B C) = B Covering T10 (B C) + (B C) = B (B+C) (B+C) = B Combining T11 (B C) + (B D) + (C D) = (B C) + (B D) (B+C) (B+D) (C+D) = (B+C) (B+D) Consensus Chapter 2 <79>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <80>

Simplifying Boolean Equations Example 1: Y = AB + AB Chapter 2 <81>

Simplifying Boolean Equations Example 1: Y = AB + AB Y = A T10: Combining or = A(B + B) T8: Distributivity = A(1) T5 : Complements = A T1: Identity Chapter 2 <82>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <83>

Simplifying Boolean Equations Example 2: Y = A(AB + ABC) Chapter 2 <84>

Simplifying Boolean Equations Example 2: Y = A(AB + ABC) = A(AB(1 + C)) T8: Distributivity = A(AB(1)) T2 : Null Element = A(AB) T1: Identity = (AA)B T7: Associativity = AB T3: Idempotency Chapter 2 <85>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <86>

Simplifying Boolean Equations Example 3: Y = A BC + A Recall: A = A Chapter 2 <87>

Simplifying Boolean Equations Example 3: Y = A BC + A Recall: A = A = A T9 Covering: X + XY = X or = A (BC + 1) T8: Distributivity = A (1) T2 : Null Element = A T1: Identity Chapter 2 <88>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <89>

Simplifying Boolean Equations Example 4: Y = AB C + ABC + A BC Chapter 2 <90>

Simplifying Boolean Equations Example 4: Y = AB C + ABC + A BC = AB C + ABC + ABC + A BC T3 : Idempotency = (AB C+ABC) + (ABC+A BC) T7 : Associativity = AC + BC T10: Combining Chapter 2 <91>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <92>

Simplifying Boolean Equations Example 5: Y = AB + BC +B D + AC D Chapter 2 <93>

Simplifying Boolean Equations Example 5: Y = AB + BC +B D + AC D Method 1: Y = AB + BC + B D + (ABC D + AB C D ) T10: Combining = (AB + ABC D ) + BC + (B D + AB C D ) T6: Commutativity T7: Associativity = AB + BC + B D T9: Covering Method 2: Y = AB + BC + B D + AC D + AD T11: Consensus = AB + BC + B D + AD T9: Covering = AB + BC + B D T11: Consensus Chapter 2 <94>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <95>

Simplifying Boolean Equations Example 6: Y = (A + BC)(A + DE) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Chapter 2 <96>

Simplifying Boolean Equations Example 6: Y = (A + BC)(A + DE) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Make: X = BC, Z = DE and rewrite equation Y = (A+X)(A+Z) substitution (X=BC, Z=DE) = A + XZ T8 : Distributivity = A + BCDE substitution or Y = AA + ADE + ABC + BCDE T8: Distributivity = A + ADE + ABC + BCDE T3: Idempotency = A + ADE + ABC + BCDE = A + ABC + BCDE T9 : Covering = A + BCDE T9 : Covering Chapter 2 <97>

Y = (A + BC)(A + DE) or Simplifying Boolean Equations Example 6: Apply T8 first when possible: W+XZ = (W+X)(W+Z) Make: X = BC, Z = DE and rewrite equation Y = (A+X)(A+Z) substitution (X=BC, Z=DE) = A + XZ T8 : Distributivity = A + BCDE substitution Y = AA + ADE + ABC + BCDE T8: Distributivity = A + ADE + ABC + BCDE T3: Idempotency = A + ADE + ABC + BCDE = A + ABC + BCDE T9 : Covering = A + BCDE T9 : Covering This is called multiplying out an expression to get sum-of-products (SOP) form. Chapter 2 <98>

Multiplying Out: SOP Form An expression is in simplified sum-ofproducts (SOP) form when all products contain literals only. SOP form: Y = AB + BC + DE NOT SOP form: Y = DF + E(A +B) SOP form: Z = A + BC + DE F Chapter 2 <99>

Multiplying Out: SOP Form Example: Y = (A + C + D + E)(A + B) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Chapter 2 <100>

Multiplying Out: SOP Form Example: Y = (A + C + D + E)(A + B) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Make: X = (C+D+E), Z = B and rewrite equation Y = (A+X)(A+Z) substitution (X=(C+D+E), Z=B) = A + XZ T8 : Distributivity = A + (C+D+E)B substitution = A + BC + BD + BE T8: Distributivity or Y = AA+AB+AC+BC+AD+BD+AE+BE T8: Distributivity = A+AB+AC+AD+AE+BC+BD+BE T3: Idempotency = A + BC + BD + BE T9 : Covering Chapter 2 <101>

Canonical SOP & POS Form SOP sum-of-products O C E 0 0 0 0 1 0 1 0 1 1 1 0 minterm O C O C O C O C E = OC = Σ(m 2 ) POS product-of-sums O C E 0 0 0 1 1 0 1 1 0 0 1 0 maxterm O + C O + C O + C O + C E = (O + C)(O + C)(O + C) = Π(M0, M1, M3) Chapter 2 <102>

Factoring: POS Form An expression is in simplified productof-sums (POS) form when all sums contain literals only. POS form: Y = (A+B)(C+D)(E +F) NOT POS form: Y = (D+E)(F +GH) POS form: Z = A(B+C)(D+E ) Chapter 2 <103>

Factoring: POS Form Example 1: Y = (A + B CDE) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Chapter 2 <104>

Factoring: POS Form Example 1: Y = (A + B CDE) Apply T8 first when possible: W+XZ = (W+X)(W+Z) Make: X = B C, Z = DE and rewrite equation Y = (A+XZ) substitution (X=B C, Z=DE) = (A+B C)(A+DE) T8 : Distributivity = (A+B )(A+C)(A+D)(A+E) T8 : Distributivity Chapter 2 <105>

Factoring: POS Form Example 2: Y = AB + C DE + F Apply T8 first when possible: W+XZ = (W+X)(W+Z) Chapter 2 <106>

Factoring: POS Form Example 2: Y = AB + C DE + F Apply T8 first when possible: W+XZ = (W+X)(W+Z) Make: W = AB, X = C, Z = DE and rewrite equation Y = (W+XZ) + F substitution W = AB, X = C, Z = DE = (W+X)(W+Z) + F T8 : Distributivity = (AB+C )(AB+DE)+F substitution = (A+C )(B+C )(AB+D)(AB+E)+F T8 : Distributivity = (A+C )(B+C )(A+D)(B+D)(A+E)(B+E)+F T8 : Distributivity = (A+C +F)(B+C +F)(A+D+F)(B+D+F)(A+E+F)(B+E+F) T8 : Distributivity Chapter 2 <107>

Boolean Thms of Several Vars: Duals # Theorem Dual Name T6 B C = C B B+C = C+B Commutativity T7 (B C) D = B (C D) (B + C) + D = B + (C + D) Associativity T8 B (C + D) = (B C) + (B D) B + (C D) = (B+C) (B+D) Distributivity T9 B (B+C) = B B + (B C) = B Covering T10 (B C) + (B C) = B (B+C) (B+C) = B Combining T11 (B C) + (B D) + (C D) = (B C) + (B D) (B+C) (B+D) (C+D) = (B+C) (B+D) Consensus Axioms and theorems are useful for simplifying equations. Chapter 2 <108>

Simplification methods Distributivity (T8, T8 ) B (C+D) = BC + BD B + CD = (B+ C)(B+D) Covering (T9 ) A + AP = A Combining (T10) PA + PA = P Expansion P = PA + PA A = A + AP Duplication A = A + A A combination of Combining/Covering PA + A = P + A Chapter 2 <109>