Karnaugh Mapping Digital Electronics. Karnaugh Mapping or K-Mapping This presentation will demonstrate how to Create and label two, three, & four variable.

Slides:



Advertisements
Similar presentations
BOOLEAN ALGEBRA. A Mathematical notation used to represent the function of the Digital circuit. A notation that allows variables & constants to have only.
Advertisements

Karnaugh Map Method.
I NTRODUCTION TO THE K ARNAUGH M AP 1 Alan Clements.
Boolean Algebra and Combinational Logic
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
CSE-221 Digital Logic Design (DLD)
Karnaugh Maps for Simplification
Give qualifications of instructors: DAP
ENGIN112 L13: Combinational Design Procedure October 1, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 13 Combinational Design Procedure.
CS 151 Digital Systems Design Lecture 13 Combinational Design Procedure.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Computer Engineering (Logic Circuits) (Karnaugh Map)
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
Computer Organization and Assembly Language: Chapter 7 The Karnaugh Maps September 30, 2013 By Engineer. Bilal Ahmad.
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.
Constructing A Truth Table XYZF1F InputsOutput Input Combinations 3 – Inputs 8 – Combinations (8 = 2 3 ) Note the binary counting order.
Digital Logic Chapter 4 Presented by Prof Tim Johnson
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.
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.
1 Digital Logic Design Week 5 Simplifying logic expressions.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Digital Systems: Combinational Logic Circuits Wen-Hung Liao, Ph.D.
ECE 3110: Introduction to Digital Systems Symplifying Products of sums using Karnaugh Maps.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Minimisation ENEL111. Minimisation Last Lecture  Sum of products  Boolean algebra This Lecture  Karnaugh maps  Some more examples of algebra and truth.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
CS1Q Computer Systems Lecture 7
Lecture 11 Combinational Design Procedure
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
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)
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
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
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 5: Karnaugh Maps.
1 Karnaugh Map Method Truth Table -TO- K-Map Y0101Y0101 Z1011Z1011 X0011X0011 minterm 0  minterm 1  minterm 2  minterm 3 
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).
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Scientific & Engineering Notation
1 EENG 2710 Chapter 3 Simplification of Switching Functions.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
CHAPTER 3 Simplification of Boolean Functions
Dr. Clincy Professor of CS
Karnaugh Map Method.
Karnaugh Maps.
Digital Logic and Design
Karnaugh Mapping Karnaugh Mapping Digital Electronics
Karnaugh Mapping Digital Electronics
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Karnaugh Mapping Karnaugh Mapping Digital Electronics
Karnaugh Mapping Digital Electronics
CS Chapter 3 (3A and ) – Part 3 of 5
Overview Part 2 – Circuit Optimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Karnaugh Maps (K maps).
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Circuit Simplification and
Presentation transcript:

Karnaugh Mapping Digital Electronics

Karnaugh Mapping or K-Mapping This presentation will demonstrate how to Create and label two, three, & four variable K-Maps. Use the K-Mapping technique to simplify logic designs with two, three, and four variables. Use the K-Mapping technique to simplify logic design containing don’t care conditions. Boolean Algebra Simplification K-Mapping Simplification ≡ 2

Karnaugh Map Technique K-Maps are a graphical technique used to simplify a logic equation. K-Maps are procedural and much cleaner than Boolean simplification. K-Maps can be used for any number of input variables, BUT are only practical for two, three, and four variables. 3

K-Map Format Each minterm in a truth table corresponds to a cell in the K-Map. K-Map cells are labeled such that both horizontal and vertical movement differ only by one variable. Since the adjacent cells differ by only one variable, they can be grouped to create simpler terms in the sum-of- products expression. The sum-of-products expression for the logic function can be obtained by OR-ing together the cells or group of cells that contain 1s. 4

Adjacent Cells = Simplification V V V

Truth Table to K-Map Mapping V WXF WX Minterm – 0001 Minterm – 1010 Minterm – 2101 Minterm – 3110 V Two Variable K-Map 6

V Groups of One – 4 Two Variable K-Map Groupings

V Groups of Two – 4 Two Variable K-Map Groupings

V Group of Four – 1 Two Variable K-Map Groupings 9

K-Map Simplification Process 1. Construct a label for the K-Map. Place 1s in cells corresponding to the 1s in the truth table. Place 0s in the other cells. 2. Identify and group all isolated 1’s. Isolated 1’s are ones that cannot be grouped with any other one, or can only be grouped with one other adjacent one. 3. Group any hex. 4. Group any octet, even if it contains some 1s already grouped but not enclosed in a hex. 5. Group any quad, even if it contains some 1s already grouped but not enclosed in a hex or octet. 6. Group any pair, even if it contains some 1s already grouped but not enclosed in a hex, octet, or quad. 7. OR together all terms to generate the SOP equation. 10

Example #1: 2 Variable K-Map Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 1. V JKF1F

Example #1: 2 Variable K-Map Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 1. V Solution: JKF1F

Truth Table to K-Map Mapping WXYF WXY Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – V Three Variable K-Map Only one variable changes for every row change 13

Three Variable K-Map Groupings V Groups of One – 8 (not shown) Groups of Two – 12 14

Groups of Four – 6 Three Variable K-Map Groupings V

Group of Eight - 1 Three Variable K-Map Groupings V

Example #2: 3 Variable K-Map Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 2. EFGF2F

Example #2: 3 Variable K-Map Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 2. V Solution: EFGF2F

Truth Table to K-Map Mapping Four Variable K-Map WXYZF WXYZ Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – Minterm – V Only one variable changes for every row change Only one variable changes for every column change 19

Four Variable K-Map Groupings V Groups of One – 16 (not shown) Groups of Two – 32 (not shown) Groups of Four – 24 (seven shown)

Four Variable K-Map Groupings V Groups of Eight – 8 (two shown)

Four Variable K-Map Groupings V Group of Sixteen – 1 22

Example #3: 4 Variable K-Map Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 3. RSTUF3F V 23

Example #3 : 4 Variable K-Map Example: After labeling and transferring the truth-table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 3. Solution: RSTUF3F V

Don’t Care Conditions A don’t care condition, marked by (X) in the truth table, indicates a condition where the design doesn’t care if the output is a (0) or a (1). A don’t care condition can be treated as a (0) or a (1) in a K-Map. Treating a don’t care as a (0) means that you do not need to group it. Treating a don’t care as a (1) allows you to make a grouping larger, resulting in a simpler term in the SOP equation. 25

Some You Group, Some You Don’t V X X0 This don’t care condition was treated as a (1). This allowed the grouping of a single one to become a grouping of two, resulting in a simpler term. There was no advantage in treating this don’t care condition as a (1), thus it was treated as a (0) and not grouped. 26

Example #4: Don’t Care Conditions Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 4. Be sure to take advantage of the don’t care conditions. RSTUF4F4 0000X X X 0110X X 1100X V 27

Example #4: Don’t Care Conditions Example: After labeling and transferring the truth table data into the K-Map, write the simplified sum-of-products (SOP) logic expression for the logic function F 4. Be sure to take advantage of the don’t care conditions. Solution: RSTUF4F4 0000X X X 0110X X 1100X V X0X1 0X1X X000 11X1 28