Boolean 3.1 Boolean Logic 3 ©Paul Godin Created September 2007 Last edit Sept 2009.

Slides:



Advertisements
Similar presentations
Digital Circuits.
Advertisements

Boolean Algebra and Reduction Techniques
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
Digital Fundamentals Floyd Chapter 4 Tenth Edition
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.

EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Computer Engineering (Logic Circuits) (Karnaugh Map)
بهينه سازي با نقشة کارنو Karnaugh Map. 2  Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable.
Digital Fundamentals with PLD Programming Floyd Chapter 4
Computer Organization and Assembly Language: Chapter 7 The Karnaugh Maps September 30, 2013 By Engineer. Bilal Ahmad.
Chapter 5 Boolean Algebra and Reduction Techniques William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
EEE324 Digital Electronics Ian McCrumRoom 5B18, Lecture 4: Boolean Algebra.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
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.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Computer Engineering (Logic Circuits) (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.
Minimisation ENEL111. Minimisation Last Lecture  Sum of products  Boolean algebra This Lecture  Karnaugh maps  Some more examples of algebra and truth.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
CS1Q Computer Systems Lecture 7
Computer Arithmetic, K-maps Prof. Sin-Min Lee Department of Computer Science.
Boolean Logic 1 Technician Series Boolean 1.1 ©Paul Godin Created Jan 2015 gmail.com.
Basic Gates 2.1 Basic Digital Logic: Application of Digital Gates using AND / OR / NOT ©Paul Godin Created August 2007 Last Update Sept 2013 Basic Gates.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
Boolean Algebra and Reduction Techniques
Boolean 1.1 Boolean Logic 1 ©Paul Godin Created September 2007 Last Edit September 2009 gmail.com.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 4 © 2008 Pearson Education.
Karnaugh Maps (K maps). What are Karnaugh 1 maps?  Karnaugh maps provide an alternative way of simplifying logic circuits.  Instead of using Boolean.
Designing Combinational Logic Circuits
Boolean 4.1 Boolean Logic 4 ©Paul Godin Created September 2007 gmail.com.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
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.
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.
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.
Karnaugh Maps (K maps).
Chapter 4 OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS.
Introduction to Digital Electronics Lecture 5: Function Minimisation.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
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.
Combinational Circuits Part 1
Digital Fundamentals Floyd Chapter 5 Tenth Edition
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
Circuits & Boolean Expressions
Digital Logic and Design
Digital Fundamentals Floyd Chapter 5 Tenth Edition
BASIC & COMBINATIONAL LOGIC CIRCUIT
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
Latch Practice Problems 1
Boolean Logic 2 ©Paul Godin Created September 2007 Last edit Sept 2009
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 4 Tenth Edition
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Karnaugh Maps (K maps).
Chapter 5 Combinational Logic Analysis
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
Laws & Rules of Boolean Algebra
Circuits & Boolean Expressions
Presentation transcript:

Boolean 3.1 Boolean Logic 3 ©Paul Godin Created September 2007 Last edit Sept 2009

Boolean 3.2 K-Mapping

Boolean 3.3 K-Mapping ◊Karnaugh (pronounced “karno”) developed a visual technique for simplifying Boolean equations. ◊K-Mapping relies on pattern recognition. ◊K-Maps are considered easier to use than straight Boolean reduction. ◊K-Maps are in a grid configuration and can be easily used to resolve up to 4-variable problems.

Boolean 3.4 K-Mapping ◊K-Map configurations use a Gray Code count as follows: 00, 01, 11, 10 ◊Remember Gray Codes only changes one bit at a time AB C CD 3-Variable K-Map 4-Variable K-Map

Boolean 3.5 K-Mapping – Alternate Labeling CC’ A’B’ A’B AB AB’ C’D’C’DCDCD’ A’B’ A’B AB AB’ 3-Variable K-Map 4-Variable K-Map

Boolean 3.6 Filling in a K-Map ◊The AND statements are entered directly into the K-Map. ◊The K-Map technique lends itself well to S.O.P. form (where AND statements are OR’d together, such as: ABC+AB’C+AB’C’) ◊K-Maps work well with Truth Tables.

Boolean 3.7 Filling in a K-Map: 3-Variable AB C Each position in the table represents a Boolean value. A “0” signifies a NOT. A’B’C’ A’B’C A’BC’ A’BC ABC’ ABC AB’C’ AB’C

Boolean 3.8 Filling in a K-Map: 3-Variable AB C Fill in the K-Map for the following Boolean equation: ABC’+ABC + AB’C’ +AB’C Each “true” value = 1 Any “false” value = Animated

Boolean 3.9 Exercise AB C Fill in the K-Map for the following Boolean equation: AB’C+ABC + ABC’ +AB’C’

Boolean 3.10 K-Mapping Rules ◊The objective is to circle all of the 1’s using a basic set of rules: ◊Include only 1’s (or x’s) in the circle. No zeros. ◊Make the circle a big as possible. ◊The circle must be either 1, 2, 4, 8 or 16 variables in size. ◊The circle can only be horizontal or vertical, not diagonal. ◊The K-Map wraps around. The corners are connected as are opposite sides. ◊Make the fewest circles possible. ◊Values in a circle are ANDed together; extra circles are ORed together.

Boolean 3.11 K-Mapping examples: 3-variable AB C AB C AB C AB C Circle of 4 Circle of 2 Circle of 4 (wraps around to the other side)

Boolean 3.12 K-Mapping examples: 4-variable AB CD AB CD AB CD AB CD Circle of 4 (wraps to other side) Circle of 4 (wraps to other sides) Circle of 2 Circle of 4

Boolean 3.13 Reading a K-Map ◊Once the circles have been done, the area the circle encompasses is included as part of the equation. ◊Opposite values cancel. This is the simplification process.

Boolean variable solution: Step AB C Values encompassed by the circle

Boolean variable solution: Step AB C Opposites cancel After cancellation, the remainder is A=0 Answer: A = output

Boolean 3.16 Example: 3-variable solutions AB C AB C AB C AB C A’ C A’C’ B’

Boolean 3.17 Example: 4-variable solutions AB CD AB CD AB CD AB CD BD’ B’D’ A’BD A’B’

Boolean 3.18 K-Map: multiple circles ◊More than one circle may be required to circle all of the 1’s. ◊Circles may overlap. ◊When multiple circles are encountered, the solutions for each circle are OR’d together.

Boolean 3.19 Example: multiple circles AB C A’C’ + AC + AB’ Sometimes there are several different options for circles.

Boolean 3.20 Exercise 2: Determine the Boolean equations AB CD AB CD AB CD AB CD

Boolean 3.21 Truth Table direct to K-Map example INPUTOUTPUT ABCW ◊Values from a Truth Table can be implemented directly into a K-Map AB C

Boolean 3.22 Exercise 3: Simplify using a K-Map INPUTOUTPUT ABCW ◊Instructions: Determine the Boolean equation and simplify using a K- Map AB C Boolean

Boolean 3.23 Exercise 4: Simplify using a K-Map INPUTOUTPUT ABCW

Boolean 3.24 Exercise 5: Simplify using K-Map INPUTOUTPUT ABCDX

Boolean 3.25 ©Paul R. Godin prgodin gmail.com END