Morgan Kaufmann Publishers

Slides:



Advertisements
Similar presentations
CS2100 Computer Organisation
Advertisements

Logical Systems Synthesis.
KARNAUGH MAP Introduction Strategy for Minimization Minimization of Product-of-Sums Forms Minimization of More Complex Expressions Don't care Terms 1.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
ECE 331 – Digital System Design
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 Part 3.
EE365 Boolean algebra Combinational-circuit analysis.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Boolean Function Boolean function is an expression form containing binary variable, two-operator binary which.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
CS1104: Computer Organisation Lecture 3: Boolean Algebra
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites.
Combinational Digital Circuits. Measurement Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete.
CS1104: Computer Organisation School of Computing National University of Singapore.
4.1 Conversion of English Sentences to Boolean Equations
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
ECE 331 – Digital System Design
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
Combinational Logic 1.
1 ENGR 254 Lecture DeMorgan Symbol Equivalence.
1 Minterm and Maxterm Expressions Definition: a minterm of n variables is a product of the variables in which each appears exactly once in true or complemented.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 6 – Canonical Forms.
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
ece Parity Used to check for errors Can be either ODD or EVEN Left most bit used as the indicator For EVEN, insert a 0 or a 1 so as to make the.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
Module –I Switching Function
1 COMP541 Combinational Logic - II Montek Singh Jan 18, 2012.
ECE2030 Introduction to Computer Engineering Lecture 6: Canonical (Standard) Forms Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 2 Part 3 Tom Kaminski & Charles.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
CEC 220 Digital Circuit Design Minterms and Maxterms Monday, January 26 CEC 220 Digital Circuit Design Slide 1 of 11.
Digital Logic & Design Dr. Waseem Ikram Lecture 09.
CHAPTER 2 Boolean algebra and Logic gates
Canonical Forms BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Boolean Algebra and Logic Gates COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
De Morgan’s Theorem,.
Prof. Hsien-Hsin Sean Lee
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
Complement of a Function
Princess Sumaya University
Karnaugh Maps.
ECE 331 – Digital System Design
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Boolean Algebra.
Boolean Algebra.
CSE 370 – Winter Combinational Logic - 1
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
Representing Boolean functions
Digital Systems Design
MINTERMS and MAXTERMS Week 3
COMP541 Combinational Logic - II
SYEN 3330 Digital Systems Chapter 2 Part 3 SYEN 3330 Digital Systems.
EE121 John Wakerly Lecture #3
From now on: Combinatorial Circuits:
Digital Logic Chapter-2
Digital Logic Chapter-2
Analysis of Logic Circuits Example 1
Presentation transcript:

Morgan Kaufmann Publishers 11 April, 2017 Boolean Algebra - III Chapter 4 — The Processor

Outline Minterm & Maxterm Canonical Forms Conversion of Canonical Forms Binary Functions

Outline Minterm & Maxterm Canonical Forms Conversion of Canonical Forms Binary Functions

Minterm & Maxterm (1/3) Consider two binary variables x, y. Each variable may appear as itself or in complemented form as literals (i.e. x, x' & y, y' ) For two variables, there are four possible combinations with the AND operator, namely: x'.y', x'.y, x.y', x.y These product terms are called the minterms. A minterm of n variables is the product of n literals from the different variables.

Minterm & Maxterm (2/3) In general, n variables can give 2n minterms. In a similar fashion, a maxterm of n variables is the sum of n literals from the different variables. Examples: x'+y', x'+y, x+y',x+y In general, n variables can give 2n maxterms.

Minterm & Maxterm (3/3) The minterms and maxterms of 2 variables are denoted by m0 to m3 and M0 to M3 respectively: Each minterm is the complement of the corresponding maxterm: Example: m2 = x.y' m2' = (x.y')' = x' + (y')' = x'+y = M2

Outline Minterm & Maxterm Canonical Forms Conversion of Canonical Forms Binary Functions

Canonical Form: Sum of Minterms (1/3) What is a canonical/normal form? A unique form for representing something. Minterms are product terms. Can express Boolean functions using Sum-of-Minterms form.

Canonical Form: Sum of Minterms (2/3) Obtain the truth table. Example:

Canonical Form: Sum of Minterms (3/3) b) Obtain Sum-of-Minterms by gathering/summing the minterms of the function (where result is a 1) F1 = x.y.z' = m(6) F2 = x'.y'.z + x.y'.z' + x.y'.z + x.y.z' + x.y.z = m(1,4,5,6,7) F3 = x'.y'.z + x'.y.z + x.y'.z' +x.y'.z = m(1,3,4,5)

Canonical Form: Product of Maxterms (1/4) Maxterms are sum terms. For Boolean functions, the maxterms of a function are the terms for which the result is 0. Boolean functions can be expressed as Products-of-Maxterms.

Canonical Form: Product of Maxterms (2/4) Example: F2 = M(0,2,3) = (x+y+z).(x+y'+z).(x+y'+z') F3 = M(0,2,6,7) = (x+y+z).(x+y'+z).(x'+y'+z).(x'+y'+z')

Canonical Form: Product of Maxterms (3/4) Why is this so? Take F2 as an example. F2 = m(1,4,5,6,7) The complement function of F2 is: F2' = m(0,2,3) = m0 + m2 + m3 Complement functions’ minterms are the opposite of their original functions, i.e. when original function = 0

Canonical Form: Product of Maxterms (4/4) From previous slide, F2' = m0 + m2 + m3 Therefore: F2 = (m0 + m2 + m3 )' = m0' . m2' . m3' DeMorgan = M0 . M2 . M3 mx' = Mx = M(0,2,3) Every Boolean function can be expressed as either Sum-of-Minterms or Product-of-Maxterms.

Outline Minterm & Maxterm Canonical Forms Conversion of Canonical Forms Binary Functions

Conversion of Canonical Forms (1/3) Sum-of-Minterms  Product-of-Maxterms Rewrite minterm shorthand using maxterm shorthand. Replace minterm indices with indices not already used. E.g.: F1(A,B,C) = m(3,4,5,6,7) = M(0,1,2) Product-of-Maxterms  Sum-of-Minterms Rewrite maxterm shorthand using minterm shorthand. Replace maxterm indices with indices not already used. E.g.: F2(A,B,C) = M(0,3,5,6) = m(1,2,4,7)

Conversion of Canonical Forms (2/3) Sum-of-Minterms of F  Sum-of-Minterms of F' In minterm shorthand form, list the indices not already used in F. E.g.: F1(A,B,C) = m(3,4,5,6,7) F1'(A,B,C) = m(0,1,2) Product-of-Maxterms of F  Prod-of-Maxterms of F' In maxterm shorthand form, list the indices not already used in F. E.g.: F1(A,B,C) = M(0,1,2) F1'(A,B,C) = M(3,4,5,6,7)

Conversion of Canonical Forms (3/3) Sum-of-Minterms of F  Product-of-Maxterms of F' Rewrite in maxterm shorthand form, using the same indices as in F. E.g.: F1(A,B,C) = m(3,4,5,6,7) F1'(A,B,C) = M(3,4,5,6,7) Product-of-Maxterms of F  Sum-of-Minterms of F' Rewrite in minterm shorthand form, using the same indices as in F. E.g.: F1(A,B,C) = M(0,1,2) F1'(A,B,C) = m(0,1,2)

Outline Minterm & Maxterm Canonical Forms Conversion of Canonical Forms Binary Functions

Binary Functions (1/2) Given n variables, there are 2n possible minterms. As each function can be expressed as sum-of-minterms, there could be 22n different functions. In the case of two variables, there are 22 =4 possible minterms; and 24=16 different possible binary functions. The 16 possible binary functions are shown in the next slide.

Binary Functions (2/2)