Computer Organization and Assembly Language: Chapter 7 The Karnaugh Maps September 30, 2013 By Engineer. Bilal Ahmad.

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Prof. Sin-Min Lee Department of Computer Science
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
ENGIN112 L8: Minimization with Karnaugh Maps September 19, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 8 Minimization with Karnaugh.
Digital Fundamentals Floyd Chapter 4 Tenth Edition

Digital Fundamentals with PLD Programming Floyd Chapter 4
Computer Programming Skills Revision Prepared by: Ghader Kurdi.
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Boolean Algebra and Logic Simplification
Digital Logic and Design Vishal Jethva Lecture No. 10 svbitec.wordpress.com.
KU College of Engineering Elec 204: Digital Systems Design
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.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
Department of Computer Engineering
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.
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
1 Digital Logic Design Week 5 Simplifying logic expressions.
Digital Circuits Design Chin-Sung Lin Eleanor Roosevelt High School.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
Logic and Computer Design Simon Petruc-Naum CS 147 – Dr. S.M. Lee.
1 SOP and POS Expressions from K-maps The examples so far have all generated minimal SOP expressions. POS expressions can be formed as follows: 1.Group.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
ECE 3110: Introduction to Digital Systems Symplifying Products of sums using Karnaugh Maps.
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
CS1Q Computer Systems Lecture 7
Boolean Algebra and Reduction Techniques
Karnaugh Mapping Digital Electronics. Karnaugh Mapping or K-Mapping This presentation will demonstrate how to Create and label two, three, & four variable.
CS151 Introduction to Digital Design Chapter Map Simplification.
Karnaugh Maps (K maps). What are Karnaugh 1 maps?  Karnaugh maps provide an alternative way of simplifying logic circuits.  Instead of using Boolean.
Sum-of-Products (SOP)
Chapter 3 Special Section Focus on Karnaugh Maps.
Karnaugh Maps (K-Maps)
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
KARNAUGH MAP A Karnaugh map (K Map) is a pictorial method used to minimize boolean expressions without having to use boolean algebra theorems and equation.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
Logic Simplification-Using K-Maps
1 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
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).
Chapter 4 OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS.
ECE 301 – Digital Electronics Logic Circuit Design (Lecture #9)
Revision Mid 1 Prof. Sin-Min Lee Department of Computer Science.
Introduction to Digital Electronics Lecture 5: Function Minimisation.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 7 – Karnaugh Maps.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC:K-Map. K-Map (1)  Karnaugh Map provides a systematic method for simplifying Boolean expressions and may produce.
Digital Logic & Design Dr. Waseem Ikram Lecture 09.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
CHAPTER 3 Simplification of Boolean Functions
Homework Reading Machine Projects Labs
Dr. Clincy Professor of CS
Computer Architecture CST 250
Karnaugh Maps (K-Maps)
Dr. Clincy Professor of CS
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
ECE 331 – Digital System Design
Karnaugh Mapping Digital Electronics
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) – Part 3 of 5
Dr. Clincy Professor of CS
Overview Part 2 – Circuit Optimization
Chapter 3 Special Section
Karnaugh Maps (K maps).
Laws & Rules of Boolean Algebra
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Presentation transcript:

Computer Organization and Assembly Language: Chapter 7 The Karnaugh Maps September 30, 2013 By Engineer. Bilal Ahmad

Significance K-Map is used to simplify Boolean Expressions. The K-Map reduces the need of extensive calculation by taking the advantage of Humans Pattern Reorganization Capability. The required Boolean Expressions are transferred on a truth table on a 2 dimensional grid where cells are ordered in gray code. Do you know what is a gray code, write for 2 bits

Representation of K-Maps Each cell represents one combination of input condition while each cell represents the output value. K-Maps are used to simplify real world logic requirements so that they can be implemented by using a limited no of physical gates.

What do you know so far? With the introduction of SOP and POS in chapter 6 you learned how to convert a truth table to Boolean Expression. You have noticed the two layer simplification. Yes it satisfied the condition and the architecture was simplified but can it is simplified further. The answer to that is yes, you can use K-Map to simplify further but how? You will learn in this lecture.

An Example Below is a truth table given and the resulted Boolean Expression.

Example Continued The resulting Boolean Expression is;

Analysis of the Example What you have learnt is that YES SOP and POS are used for the simplification to reduce the no. of logical gates but it is not the last stage of simplification. It can be further simplified and the no. of gates can be reduced further. What this chapter will do is, it will present a graphical method to pair up products where this rule can be applied in order to drop out as many terms as possible.

K-Maps It is the graphical representation of Truth Tables. They consist of grid with one cell for each row of a truth table. The grid shown below is the two-by-two K-Map used to represent a truth table with two input variables.

How to Map a K-Map

Analysis Have you noticed anything different while writing the combination in the previous slide? The traditional way to count the binary values is 00,01,10 and 11. because we must use gray codes we have to avoid this pattern. Otherwise the end product will not be in the most simplified form.

Structure of K-Maps K-Map is to rearrange truth table so that adjacent cells can be combined allowing for a term to drop out. In other words the key to the effectiveness of the K-Map is that adjacent cell represents the output for a specific pattern of one’s and zero’s at the input and that to move to an adjacent cell.

Example and Simplification Convert the 3 input truth table to its corresponding K-Map

Solution

Using K-Maps We can derive an expression by using the K-Map similar to what we were doing for the SOP expressions. The expression will be;

Using K-Maps Continued

Another Example K-Map can go further for example;

How to effectively use K-Maps So the key to effectively use K Maps is to find the largest group of adjacent cells containing ones. The larger the group the fewer products and inputs will be needed to create the Boolean Expression that produces the Truth Table. In the coming slides there will be some rules presented that should be obeyed.

How to Group in K-Maps

Grouping in K-Maps Continued

Example Determine the Minimal Expression for the Truth Table;

Conversion to K-Map From the Previous Truth Table Have you made a K-Map like this;

Assignment no 2