Standard Forms of Expression. Minterms and Maxterms

Similar documents
Review: Standard forms of expressions

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

S1 Teknik Telekomunikasi Fakultas Teknik Elektro FEH2H3 2016/2017

Boolean algebra. June 17, Howard Huang 1

Circuit analysis summary

Computer Organization

CS February 17

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Experiment 3: Logic Simplification

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

Basic circuit analysis and design. Circuit analysis. Write algebraic expressions or make a truth table

Unit-IV Boolean Algebra

Lecture 5. Chapter 2: Sections 4-7

Digital Logic Lecture 7 Gate Level Minimization

Chapter 2. Boolean Expressions:

CMPE223/CMSE222 Digital Logic

Spring 2010 CPE231 Digital Logic Section 1 Quiz 1-A. Convert the following numbers from the given base to the other three bases listed in the table:

DKT 122/3 DIGITAL SYSTEM 1

ECE380 Digital Logic

QUESTION BANK FOR TEST

Chapter 2 Combinational Logic Circuits

Lecture 4: Implementation AND, OR, NOT Gates and Complement

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Chapter 2: Combinational Systems

Combinational Logic Circuits

ELCT201: DIGITAL LOGIC DESIGN

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

ENGIN 112. Intro to Electrical and Computer Engineering

2/8/2017. SOP Form Gives Good Performance. ECE 120: Introduction to Computing. K-Maps Can Identify Single-Gate Functions

2.6 BOOLEAN FUNCTIONS

Gate Level Minimization Map Method

1. Mark the correct statement(s)

Announcements. Chapter 2 - Part 1 1

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

Chapter 2 Boolean algebra and Logic Gates

Simplification of Boolean Functions

Chapter 3. Gate-Level Minimization. Outlines

Experiment 4 Boolean Functions Implementation

Binary logic. Dr.Abu-Arqoub

Code No: R Set No. 1

UNIT 2 BOOLEAN ALGEBRA

CprE 281: Digital Logic

Gate Level Minimization

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

X Y Z F=X+Y+Z

Combinational Logic Circuits

Chapter 6. Logic Design Optimization Chapter 6

Introduction to Boolean logic and Logical Gates

Module -7. Karnaugh Maps

Gate-Level Minimization

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

IT 201 Digital System Design Module II Notes

ELCT201: DIGITAL LOGIC DESIGN

Code No: 07A3EC03 Set No. 1

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Combinational Logic Circuits Part III -Theoretical Foundations

Outcomes. Unit 9. Logic Function Synthesis KARNAUGH MAPS. Implementing Combinational Functions with Karnaugh Maps

Permutation Matrices. Permutation Matrices. Permutation Matrices. Permutation Matrices. Isomorphisms of Graphs. 19 Nov 2015

Chapter 3 Simplification of Boolean functions

ENGIN 112 Intro to Electrical and Computer Engineering

2.1 Binary Logic and Gates

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2008

DSAS Laboratory no 4. Laboratory 4. Logic forms

Standard Boolean Forms

Chapter 3. Boolean Algebra and Digital Logic

Gate-Level Minimization

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Simplification of Boolean Functions using a Karnaugh Map

R.M.D. ENGINEERING COLLEGE R.S.M. Nagar, Kavaraipettai

Digital logic fundamentals. Question Bank. Unit I

CS470: Computer Architecture. AMD Quad Core

Gate-Level Minimization

A B AB CD Objectives:

Definitions. 03 Logic networks Boolean algebra. Boolean set: B 0,

CS8803: Advanced Digital Design for Embedded Hardware

Variable, Complement, and Literal are terms used in Boolean Algebra.

Digital Design. Chapter 4. Principles Of. Simplification of Boolean Functions

Karnaugh Map (K-Map) Karnaugh Map. Karnaugh Map Examples. Ch. 2.4 Ch. 2.5 Simplification using K-map

Chapter 2 Combinational

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

Code No: R Set No. 1

Computer Science. Unit-4: Introduction to Boolean Algebra

Question Total Possible Test Score Total 100

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

數位系統 Digital Systems 朝陽科技大學資工系. Speaker: Fuw-Yi Yang 楊伏夷. 伏夷非征番, 道德經察政章 (Chapter 58) 伏者潛藏也道紀章 (Chapter 14) 道無形象, 視之不可見者曰夷

Specifying logic functions

Code No: R Set No. 1

3. According to universal addressing, what is the address of vertex d? 4. According to universal addressing, what is the address of vertex f?

Combinational Logic & Circuits

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

SUBJECT CODE: IT T35 DIGITAL SYSTEM DESIGN YEAR / SEM : 2 / 3

2008 The McGraw-Hill Companies, Inc. All rights reserved.

Boolean Logic CS.352.F12

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

MODULE 5 - COMBINATIONAL LOGIC

Dr. Chuck Cartledge. 10 June 2015

Karnaugh Maps. Kiril Solovey. Tel-Aviv University, Israel. April 8, Kiril Solovey (TAU) Karnaugh Maps April 8, / 22

Normal Forms Boolean Satisfiability Sectoins 5.3 and 5.5. Prof. Sandy Irani

Transcription:

Standard Forms of Expression Minterms and Maxterms

Standard forms of expressions We can write expressions in many ways, but some ways are more useful than others A sum of products (SOP) expression contains: Only OR (sum) operations at the outermost level Each term that is summed must be a product of literals f(x,y,z) = y + x yz + xz The advantage is that any sum of products expression can be implemented using a two-level circuit literals and their complements at the 0th level AND gates at the first level a single OR gate at the second level This diagram uses some shorthands NOT gates are implicit literals are reused this is not okay in LogicWorks! CS231 Minterms & Maxterms 2

Minterms A minterm is a special product of literals, in which each input variable appears exactly once. A function with n variables has 2 n minterms (since each variable can appear complemented or not) A three-variable function, such as f(x,y,z), has 2 3 = 8 minterms: x y z x y z x yz x yz xy z xy z xyz xyz Each minterm is true for exactly one combination of inputs: Minterm Is true when Shorthand x y z x=0, y=0, z=0 m 0 x y z x=0, y=0, z=1 m 1 x yz x=0, y=1, z=0 m 2 x yz x=0, y=1, z=1 m 3 xy z x=1, y=0, z=0 m 4 xy z x=1, y=0, z=1 m 5 xyz x=1, y=1, z=0 m 6 xyz x=1, y=1, z=1 m 7 CS231 Minterms & Maxterms 3

Sum of minterms form Every function can be written as a sum of minterms, which is a special kind of sum of products form The sum of minterms form for any function is unique If you have a truth table for a function, you can write a sum of minterms expression just by picking out the rows of the table where the function output is 1. x y z f(x,y,z) f (x,y,z) 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 f = x y z + x y z + x yz + x yz + xyz = m 0 + m 1 + m 2 + m 3 + m 6 = Σm(0,1,2,3,6) f = xy z + xy z + xyz = m 4 + m 5 + m 7 = Σm(4,5,7) f contains all the minterms not in f CS231 Minterms & Maxterms 4

The dual idea: products of sums Just to keep you on your toes... A product of sums (POS) expression contains: Only AND (product) operations at the outermost level Each term must be a sum of literals f(x,y,z) = y (x + y + z ) (x + z) Product of sums expressions can be implemented with two-level circuits literals and their complements at the 0th level OR gates at the first level a single AND gate at the second level Compare this with sums of products CS231 Minterms & Maxterms 5

Maxterms A maxterm is a sum of literals, in which each input variable appears exactly once. A function with n variables has 2 n maxterms The maxterms for a three-variable function f(x,y,z): x + y + z x + y + z x + y + z x + y + z x + y + z x + y + z x + y + z x + y + z Each maxterm is false for exactly one combination of inputs: Maxterm Is false when Shorthand x + y + z x=0, y=0, z=0 M 0 x + y + z x=0, y=0, z=1 M 1 x + y + z x=0, y=1, z=0 M 2 x + y + z x=0, y=1, z=1 M 3 x + y + z x=1, y=0, z=0 M 4 x + y + z x=1, y=0, z=1 M 5 x + y + z x=1, y=1, z=0 M 6 x + y + z x=1, y=1, z=1 M 7 CS231 Minterms & Maxterms 6

Product of maxterms form Every function can be written as a unique product of maxterms If you have a truth table for a function, you can write a product of maxterms expression by picking out the rows of the table where the function output is 0. (Be careful if you re writing the actual literals!) x y z f(x,y,z) f (x,y,z) 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 f = (x + y + z)(x + y + z )(x + y + z ) = M 4 M 5 M 7 = ΠM(4,5,7) f = (x + y + z)(x + y + z )(x + y + z) (x + y + z )(x + y + z) = M 0 M 1 M 2 M 3 M 6 = ΠM(0,1,2,3,6) f contains all the maxterms not in f CS231 Minterms & Maxterms 7

Minterms and maxterms are related Any minterm m i is the complement of the corresponding maxterm M i Minterm Shorthand Maxterm Shorthand x y z m 0 x y z m 1 x yz m 2 x yz m 3 xy z m 4 xy z m 5 xyz m 6 xyz m 7 x + y + z M 0 x + y + z M 1 x + y + z M 2 x + y + z M 3 x + y + z M 4 x + y + z M 5 x + y + z M 6 x + y + z M 7 For example, m 4 = M 4 because (xy z ) = x + y + z CS231 Minterms & Maxterms 8

Converting between standard forms We can convert a sum of minterms to a product of maxterms From before f = Σm(0,1,2,3,6) and f = Σm(4,5,7) = m 4 + m 5 + m 7 complementing (f ) = (m 4 + m 5 + m 7 ) so f = m 4 m 5 m 7 [ DeMorgan s law ] = M 4 M 5 M 7 [ By the previous page ] = ΠM(4,5,7) In general, just replace the minterms with maxterms, using maxterm numbers that don t appear in the sum of minterms: f = Σm(0,1,2,3,6) = ΠM(4,5,7) The same thing works for converting from a product of maxterms to a sum of minterms CS231 Minterms & Maxterms 9

Summary so far So far: A bunch of Boolean algebra trickery for simplifying expressions and circuits The algebra guarantees us that the simplified circuit is equivalent to the original one Introducing some standard forms and terminology Next: An alternative simplification method We ll start using all this stuff to build and analyze bigger, more useful, circuits CS231 Minterms & Maxterms 10

Product of Sums If f(x, y, z) = sum of minterms (0, 1, 4, 5), represent f as a product of maxterms A: product of maxterms(2, 3) B: product of maxterms(2, 3, 6, 7) C: product of maxterms(0, 1, 4, 5) D: product of maxterms(5, 6, 7) 11

Product of Sums If f(x, y, z) = sum of minterms (0, 1, 4, 5), represent f as a product of maxterms A: product of maxterms(2, 3) B: product of maxterms(2, 3, 6, 7) C: product of maxterms(0, 1, 4, 5) D: product of maxterms(5, 6, 7) 12