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

Similar documents
Standard Forms of Expression. Minterms and Maxterms

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Unit-IV Boolean Algebra

Experiment 3: Logic Simplification

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

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

Computer Organization

Combinational Logic Circuits

Chapter 2 Boolean algebra and Logic Gates

2.6 BOOLEAN FUNCTIONS

X Y Z F=X+Y+Z

To write Boolean functions in their standard Min and Max terms format. To simplify Boolean expressions using Karnaugh Map.

DKT 122/3 DIGITAL SYSTEM 1

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:

Binary logic. Dr.Abu-Arqoub

IT 201 Digital System Design Module II Notes

Lecture 5. Chapter 2: Sections 4-7

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

Gate Level Minimization

CMPE223/CMSE222 Digital Logic

Circuit analysis summary

Boolean algebra. June 17, Howard Huang 1

Chapter 2. Boolean Expressions:

ECE380 Digital Logic

Announcements. Chapter 2 - Part 1 1

Module -7. Karnaugh Maps

CS February 17

Digital Logic Lecture 7 Gate Level Minimization

Chapter 2: Combinational Systems

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

S1 Teknik Telekomunikasi Fakultas Teknik Elektro FEH2H3 2016/2017

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

Chapter 3 Simplification of Boolean functions

Review: Standard forms of expressions

QUESTION BANK FOR TEST

Code No: R Set No. 1

Computer Science. Unit-4: Introduction to Boolean Algebra

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

Chapter 2 Combinational Logic Circuits

Objectives: 1- Bolean Algebra. Eng. Ayman Metwali

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

ENGIN 112. Intro to Electrical and Computer Engineering

DSAS Laboratory no 4. Laboratory 4. Logic forms

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

Gate Level Minimization Map Method

Simplification of Boolean Functions

ELCT201: DIGITAL LOGIC DESIGN

1. Mark the correct statement(s)

SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY,DHENKANAL LECTURE NOTES ON DIGITAL ELECTRONICS CIRCUIT(SUBJECT CODE:PCEC4202)

Specifying logic functions

Code No: 07A3EC03 Set No. 1

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.

Chapter 3. Gate-Level Minimization. Outlines

CS470: Computer Architecture. AMD Quad Core

Gate-Level Minimization

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

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

Digital Logic Design (CEN-120) (3+1)

Combinational Logic & Circuits

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

Combinational Circuits Digital Logic (Materials taken primarily from:

Boolean Algebra and Logic Gates

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

ELCT201: DIGITAL LOGIC DESIGN

Experiment 4 Boolean Functions Implementation

SWITCHING THEORY AND LOGIC CIRCUITS

2.1 Binary Logic and Gates

CS8803: Advanced Digital Design for Embedded Hardware

Boolean Analysis of Logic Circuits

Code No: R Set No. 1

Gate-Level Minimization

Standard Boolean Forms

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


Chapter 3. Boolean Algebra and Digital Logic

DIGITAL CIRCUIT LOGIC UNIT 5: KARNAUGH MAPS (K-MAPS)

Lecture (05) Boolean Algebra and Logic Gates

Chapter 2 Combinational

Code No: R Set No. 1

Gate-Level Minimization

Summary. Boolean Addition

Introduction to Computer Architecture

A B AB CD Objectives:

Question Total Possible Test Score Total 100

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

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

GATE Exercises on Boolean Logic

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

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

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

Literal Cost F = BD + A B C + A C D F = BD + A B C + A BD + AB C F = (A + B)(A + D)(B + C + D )( B + C + D) L = 10

Digital logic fundamentals. Question Bank. Unit I

Combinational Logic Circuits Part III -Theoretical Foundations

Review. EECS Components and Design Techniques for Digital Systems. Lec 05 Boolean Logic 9/4-04. Seq. Circuit Behavior. Outline.

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

Combinational Logic Circuits

Designing Computer Systems Boolean Algebra

Digital Logic Design. Outline

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

Simplification of Boolean Functions

Transcription:

Philadelphia University Faculty of Information Technology Department of Computer Science Computer Logic Design By Dareen Hamoudeh Dareen Hamoudeh 1 Canonical Forms (Standard Forms of Expression) Minterms and Maxterms Dareen Hamoudeh 2 1

Why STANDARD FORMS? All Boolean expressions, regardless of their form, can be converted into either of two standard forms: the sum-of-products form or the product-of-sums form. Standardization makes the evaluation, simplification, and implementation of Boolean expressions much more systematic and easier. Dareen Hamoudeh 3 Examples Product Terms : Terms that are ANDed together. XYZ (A+B)(C+D)(A+D) Sum Terms: Terms that are ORed together. X+Y+Z XYZ + VX Dareen Hamoudeh 4 2

Minterms So, if we have two literals (x,y) with AND operation then we have 4 combinations: X Y X Y XY XY Each combination is called minterm. Now,For 3 variables we have 2 3 = 8 minterms: X Y Z X Y Z XYZ In general, if a function has n variables there are 2 n minterms. Dareen Hamoudeh 5 Minterms Dareen Hamoudeh 6 3

Minterms If we have the function When does it =1? After implementing its truth table: We notice that f1 =1 in the terms m1, m4, m7 so: Dareen Hamoudeh 7 Minterms Also called sum of products (SOP) or Standard Product 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 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. And can be expressed in the following notation: f = x y z + xy z + xyz = m 1 + m 4 + m 7 = f(x,y,z) = m(1,4,7) = f(x,y,z) = (1,4,7) Dareen Hamoudeh 8 4

sum of products (SOP) Now, if we have the following truth table, can you extract the sum of minterms for the function F2. Dareen Hamoudeh sum of products (SOP) 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 Dareen Hamoudeh 10 5

sum of products (SOP) complement 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 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 Dareen Hamoudeh 11 Maxterms if we have two literals (x,y) with OR operation then we have 4 combinations: X +Y X +Y X+Y X+Y Each combination is called maxterm. Now,For 3 variables we have 2 3 = 8 minterms: X +Y +Z X +Y +Z X+Y+Z In general, if a function has n variables there are 2 n maxterms. Dareen Hamoudeh 12 6

Maxterms Dareen Hamoudeh 13 If we have the function Maxterms When does it =0? We notice that f1 =0 in the terms M0, M2, M3, M5,M6 so: F1= (X+Y+Z)(X+Y +Z)(X+Y +Z )(X +Y+Z )(X +Y +Z) = M0. M2. M3. M5. M6 Dareen Hamoudeh 14 7

Maxterms Also called Product of sums (POS) or Standard Sums 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) Every function can be written as a product of maxterms, which is a special kind of products of sums form. The product of maxterms form for any function is unique. 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. And can be expressed in the following notation: F = (X+Y+Z)(X+Y +Z)(X+Y +Z )(X +Y+Z )(X +Y +Z) = M0. M2. M3. M5. M6 = F(x,y,z) = ΠM(0,2,3,5,6) = F(x,y,z) = Π(0,2,3,5,6) Dareen Hamoudeh 15 Product of sums (POS) Now, if we have the following truth table, can you extract the Product of maxterms for the function F2. Dareen Hamoudeh 16 8

Product of sums (POS) complement 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 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 Dareen Hamoudeh 17 Minterms and maxterms are related Any minterm m i is the complement of the corresponding maxterm M i For example, m 4 = M 4 because (xy z ) = x + y + z Dareen Hamoudeh 18 9

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. Dareen Hamoudeh 19 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) Dareen Hamoudeh 20 10

Sum Of Minterms Dareen Hamoudeh 21 Example 1 Express the function F(A,B,C) = AB+A C in minterm notation First term AB misses the variable C, so AND term with (C+C ): AB= AB(C+C ) = ABC + ABC Second term A C misses the variable B so, AND term with (B+B ): A C= A C(B+B )= A BC + A B C Now we combine the terms: F(A,B,C)=ABC + ABC + A BC + A B C = m 7 + m 6 + m 3 + m 1 Dareen Hamoudeh 22 11

Example 2 Express E = Y + X Z in minterm notation. E = (X+X )Y + X Z (Y+Y ) = XY (Z+Z ) + X Y (Z+Z )+X YZ +X Y Z = XY Z+XY Z +X Y Z+X Y Z +X YZ = m 5 + m 4 + m 1 + m 0 + m 2 = m 5 + m 4 + m 2 + m 1 + m 0 Dareen Hamoudeh 23 Product of maxterms Dareen Hamoudeh 24 12

Example 1 Dareen Hamoudeh 25 Example 1 cont. Dareen Hamoudeh 26 13

Note Dareen Hamoudeh 27 14