1 EENG 2710 Chapter 3 Simplification of Switching Functions.

Slides:



Advertisements
Similar presentations
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 8 – Systematic Simplification.
Advertisements

Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
Gate-level Minimization
Boolean Algebra and Combinational Logic
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 6 Dr. Shi Dept. of Electrical and Computer Engineering.
Chapter 3 Boolean Algebra and Logic Gate (Part 2).
Chapter 3 Simplification of Switching Functions
Give qualifications of instructors: DAP
Computer Engineering (Logic Circuits) (Karnaugh Map)
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
بهينه سازي با نقشة کارنو Karnaugh Map. 2  Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable.
Simplifying Boolean Expressions Using K-Map Method
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Digital Logic and Design Vishal Jethva Lecture No. 10 svbitec.wordpress.com.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
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
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.
Digital Circuits Design Chin-Sung Lin Eleanor Roosevelt High School.
Optimization Algorithm
Examples. Examples (1/11)  Example #1: f(A,B,C,D) =  m(2,3,4,5,7,8,10,13,15) Fill in the 1’s. 1 1 C A B CD AB D 1 1.
Converting to Minterms Form
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
Chapter 3 The Karnaugh Map
CS2100 Computer Organisation
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Conversion from one number base to another Binary arithmetic Equation simplification DeMorgan’s Laws Conversion to/from SOP/POS Reading equations from.
Karnaugh Maps (K-Maps)
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
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 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.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
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.
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
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.
In some Boolean functions there are some input terms that will never occur, for example in BCD code there are sex invalid combinations 1010,1011,1100,
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. K-Map (1)  Karnaugh Map provides a systematic method for simplifying Boolean expressions and may produce.
CE1110: Digital Logic Design Gate Level Minimization Karnaugh Maps (K-Maps)
Minimization of Circuits
Computer Organisation
Boolean Algebra and Combinational Logic
Karnaugh Map Method.
Karnaugh Maps.
Optimized Implementation of Logic Function
ECE Digital logic Lecture 10: Karnaugh MAps
Digital Logic and Design
Optimized Implementation of Logic Function
BASIC & COMBINATIONAL LOGIC CIRCUIT
ECE 331 – Digital System Design
Digital Logic & Design Dr. Waseem Ikram Lecture 12.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Optimization Algorithm
Chapter 3 Gate-level Minimization.
Optimized Implementation of Logic Function
Overview Part 2 – Circuit Optimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
ECE 331 – Digital System Design
Presentation transcript:

1 EENG 2710 Chapter 3 Simplification of Switching Functions

2 Chapter 3 Homework 3.1b, 3.2b, 3.3b, 3.3c,

3 Simplification By Karnaugh Mapping A Karnaugh map, called a K-map, is a graphical tool used for simplifying Boolean expressions.

4 Construction of a Karnaugh Map Square or rectangle divided into cells. Each cell represents a line in the truth table. Cell contents are the value of the output variable on that line of the truth table.

5 Construction of a Karnaugh Map

6

7

8

9

10 Construction of a Karnaugh Map (From Minterm) F(BA) =  m(0, 2)

11 Construction of a Karnaugh Map (From Truth Table) SOP Method  m(1, 3, 6, 7) F(ABC) = A’C + AB

12 Construction of a Karnaugh Map (From Truth Table) POS Method  M(0, 2, 4, 5) F(ABC) = (A + C)(A’ + B)

13 Grouping Cells Cells can be grouped as pairs, quads, and octets. A pair cancels one variable. A quad cancels two variables. An octet cancels three variables.

14 Grouping Cells Keep: A’Discord: A, B, & B’ Y = A’ Y = A’B’ + A’B

15 Grouping Cells Keep: C Discord: A, A’, B, &B’ Y = C Y = A’B’C + A’BC + ABC + AB’C

16 Grouping Cells Keep: B Discard: A, C & D Y = B Y = A’BC’D’ + A’BC’D + A’BCD + A’BCD’ + ABC’D’ + ABC’D + ABCD + ABCD’

17 Grouping Cells along the Outside Edge The cells along an outside edge are adjacent to cells along the opposite edge. In a four-variable map, the four corner cells are adjacent.

18 Grouping Cells along the Outside Edge (SOP Method Shown)

19 Multiple Groups Each group is a term in the maximum SOP expression. A cell may be grouped more than once as long as every group has at least one cell that does not belong to any other group. Otherwise, redundant terms will result.

20 Multiple Groups

21 Maximum Simplification Achieved if the circled group of cells on the K-map are as large as possible. There are as few groups as possible.

22 Maximum Simplification Keep: B’ & D Y = B’ + D

23 Using K-Maps for Partially Simplified Circuits Fill in the K-map from the existing product terms. Each product term that is not a minterm will represent more than one cell. Once completed, regroup the K-map for maximum simplification.

24 Using K-Maps for Partially Simplified Circuits

25 Using K-Maps for Partially Simplified Circuits

26 Don’t Care States The output state of a circuit for a combination of inputs that will never occur. Shown in a K-map as an “x”.

27 Value of Don’t Care States In a K-map, set “x” to a 0 or a 1, depending on which case will yield the maximum simplification.

28 Value of Don’t Care States

29 POS Simplification Using Karnaugh Mapping Group those cells with values of 0. Use the complements of the cell coordinates as the sum term.

30 POS Simplification Using Karnaugh Mapping

31

32

Problem 3.2d Minimize the following function containing don’t-cares the using K-map F(A,B,C,D,E) =  m(3,4,6,9,11,13,15,18,25,26,27,29,31)) 33 f(A,B,C,D,E) = BE + A’B’CE’ + A’C’DE + AC’DE’ A’B’CE’ A’C’DE BE AC’DE’

Problem 3.3 a Minimize the following function containing don’t-cares the using K-map F(A,B,C,D) =  m(2,9,10,12,13) + d(1,5,14) 34 f(A,B,C,D,) = C’D + B’CD’ + ABC’ ABC’ C’D B’CD

Problem 3.3 a (Continued) 35 C’D B’CD ABD’ f(A,B,C,D,) = C’D + B’CD’ + ABD’

36 Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) b.Combine minterm groups with same number of 1’s. 1.Build List 1. a.Start by setting minterms to binary. Minterm = ABCD 2 = 0010  4 = 0100  6 = 0110  8 = 1000  9 = 1001  10 = 1010  12 = 1100  13 = 1101  15 = 1111 

Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) 2. Build List is in 6 2 is in 10 8 is in 9 4 is in 12 - = place where the two differ

38 Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) 3.Build List 3

39 Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) 4. Build Table 1. f(A,B,C,D) = PI 1 + PI 7

40 Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) 5. Build Table 2. f(A,B,C,D) = PI 1 + PI 3 + PI 4 + PI 7

41 Quine-McCluskey Method f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15)

K-Map f(A,B,C,D) =  m(2, 4, 6, 8, 9, 10, 12, 13, 15) 42 AC’ ABD B’CD’ A’B’D’ f(ABCD) = AC’ + B’CD’ + A’BD’ +ABD