1 Chapter 5 Karnaugh Maps Mei Yang ECG 100-001 Logic Design 1.

Slides:



Advertisements
Similar presentations
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 8 – Systematic Simplification.
Advertisements

Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
Gate-level Minimization
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
Chapter 3 Simplification of Switching Functions
Give qualifications of instructors: DAP
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 4-1 Chapter #2: Two-Level Combinational Logic Section 2.3, Switches and Tools.
Computer Engineering (Logic Circuits) (Karnaugh Map)
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
ECE 301 – Digital Electronics Karnaugh Maps and Determining a Minimal Cover (Lecture #8) The slides included herein were taken from the materials accompanying.
Simplifying Boolean Expressions Using K-Map Method
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Digital Logic and Design Vishal Jethva Lecture No. 10 svbitec.wordpress.com.
B-1 Appendix B - Reduction of Digital Logic Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. K-Map (1)  Karnaugh Mapping is used to minimize the number of logic gates that are required in a digital circuit.
Optimization Algorithm
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Combinational Logic Part 2: Karnaugh maps (quick).
Chapter 6 Quine-McCluskey Method Mei Yang ECG Logic Design 1.
Unit 5 Karnaugh Maps Fundamentals of Logic Design by Roth and Kinney.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
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.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Karnaugh Mapping Digital Electronics. Karnaugh Mapping or K-Mapping This presentation will demonstrate how to Create and label two, three, & four variable.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Sum-of-Products (SOP)
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
1 3- De-Morgan’s Theorems 1.The complement of a product of variables is equal to the sum of the complements of the variables. 2. The complement of a sum.
Karnaugh Maps (K maps).
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
1 EENG 2710 Chapter 3 Simplification of Switching Functions.
©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.
Lecture 6 Quine-McCluskey Method
Computer Organisation
ECE 3110: Introduction to Digital Systems
CS 352 Introduction to Logic Design
CSCE 211: Digital Logic Design
ECE 331 – Digital System Design
Digital Logic and Design
Chapter 6 Quine-McCluskey Method
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
ECE 331 – Digital System Design
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Optimization Algorithm
ECE 331 – Digital System Design
Karnaugh Mapping Digital Electronics
CSCE 211: Digital Logic Design
COE 202: Digital Logic Design Combinational Logic Part 3
Minimization of Switching Functions
Overview Part 2 – Circuit Optimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
CSCE 211: Digital Logic Design
Laws & Rules of Boolean Algebra
ECE 331 – Digital System Design
Presentation transcript:

1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1

2 Minimum Forms of Switching Functions When a function is realized using AND and OR gates, the cost is directly related the number of gates and gate inputs used. Minimum SOP: A SOP form which (a) has a minimum number of terms and (b) for those expressions which have the same minimum number of terms, has a minimum number of literals. Minimum POS: A POS form which (a) has a minimum number of terms and (b) for those expressions which have the same minimum number of terms, has a minimum number of literals.

3 Minimizing from Minterm form

4 Why Kmap? Problems with the simplification method using Boolean algebra – The procedures are difficult to apply in systematic way. – It is difficult to tell when you have arrived at a minimum solution. Kmap is a systematic method, which is especially useful for simplifying functions with three or four variables.

5 Plotting Kmaps From truth tables From minterm/maxterm expansions From algebraic expressions Examples on pp

6 2-Variable Karnaugh Map

7 3-Variable Karnaugh Map Boolean adjacency -difference in one variable Grouping adjacent 1’s

8 Grouping Principle Groupings can contain only 1s; no 0s. Groups can be formed only at right angles; diagonal groups are not allowed. The number of 1s in a group must be a power of 2 – even if it contains a single 1. The groups must be made as large as possible. Groups can overlap and wrap around the sides of the Kmap. Use the fewest number of groups possible.

9 Grouping of adjacent 1 ’ s 3-Variable Karnaugh Map Multiple grouping

10 3-Variable Karnaugh Map Corresponding minterms Adjacent minterms

11 3-Variable Karnaugh Map

12 4-Variable Karnaugh Map

13 4-Variable Karnaugh Map

14 Boolean Adjacency

15 Grouping Example

16 Grouping Example

17 More than One Way of Grouping

18 A Systematic Way for Minimization IMPLICANT Any single one or any group of ‘1’ s is called an IMPLICANT of F. PRIME IMPLICANT. A group (covering) that cannot be combined with some other 1’s or coverings to eliminate a variable is called PRIME IMPLICANT.

19 Minimization with Don’t Cares Threat X’s as 1’s if you will get a larger grouping. Otherwise, treat them as 0’s.

20 Obtaining Minimum POS Equation Grouping 0’s means obtaining a minimum SOP for F’.

21 Grouping Zeros

22 Minimization Rules The minimum SOP expression consists of some (but not necessarily all) of the prime implicants of a function. If a SOP expression contains a term which is NOT a prime implicant, then it CANNOT be minimum.

23 Minimization Rules How to use prime implicants for obtaining a minimum SOP equation? How to use prime implicants for obtaining a minimum SOP equation?

24 F(A,B,C,D)= BC’ +A’B’D Essential Prime Implicants BC’ and A’B’D are called the Essential Prime Implicants, because they cover ‘1’s that cannot be covered by any other coverings. A’CD is not an essential, and it is not included, because all 1’s are already covered, and there is no reason to add an extra term. Essential Prime Implicants

25 More than one solution

26 Two solutions

27 Minimum SOP To obtain a minimum SOP equation Include all essential prime implicants to the equation. Check if all ones are covered by the essential prime implicants. If there are remaining ‘1’s, include non- essential prime implicants. There can be more than one minimum SOP equation equally valid.

28 Minimization with Don’t Cares

29 5-Variable Karnaugh Map

30 5-Variable Karnaugh Map

31 Example 1: F = ∑m(1,2,3,5,6,8,9,10,11,13,24, 25, 26, 27,29)

32 Example 2: F = ∑m (0,1,2,4,5,8,9,10,17,18,19,25,26) F = A'B'D'+C’D'E+C'DE’+ {AB’C’E or AB’C’D}+{A’BC’D’ or A’BC’E’} Essential prime implicants are shown in sold line groups and other prime implicants are shown in dotted line groups.