Plotting functions not in canonical form

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 8 – Systematic Simplification.
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
©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.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
CS 140 Lecture 3 Professor CK Cheng Tuesday 4/09/02.
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.

Simplifying Boolean Expressions Using K-Map Method
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
Optimization Algorithm
Combinational Logic Part 2: Karnaugh maps (quick).
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
Chapter 3 The Karnaugh Map
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.
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.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
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 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
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,
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
©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.
CHAPTER 6 Quine-McCluskey Method
Lecture 6 Quine-McCluskey Method
ECE 2110: Introduction to Digital Systems
Computer Organisation
Lecture 5 Topics Canonical or Standard Forms of Functions
QUINE-McCLUSKEY METHOD
CS 352 Introduction to Logic Design
CSCE 211: Digital Logic Design
ECE 2110: Introduction to Digital Systems
Karnaugh Maps.
EEL 3705 / 3705L Digital Logic Design
Copied with Permission from prof. Mark PSU ECE
Chapter 6 Quine-McCluskey Method
CSCE 211: Digital Logic Design
Optimized Implementation of Logic Function
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CSE140 HW2 Preparation Xinyuan Wang 04/20/2018.
CSCE 211: Digital Logic Design
ECE 331 – Digital System Design
Digital Logic & Design Dr. Waseem Ikram Lecture 12.
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
SYEN 3330 Digital Systems Chapter 2 – Part 4 SYEN 3330 Digital Systems.
Optimization Algorithm
Karnaugh Maps Introduction Venn Diagrams 2-variable K-maps
SYEN 3330 Digital Systems Chapter 2 – Part 5 SYEN 3330 Digital Systems.
Chapter 3 Gate-level Minimization.
Quine-McClusky Minimization Method
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’
CHAPTER 6 QUINE-McCLUSKEY METHOD
CSCE 211: Digital Logic Design
ECE 331 – Digital System Design
Presentation transcript:

Plotting functions not in canonical form Plot the function f(a, b, c) = a + bc ab a ab c 00 01 11 10 c 00 01 11 10 0 1 1 0 0 2 6 4 1 1 1 1 1 1 3 7 5 b The squares are numbered – derive the canonical form

5-variable K-maps - alternative 00 11 10 01 00 11 10 01 1 3 4 5 12 13 15 8 9 2 7 6 14 11 10 18 19 17 22 23 30 31 29 26 27 16 21 20 28 25 24 00 01 11 10 00 01 11 10 1

6-variable K-maps - alternative 00 01 40 41 43 44 45 36 37 39 32 33 42 47 46 38 35 34 00 01 11 10 1 3 4 5 12 13 15 8 9 2 7 6 14 18 19 17 22 23 30 31 29 26 27 16 21 20 28 25 24 62 63 61 58 59 54 55 53 50 51 60 57 56 52 49 48 10 11

Simplifying functions using K-maps Why is simplification possible Logically adjacent minterms are physically adjacent on the K-map Adjacent minterms can be combined by eliminating the common variable abc and ābc are adjacent abc + ābc = bc  variable a eliminated Done by drawing on the map a ring around the terms that can be combined

Simplifying functions using K-maps

Simplifying functions using K-maps

Simplifying functions using K-maps Definition of terms Implicant  product term that can be used to cover minterms Prime implicant  implicant not covered by any other implicant Essential prime implicant  a prime implicant that covers at least one minterm not covered by any other prime implicant Cover  set of prime implicants that cover each minterm of the function Minimizing a function  finding the minimum cover

Simplifying functions using K-maps Definition of terms Implicants:

Simplifying functions using K-maps Definition of terms Prime implicants: only B and AC Essential prime implicants: B and AC Cover: { B, AC }

Simplifying functions using K-maps Definition of terms Implicate  sum term that can be used to cover maxterms (0’s on the K-map) Prime implicate  implicate not covered by any other implicate Essential prime implicate  a prime implicate that covers at least one maxterm not covered by any other prime implicate Cover  set of prime implicates that cover each maxterm of the function

Simplifying functions using K-maps Algorithm 1: Fast and easy, not optimal

Simplifying functions using K-maps Algorithm 2: More work than the first Can give better results, because all prime implicants are considered Still not optimal

Simplifying functions using K-maps Algorithm 2: 1: Identify all PIs

Simplifying functions using K-maps Algorithm 2: 2: Identify EPIs

Simplifying functions using K-maps Algorithm 2: 3: Select cover

The Quine-McCluskey minimization method Tabular Systematic Can handle a large number of variables Can be used for functions with more than one output

The Q-M minimization method

The Q-M minimization method

The Q-M minimization method

The Q-M minimization method Combine minterms from List 1 into pairs in List 2 Take pairs from adjacent groups only, that differ in 1 bit Combine entries from List 2 into pairs in List 3

The Q-M minimization method

The Q-M minimization method

The Q-M minimization method

The Q-M minimization method