Karnaugh Maps Not in textbook. Karnaugh Maps K-maps provide a simple approach to reducing Boolean expressions from a input-output table. The output from.

Slides:



Advertisements
Similar presentations
Combinational Logic Circuits Is the logic circuit where the output always depends on the inputs irrespective of the previous state with out the feed back.
Advertisements

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.
CS 140 Lecture 5 Professor CK Cheng 10/10/02. Part I. Combinational Logic 1.Spec 2.Implementation K-map: Sum of products Product of sums.
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 3 Professor CK Cheng 10/3/02. 1.Specification 2.Implementation 3.K-maps Part I.
1 CS 20 Lecture 14 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego.
Chapter 3 Simplification of Switching Functions
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 4 Professor CK Cheng 4/11/02. Part I. Combinational Logic Implementation K-Map Given F R D Obj: Minimize sum of products Proc: Draw K-Map.
CS 151 Digital Systems Design Lecture 8 Minimization with Karnaugh Maps.
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego 1.
ENGIN112 L12: Circuit Analysis Procedure September 29, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 12 Circuit Analysis Procedure.
Boolean Algebra and Logic Simplification
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
EEE324 Digital Electronics Ian McCrumRoom 5B18, Lecture 4: Boolean Algebra.
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
Boolean Algebra and Digital Circuits
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.
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.
Slide 1-1 Organizational Remarks I don’t use the exercises in Mano/Kime; this way you can use them as review exercises (for many of them there are solutions.
XOR Operator A short digression… … to introduce another Boolean operation: exclusive- OR (XOR) ABA + B XOR.
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
CH51 Chapter 5 Combinational Logic By Taweesak Reungpeerakul.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Abdullah Said Alkalbani University of Buraimi
CH41 Chapter 4 Boolean Algebra and Logic Simplification By Taweesak Reungpeerakul.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Designing Combinational Logic Circuits
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
BR 2/1/991 Truth Tables (again) Recall that a boolean equation can be represented by a Truth Table A B C F
THE K-MAP.
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
 Seattle Pacific University EE Logic System DesignKMaps-1 Two-Level Simplification All Boolean expressions can be represented in two- level forms.
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Introduction to Digital Electronics Lecture 5: Function Minimisation.
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.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
Lecture 5: K-Map minimization in larger input dimensions and K-map minimization using max terms CSE 140: Components and Design Techniques for Digital Systems.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Dr. Nermin Hamza. x · y = y · x x + y = y + x x · (y · z) = (x · y) · z x + (y + z) = (x + y) + z x · (y + z) = (x · y) + (x · z) x + (y · z) = (x + y)
1 EENG 2710 Chapter 3 Simplification of Switching Functions.
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 3: Incompletely Specified Functions and K Maps
CHAPTER 1 : INTRODUCTION
Karnaugh Maps.
Circuits & Boolean Expressions
Optimized Implementation of Logic Function
Lecture 3: Incompletely Specified Functions and K Maps
BASIC & COMBINATIONAL LOGIC CIRCUIT
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Optimized Implementation of Logic Function
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Analysis of Logic Circuits Example 1
Laws & Rules of Boolean Algebra
Circuits & Boolean Expressions
Lecture 3: Incompletely Specified Functions and K Maps
ECE 331 – Digital System Design
ECE 120 Midterm 2 HKN Review Session.
Presentation transcript:

Karnaugh Maps Not in textbook

Karnaugh Maps K-maps provide a simple approach to reducing Boolean expressions from a input-output table. The output from the table is used to fill-in the K-map. – 1’s are used to create a Sum of Product (SOP) solution. (min terms) – 0’s are used to create a Product of Sum (POS) solution. (max terms)

Min Terms Canonical representation of a Boolean expression is in the form of ^ v ~ (AND, OR, NOT). – Example: A^B v ~A^~B v A^~B (AB + AB + AB) Candidates for canonical representation are taken from the truth table (input-output). Candidates are identified where the output is “1”. (Max Term canonical representation candidates are identified by “0”)

Min Terms Min terms are taken directly from the truth tables. Where ever there is a “1” for an output, F(), we note the min term value and place a “1” in the K-map corresponding to the min term value of the table. Min term short hand is often used to replace a full input-output table. The short hand indicate the variables and the min terms that are “1”. Example: f(A,B,C) = 

Examples f(A,B,C) =  InputOutput min termABCF(A,B,C) InputOutput min termABF(A,B) f(A,B) = 

K-Map Tables K-map tables are organized based on the number of variables. – Example: showing min terms in italic bold.

K-Map Examples ~BB A\B 01 ~A0 1 A1 1 f(A,B) =  Reducing a Boolean expression using K-map 1.Identify min terms (from table or function form) 2.Fill-in appropriate K-map. 3.Group min terms in largest grouping using 4-neighbor rule. 1.a min term is a number if it is either to the right, left, top, or bottom. 2.K-map edges are connected as neighbors. 4.Write out the groupings as the reduced expression (circuit). f(A,B) = ~A^~B v A^B

K-Map Examples ~BB A\B 01 ~A0 1 A1 1 f(A,B) =  f(A,B) = ~B ~BB A\B 01 ~A0 A1 11 f(A,B) =  f(A,B) = A ~BB A\B 01 ~A0 1 A1 11 f(A,B) =  f(A,B) = B v A

K-Map Examples InputOutput min termABCF(A,B,C) ~B~B / CB / CB A\BC ~A0 11 A1 11 f(A,B,C) = ~A^~B v A^C ~B~B / CB / CB A\BC ~A0 11 A1 1 f(A,B,C) =  f(A,B,C) = ~A^~C v ~B^~C

K-Map Examples f(A,B,C,D) =  ~C~C / DC / DC AB\CD ~A 00 ~A / B A / B A 10 f(A,B,C) = B^D f(A,B,C,D) =  ~C~C / DC / DC AB\CD ~A ~A / B 01 A / B 11 A f(A,B,C) = ~B

K-Map Examples f(A,B,C,D) =  ~C~C / DC / DC AB\CD ~A ~A / B 01 A / B 11 1 A f(A,B,C) = ~B^~C v ~B^~D v A^B^C^D

HMWK Due 2/4 1.Build the input-output table from the following min term list of 4-variables:   2.Using a K-map reduce the expression from 1 such that you minimize the number of connectives (AND, OR, NOT). Remember the answer should be in the sum of product form.