Chapter 6 Quine-McCluskey Method

Slides:



Advertisements
Similar presentations
CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
Advertisements

ECE C03 Lecture 31 Lecture 3 Two-Level Logic Minimization Algorithms Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
بهينه سازي با روش Quine-McCluskey
CS 140 Lecture 6 Professor CK Cheng Tuesday 10/15/02.
CS 140 Lecture 6 Professor CK Cheng UC San Diego.
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
Simplifying Boolean Expressions Using K-Map Method
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
Quine-McCluskey (Tabular) Minimization Two step process utilizing tabular listings to: Identify prime implicants (implicant tables) Identify minimal PI.
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
Examples. Examples (1/11)  Example #1: f(A,B,C,D) =  m(2,3,4,5,7,8,10,13,15) Fill in the 1’s. 1 1 C A B CD AB D 1 1.
Two Level Networks. Two-Level Networks Slide 2 SOPs A function has, in general many SOPs Functions can be simplified using Boolean algebra Compare the.
Chapter 6 Quine-McCluskey Method Mei Yang ECG Logic Design 1.
Copyright © 2004 by Miguel A. Marin Revised McGILL UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING COURSE ECSE DIGITAL SYSTEMS.
Converting to Minterms Form
Simplification of incompletely specified functions using QM Tech.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic 5: Quine-McCluskey Method José Nelson Amaral.
1 Quine-McCluskey Method. 2 Motivation Karnaugh maps are very effective for the minimization of expressions with up to 5 or 6 inputs. However they are.
CS2100 Computer Organisation
07 KM Page 1 ECEn/CS 224 Karnaugh Maps. 07 KM Page 2 ECEn/CS 224 What are Karnaugh Maps? A simpler way to handle most (but not all) jobs of manipulating.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
Key Observation Adjacencies in the K-Map
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
EECS 270 Lecture 10. K-map “rules” – Only circle adjacent cells (remember edges are adjacent!) – Only circle groups that are powers of 2 (1, 2,
State university of New York at New Paltz Electrical and Computer Engineering Department Logic Synthesis Optimization Lect10: Two-level Logic Minimization.
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
©2010 Cengage Learning SLIDES FOR CHAPTER 6 QUINE-McCLUSKEY METHOD Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
©2010 Cengage Learning SLIDES FOR CHAPTER 5 KARNAUGH MAPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
CHAPTER 6 Quine-McCluskey Method
Lecture 6 Quine-McCluskey Method
De Morgan’s Theorem,.
ELEC Digital Logic Circuits Fall 2014 Logic Minimization (Chapter 3)
Computer Organisation
Lecture #6 EGR 277 – Digital Logic
QUINE-McCLUSKEY METHOD
Plotting functions not in canonical form
CS 352 Introduction to Logic Design
CSCE 211: Digital Logic Design
ECE 2110: Introduction to Digital Systems
ECE 331 – Digital System Design
Digital Logic and Design
CSCE 211: Digital Logic Design
Optimized Implementation of Logic Function
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
ECE 331 – Digital System Design
Digital Logic & Design Dr. Waseem Ikram Lecture 12.
EECS 465: Digital Systems Lecture Notes # 2
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Function Minimization Algorithms
Karnaugh Maps Introduction Venn Diagrams 2-variable K-maps
ECE 331 – Digital System Design
Function Minimization Algorithms
SYEN 3330 Digital Systems Chapter 2 – Part 6 SYEN 3330 Digital Systems.
CSCE 211: Digital Logic Design
COE 202: Digital Logic Design Combinational Logic Part 3
ECB2212-Digital Electronics
Minimization of Switching Functions
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
CHAPTER 6 QUINE-McCLUSKEY METHOD
Analysis of Logic Circuits Example 1
CSCE 211: Digital Logic Design
Laws & Rules of Boolean Algebra
ECE 331 – Digital System Design
Presentation transcript:

Chapter 6 Quine-McCluskey Method ECG 100-001 Logic Design 1 Mei Yang

Quine-McCluskey Method The Q-K method reduces the minterm expansion of a function to obtain a minimum SOP in two main steps: Eliminate as many literals as possible from each term by systematically applying XY+XY’=X. The resulting terms are called prime implicants. Use a prime implicant chart to select the minimum set of prime implicants which, when ORed together, are equal to the function being simplified and which contain a minimum number of literals.

Determination of Prime Implicants Use XY+XY’=X, where X represents a product of literals and Y is a single variable Two minterms will combine if they differ in exactly one variable Example AB’CD’+AB’CD=AB’C 1010+1011=101- To find all the prime implicants, all possible pairs of minterms should be compared and combined whenever possible

Example f(a, b, c, d)=∑m(0, 1, 2, 5, 6, 7, 8, 9, 10, 14) is represented by the following minterms group 0 0 0000 group 1 1 0001 2 0010 8 1000 group 2 5 0101 6 0110 9 1001 10 1010 group 3 7 0111 14 1110

Comparison of terms in nonadjacent groups is unnecessary because such terms will always differ in at least two variables Comparison of terms within a group is unnecessary because two terms with the same number of 1’s must differ in at least two variables Thus, only terms in adajcent groups must be compared

Table 6-1 First, compare the term in group 0 with all the terms in group 1 and get (0,1), (0,2), (0,8) combined. Then compare the terms in group 1 with all terms in group 2 and get (1, 5), (1, 9), (2, 6), (2, 10), (8, 9), (8, 10) combined. Next compare the terms in group 2 with all terms in group 3 and get (5, 7), (6, 7), (6, 14), (10, 14) combined. Terms in the first group in Column II need only be compared with terms in the second group which have dashes in the same places. This results in (0, 1, 8, 9), (0, 2, 8, 10), (0, 8, 1, 9), (0, 8, 2, 10) combined. Compare the terms from the second and third groups will get (2, 6, 10, 14), (2, 10, 6, 14) combined. After removing duplicate terms in Column II, then compare the terms from the two groups in Column III. Since no further combination is possible, the process terminates.

f=a’c’d + a’bd + a’bc + b’c’ + b’d’ + cd’ using consensus theorem to eliminate redundant terms yields the minimum SOP f=a’bd + b’c’ + cd’ The terms which have not been checked off are called prime implicants.

Definitions Given a function F of n variables, a product term P is an implicant of F iff for every combination of values of n variables for which P=1, F is also equal to 1 Example: F(a, b, c) = a’b’c’ + ab’c’ + ab’c + abc = b’c’ + ac a’b’c’, ac, etc. are implicants of F. If F is written in SOP form, every product term is an implicant. Every minterm of F is also implicant of F and so is any term formed by combining two or more minterms. In Table 6-1, all the terms listed in any of the columns are implicants of the given function.

Definitions An prime implicant of a function F is a product term implicant which is no longer an implicant if any literal is deleted from it. A minimum SoP expression for a function consists of a sum of some (but not necessarily all) of the prime implicants of that function. Each prime implicant of a function has a minimum number of literals in the sense that no more literals can be eliminated from it by combining with other terms.

The Prime Implicant Chart The minterms of a function are listed across the top of the chart, and the prime implicants are listed down the side If a prime implicant covers a given minterm, a X is placed at the intersection of the corresponding row and column

The Prime Implicant Chart A minterm is covered by only one prime implicant, then that prime implicant is called an essential prime implicant and must be included in the minimum SOP. Example: in Table 6-2, b’c’ and cd’ are essential

The Prime Implicant Chart Each time a prime implicant is selected for inclusion in the minimum SOP, the corresponding row (the minterms covered) should be crossed out and the columns which correspond to all minterms covered by that prime implicant should also be crossed out. A minimum set of prime implicants must now be chosen to cover the remaining columns. Table 6-2 shows the prime implicant chart derived from Table 6-1.

Table 6-3 The resulting minimum SOP f=b’c’ + cd’ + a’bd

Cyclic Prime Implicant Chart A prime implicant chart which has two or more X’s in every column is called cyclic prime implicant chart Example: F=∑m(0, 1, 2, 5, 6, 7) 1. Derivation of prime implicants

solution 2: F=a’c’ + b’c + ab 2. Selection of prime implicants from the prime implicant chart solution 1: F=a’b’ + bc’ + ac solution 2: F=a’c’ + b’c + ab All columns have two X’s, so we will proceed by trial and error. Exercise: 6.4 on pp. 170, f(a, b, c, d) = ∑m(1, 3, 4, 5, 6, 7, 10, 12, 13) + ∑d(2, 9, 15)