Lecture Six Chapter 5: Quine-McCluskey Method Dr. S.V. Providence COMP 370.

Slides:



Advertisements
Similar presentations
Combinational Logic Circuits Chapter 2 Mano and Kime.
Advertisements

K-Map Simplification COE 202 Digital Logic Design Dr. Aiman El-Maleh
Gate-level Minimization
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
Karnaugh Maps Discussion D3.1. Karnaugh Maps Minterm X Y F m m m m X Y F(X,Y) = m0 + m2 + m3 =  (0,2,3) = X + Y'
Quine-McClusky Minimization Method Module M4.3 Section 5.3.
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Computer Logic and Digital Design Chapter 2 Henry Hexmoor AND logic
Chapter 3 Simplification of Switching Functions
Karnaugh Maps Discussion D6.2 Section Karnaugh Maps Minterm X Y F m m m m X Y F(X,Y) = m0 | m2 | m3 =  (0,2,3)
CHAPTER 3 Digital Logic Structures
Karnaugh Maps Discussion D6.2 Appendix H. Karnaugh Maps Minterm x y f m m m m x y f(x,y) = m0 | m2 | m3 =  (0,2,3)
Quine-McClusky Minimization Method Discussion D3.2.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chapter 2: Combinatorial Logic Circuits Illustration Pg. 32 Logic Circuit Diagrams - Circuit Optimization -2,3,4 level maps 48 elements Optimized to 25.
Combinational Logic Circuits Chapter 2 Mano and Kime.
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
Simplifying Boolean Expressions Using K-Map Method
IKI a-Simplification of Boolean Functions Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture.
11.1 Boolean Functions. Boolean Algebra An algebra is a set with one or more operations defined on it. A boolean algebra has three main operations, and,
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
IKI a-Boolean Algebra Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes at UIUC,
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
CT455: Computer Organization K-Map
The covering procedure. Remove rows with essential PI’s and any columns with x’s in those rows.
Gate-Level Minimization Chapter 3. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Boolean Algebra 1854, George Boole created a two valued algebraic system which is now called Boolean algebra. 1938, Claude Shannon adapted Boolean algebra.
CS2100 Computer Organisation
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
PRASAD A. PAWASKAR SPN. NO DETE 2 SEMESTER lec1-11.
ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
Boolean Algebra Introduction Logical arguments are valid (or not) by virtue of their form, not content Example All men are mortal(premise 1) Harry is a.
Gate-Level Minimization
1 ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of ECE Georgia Institute of Technology.
Computer Engineering (Logic Circuits) (Karnaugh Map)
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
ENG241 Digital Design Week #2 Combinational Logic Circuits.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Boolean Algebra and Logic Gates
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
Lecture 18: Boolean Algebra Boolean Functions. w = Chris is allowed to watch television x = Chris's homework is finished y = it is a school night z =
Karnaugh Map (K-Map) By Dr. M. Khamis Mrs. Dua’a Al Sinari.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic 4: Cost of Logic Circuits and Karnaugh Maps José Nelson Amaral.
CEC 220 Digital Circuit Design Implicants Wed, Sept. 23 CEC 220 Digital Circuit Design Slide 1 of 10.
Lecture 3 Boolean algebra Topics Error Correcting Codes Boolean algebra Combinational circuits Algebraic analysis, Truth tables, Logic Diagrams Sums-of-Products.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
CE1110: Digital Logic Design Gate Level Minimization Karnaugh Maps (K-Maps)
CHAPTER 6 Quine-McCluskey Method
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Boolean Algebra.
ECE 2110: Introduction to Digital Systems
Computer Organisation
3-7 Other Two-level Implementations
QUINE-McCLUSKEY METHOD
CHAPTER 2 Boolean Algebra
Lecture 3 Boolean algebra
Lecture 4 Sums of Product Circuits Simplification
Lecture 14: Boolean Algebra
Example Question: Consider the expressions: (a) F = XY + XY'
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 3 Gate-level Minimization.
Quine-McClusky Minimization Method
CHAPTER 6 QUINE-McCLUSKEY METHOD
Karnaugh maps Last time we saw applications of Boolean logic to circuit design. The basic Boolean operations are AND, OR and NOT. These operations can.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
Presentation transcript:

Lecture Six Chapter 5: Quine-McCluskey Method Dr. S.V. Providence COMP 370

Computer Minimization Techniques Boolean Algebra Karnaugh Maps Quine-McCluskey Method Dr. S.V. Providence COMP 370

Boolean Algebra  Review of Boolean Postulates  Review of Boolean Identities  Example1  Example2 Dr. S.V. Providence COMP 370

Review of Boolean Postulates A & B = B & AA # B = B # ACommutative Laws A & (B # C) = (A & B) # (A & C)A # (B & C) = (A # B) & (A # C)Distributive Laws (not like ordinary algebra) 1 & A = A0 # A = AIdentity Elements A &!A = 0A # !A = 1Inverse Elements A #A & B = AA & ( A # B ) = AAbsorption Dr. S.V. Providence COMP 370

Review Boolean Identities 0 & A = 0, A & 0 = 0 Contradiction (always false) A # 1 = 1, 1 # A = 1 Tautology (always true) A & A = AA # A = AIdempotence A & (B & C) = (A & B) & C0 # A = AAssociative Laws !(A & B) = !A # !B or A NAND B = !A OR !B !(A # B) = !A & !B or A NOR B = !A AND !B DeMorgan’s Theorem !!A = AInvolution Dr. S.V. Providence COMP 370

Example1 A #A & B = A Proof: 1. A # A & B = A & 1 # A & B Identity 2. = A & ( 1 # B ) Distribution 3. = A & 1 Identity 4. = A

(X # Y) & (!X # Y) = (X & !X) # (!X & Y) # (X & Y) # (Y & Y) = 0 # (!X & Y) # (X & Y) # Y = (!X # X) & Y # Y = 1 & Y = Y Proof: 1. (X # Y) & (!X # Y) = !![(X # Y) & (!X # Y)] 2. = ![(!X & !Y) # (X & !Y)] DeMorgan’s 3. = ![(!X # X) & !Y] Distribution 4. = ![1 & !Y] Identity 5. = ![!Y] = Y Involution Example2 Dr. S.V. Providence COMP 370

Karnaugh Maps  A 2 Variable K - map  Review 3 Variable K - maps  Example1  Example2  Review 4 Variable K - maps  Example1  Example2  A 5 Variable K - map Dr. S.V. Providence COMP 370

2-Variable K -map Dr. S.V. Providence COMP 370 m0m0 m1m1 m2m2 m3m X Y F(X,Y) =  (0,1,2,3) X Y

3-Variable K -map Dr. S.V. Providence COMP 370 m0m0 m1m1 m4m4 m5m5 m3m3 m2m2 m7m7 m6m X YZ  (0,1,2,3,4,5,6,7) X Y Z

Example1 Dr. S.V. Providence COMP 370 F(X,Y,Z) =  (1,3,4,5,6,7)

Example1 Dr. S.V. Providence COMP X YZ F(X,Y,Z) =  (1,3,4,5,6,7)

Example1 Dr. S.V. Providence COMP X YZ F(X,Y,Z) =  (1,3,4,5,6,7) = m 1 # m 3 # m 4 # m 5 # m 6 # m 7 = !X&!Y&Z # !X&Y&Z # X&!Y&!Z # X&!Y&Z # X&Y&!Z # X&Y&Z

Example1 Dr. S.V. Providence COMP X YZ F(X,Y,Z) =  (1,3,4,5,6,7) = m 1 # m 3 # m 4 # m 5 # m 6 # m 7 = !X&!Y&Z # !X&Y&Z # X&!Y&!Z # X&!Y&Z # X&Y&!Z # X&Y&Z

Example1 Dr. S.V. Providence COMP X YZ F(X,Y,Z) = X # Z

Example2 Dr. S.V. Providence COMP 370 F(X,Y,Z) =  (0,2,4,6)

Example2 Dr. S.V. Providence COMP X YZ 1 11 F(X,Y,Z) =  (0,2,4,6)

Example2 Dr. S.V. Providence COMP X YZ 1 11 F(X,Y,Z) =

Example2 Dr. S.V. Providence COMP X YZ 1 11 F(X,Y,Z) = !Z

4-Variable K -map Dr. S.V. Providence COMP 370 m0m0 m1m1 m4m4 m5m5 m3m3 m2m2 m7m7 m6m WX YZ m8m8 m9m9 m 11 m 10 m 12 m 13 m 15 m 14 W Y X Z F(W,X,Y,Z) =  (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)

Dr. S.V. Providence COMP 370 F(W,X,Y,Z) =  (5,7,9,11,13,15) Example1

Dr. S.V. Providence COMP WX YZ W Y X Z F(W,X,Y,Z) =  (5,7,9,11,13,15)

Example1 Dr. S.V. Providence COMP WX YZ W Y X Z F(W,X,Y,Z) = X & Z # W & Z = (X # W) & Z

Example2 Dr. S.V. Providence COMP 370 F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15)

Example2 Dr. S.V. Providence COMP WX YZ W Y X Z F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15)

Example2 Dr. S.V. Providence COMP WX YZ W Y X Z F(W,X,Y,Z) = W & !Z # Y

5-Variable K -map Dr. S.V. Providence COMP 370 m0m0 m1m1 m4m4 m5m5 m3m3 m2m2 m7m7 m6m6 00 WX YZ m8m8 m9m9 m 11 m 10 m 12 m 13 m 15 m 14 W Y X Z m 16 m 17 m 20 m 21 m 19 m 18 m 23 m WX YZ m 24 m 25 m 27 m 26 m 28 m 29 m 31 m 30 W Y X Z V=0V=1

Quine-McCluskey Method  Prime Implicants Table 3 or 4 steps  Essential Prime Implicants Table Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step List minterms by the number of 1s it contains Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step , ,13 9, , ,15 11, ,15 Enter combinations of minterms by the number of 1s it contains. 2 3 Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step 3  ,701-1  , ,  ,   , ,  , Check off elements used from Step 1. Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step 3  ,701-15,7,13,  , ,13,7, , ,11,13,  , ,13,11,   , ,  , Enter combinations of minterms by the number of 1s it contains. Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (5,7,9,11,13,15) Step 1Step 2Step 3   5,701-15,7,13,   5, ,13,7,  9, ,11,13,   9, ,13,11,    7,  11,   13, The entries left unchecked are Prime Implicants. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,7,13, ,13,11,15 Enter the Prime Implicants and their minterms. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,7,13,15XXXX ,13,11,15XXXX Enter Xs for the minterms covered. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,7,13,15XXXX ,13,11,15XXXX Circle Xs that are in a column singularly. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  - 1 5,7,13,15XXXX  ,13,11,15XXXX The circled Xs are the Essential Prime Implicants, so we check them off. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  - 1 5,7,13,15XXXX  ,13,11,15XXXX  We check off the minterms covered by each of the EPIs. Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  - 1 5,7,13,15XXXX  ,13,11,15XXXX  WXYZ EPIs: F = X & Z # W & Z = (X # W) & Z Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15) Step 1Step 2Step 3Step Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15) Step 1Step 2Step 3Step 4  ,3001-  , ,  ,  ,   , ,  ,7011-  ,  , ,  , , , , Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15) Step 1Step 2Step 3Step 4   2,3001-2,3,6,70-1-   2,60-102,6,3,70-1-  2, ,3,10,   8, ,6,10,   8, ,10,3,  ,10,6,   3,70-118,10,12,  3, ,12,10,   6,7011-   6, ,7,11,   10, ,11,7,  10, ,7,14,   12, ,14,7, ,14,11,151 -  7, ,11,14,151 -  11,  14, Dr. S.V. Providence COMP 370

Finding Prime Implicants (PIs) F(W,X,Y,Z) =  (2,3,6,7,8,10,11,12,14,15) Step 1Step 2Step 3Step 4   2,3001-  2,3,6,70-1-2,3,6,7,10,14,11,   2,60-10  2,6,3,70-1-2,3,10,11,6,14,7,  2,  2,3,10, ,6,3,7,10,11,14,   8,  2,6,10, ,6,10,14,3,7,11,   8,  2,10,3, ,10,3,11,6,7,14,   2,10,6, ,10,6,14,3,11,7,   3,70-118,10,12,  3, ,12,10,   6,7011-   6,  3,7,11,   10,  3,11,7,  10,  6,7,14,   12,  6,14,7,  10,14,11,151 -  7,  10,11,14,151 -  11,  14, Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,12,10, ,3,6,7,10,11,14,15 Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,12,10,14XXXX ,3,6,7,10,11,14,15XXXXXXXX Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms ,12,10,14XXXX ,3,6,7,10,11,14,15XXXXXXXX Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  ,12,10,14XXXX  ,3,6,7,10,11,14,15XXXXXXXX Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  ,12,10,14XXXX  ,3,6,7,10,11,14,15XXXXXXXX  Dr. S.V. Providence COMP 370

Finding Essential Prime Implicants (EPIs) Prime ImplicantsCovered MintermsMinterms  ,12,10,14XXXX  ,3,6,7,10,11,14,15XXXXXXXX  WXYZ EPIs: F = (W & !Z) # Y Dr. S.V. Providence COMP 370