Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Chapter 3 Gate-Level Minimization
Prof. Sin-Min Lee Department of Computer Science
Gate-Level Minimization
K-Map Simplification COE 202 Digital Logic Design Dr. Aiman El-Maleh
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
Gate-level Minimization
©2004 Brooks/Cole FIGURES FOR CHAPTER 5 KARNAUGH MAPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in the.
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Chapter 3 Simplification of Switching Functions
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Simplification of SOP Expression Prime Implicant (PI) is a product which is obtained from the number of maximum.
CSE-221 Digital Logic Design (DLD)
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Gate Logic: Two Level Canonical Forms

Gate-Level Minimization1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
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.
SYEN 3330 Digital Systems Jung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 5.
Simplifying Boolean Expressions Using K-Map Method
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
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.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Department of Computer Engineering
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 2.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
UM EECS 270 Spring 2011 – Taken from Dr.Karem Sakallah Logic Synthesis: From Specs to Circuits Implementation Styles –Random –Regular Optimization Criteria.
Combinational Logic Part 2: Karnaugh maps (quick).
Unit 5 Karnaugh Maps Fundamentals of Logic Design by Roth and Kinney.
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
Chapter 3 The Karnaugh Map
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
Unit 1 Minimization Techniques and Logic Gates. Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
February 2, 2004CS 2311 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are AND, OR and.
CS231 Boolean Algebra1 Summary so far So far: – A bunch of Boolean algebra trickery for simplifying expressions and circuits – The algebra guarantees us.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Karnaugh Maps (K-Maps)
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
ECE/CS 352 Digital System Fundamentals1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 2 – Part 5 Tom Kaminski & Charles R. Kime.
Quiz 3-1. Use a K-MAP to simplify the following function.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Karnaugh Maps (K maps).
Chapter 4 OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS.
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
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.
ECE 2110: Introduction to Digital Systems
Computer Organisation
ECE 3110: Introduction to Digital Systems
Plotting functions not in canonical form
ECE 2110: Introduction to Digital Systems
Karnaugh Maps.
EEL 3705 / 3705L Digital Logic Design
EEL 3705 / 3705L Digital Logic Design
Instructor: Alexander Stoytchev
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Minimization of Switching Functions
Simplification of Boolean Functions using K-Maps
Presentation transcript:

Chapter 3 Simplification of Switching Functions

Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table

Relationship to Venn Diagrams

b a

b a

Two-Variable K-Map

Three-Variable K-Map

Edges are adjacent

Four-variable K-Map

Edges are adjacent

Plotting Functions on the K-map SOP Form

Canonical SOP Form Three Variable Example using shorthand notation

Three-Variable K-Map Example Plot 1’s (minterms) of switching function

Three-Variable K-Map Example Plot 1’s (minterms) of switching function

Four-variable K-Map Example

Karnaugh Maps (K-Map) Simplification of Switching Functions using K-MAPS

Terminology/Definition  Literal A variable or its complement  Logically adjacent terms Two minterms are logically adjacent if they differ in only one variable position Ex: and m6 and m2 are logically adjacent Note: Or, logically adjacent terms can be combined

Terminology/Definition  Implicant Product term that could be used to cover minterms of a function  Prime Implicant An implicant that is not part of another implicant  Essential Prime Implicant An implicant that covers at least one minterm that is not contained in another prime implicant  Cover A minterm that has been used in at least one group

Guidelines for Simplifying Functions  Each square on a K-map of n variables has n logically adjacent squares. (i.e. differing in exactly one variable)  When combing squares, always group in powers of 2 m, where m=0,1,2,….  In general, grouping 2 m variables eliminates m variables.

Guidelines for Simplifying Functions  Group as many squares as possible. This eliminates the most variables.  Make as few groups as possible. Each group represents a separate product term.  You must cover each minterm at least once. However, it may be covered more than once.

K-map Simplification Procedure  Plot the K-map  Circle all prime implicants on the K- map  Identify and select all essential prime implicants for the cover.  Select a minimum subset of the remaining prime implicants to complete the cover.  Read the K-map

Example  Use a K-Map to simplify the following Boolean expression

Three-Variable K-Map Example Step 1: Plot the K-map

Three-Variable K-Map Example Step 2: Circle ALL Prime Implicants

Three-Variable K-Map Example Step 3: Identify Essential Prime Implicants EPI PI

Three-Variable K-Map Example Step 4: Select minimum subset of remaining Prime Implicants to complete the cover EPI PI EPI

Three-Variable K-Map Example Step 5: Read the map

Solution

Example  Use a K-Map to simplify the following Boolean expression

Three-Variable K-Map Example Step 1: Plot the K-map 11 11

Three-Variable K-Map Example Step 2: Circle Prime Implicants Wrong!! We really should draw A circle around all four 1’s

Three-Variable K-Map Example Step 3: Identify Essential Prime Implicants EPI Wrong!! We really should draw A circle around all four 1’s

Three-Variable K-Map Example Step 4: Select Remaining Prime Implicants to complete the cover. EPI

Three-Variable K-Map Example Step 5: Read the map

Solution Since we can still simplify the function this means we did not use the largest possible groupings.

Three-Variable K-Map Example Step 2: Circle Prime Implicants Right!

Three-Variable K-Map Example Step 3: Identify Essential Prime Implicants EPI

Three-Variable K-Map Example Step 5: Read the map

Solution

Special Cases

Three-Variable K-Map Example

Four Variable Examples

Example  Use a K-Map to simplify the following Boolean expression

Four-variable K-Map

Example  Use a K-Map to simplify the following Boolean expression D=Don’t care (i.e. either 1 or 0)

Four-variable K-Map 1 1 d d d

1 1 d d d

Five Variable K-Maps

Five variable K-map A=1 A=0 Use two four variable K-maps

Use Two Four-variable K-Maps A=0 mapA=1 map

Five variable example

Use Two Four-variable K-Maps A=0 mapA=1 map

Use Two Four-variable K-Maps A=0 mapA=1 map

Five variable example

Plotting POS Functions

K-map Simplification Procedure  Plot the K-map for the function F  Circle all prime implicants on the K-map  Identify and select all essential prime implicants for the cover.  Select a minimum subset of the remaining prime implicants to complete the cover.  Read the K-map  Use DeMorgan’s theorem to convert F to F in POS form

Example  Use a K-Map to simplify the following Boolean expression

Three-Variable K-Map Example Step 1: Plot the K-map of F

Three-Variable K-Map Example Step 2: Circle ALL Prime Implicants

Three-Variable K-Map Example Step 3: Identify Essential Prime Implicants EPI PI

Three-Variable K-Map Example Step 4: Select minimum subset of remaining Prime Implicants to complete the cover EPI PI EPI

Three-Variable K-Map Example Step 5: Read the map

Solution

TPS Quiz