Simplification of switching functions Simplify – why? –Switching functions map to switching circuits –Simpler function  simpler circuit –Reduce hardware.

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
ITEC 352 Lecture 4 Boolean logic / Karnaugh Maps.
KARNAUGH MAP Introduction Strategy for Minimization Minimization of Product-of-Sums Forms Minimization of More Complex Expressions Don't care Terms 1.
Gate-level Minimization
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.
ENGIN112 L8: Minimization with Karnaugh Maps September 19, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 8 Minimization with Karnaugh.
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.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Chapter 3 Simplification of Switching Functions
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 151 Digital Systems Design Lecture 8 Minimization with Karnaugh Maps.
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
Digital Logic and Design Vishal Jethva Lecture No. 10 svbitec.wordpress.com.
KU College of Engineering Elec 204: Digital Systems Design
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Lecture 23 Final Revision 3. Prof. Sin-Min Lee.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
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.
9/15/09 - L7 Two Level Circuit Optimization Copyright Joanne DeGroat, ECE, OSU1 Two Level Circuit Optimiztion An easier way to generate a minimal.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
Combinational Logic Part 2: Karnaugh maps (quick).
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map.
LOGIC GATES & BOOLEAN ALGEBRA
February 2, 2004CS 2311 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are AND, OR and.
ECE 3110: Introduction to Digital Systems
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
CS231 Boolean Algebra1 Summary so far So far: – A bunch of Boolean algebra trickery for simplifying expressions and circuits – The algebra guarantees us.
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.
Minimization Karnaugh Maps
CS151 Introduction to Digital Design Chapter Map Simplification.
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.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 7 – Karnaugh Maps.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Karnaugh Maps The minimization method using Boolean Algebra, apart from being laborious and requiring the remembering all the laws, can lead to solutions.
1 EENG 2710 Chapter 3 Simplification of Switching Functions.
Digital Logic & Design Dr. Waseem Ikram Lecture 09.
Digital Systems Design 1 Signal Expressions Multiply out: F = ((X + Y)  Z) + (X  Y  Z) = (X  Z) + (Y  Z) + (X  Y  Z)
CHAPTER 3 Simplification of Boolean Functions
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
ECE 2110: Introduction to Digital Systems
ECE/CS 352 Digital Systems Fundamentals
Karnaugh Map Method.
ECE 2110: Introduction to Digital Systems
Karnaugh Maps.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
SYEN 3330 Digital Systems Chapter 2 – Part 4 SYEN 3330 Digital Systems.
ECE 331 – Digital System Design
The Map Method Truth table of fn is unique but fn can be in many different algebraic forms Simplification by using boolean algebra is often difficult because.
Overview Part 2 – Circuit Optimization
CSE 140 Lecture 3 Combinational Logic: Implementation
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Simplification of Boolean Functions using K-Maps
Lecture 3: Incompletely Specified Functions and K Maps
Circuit Simplification and
Presentation transcript:

Simplification of switching functions Simplify – why? –Switching functions map to switching circuits –Simpler function  simpler circuit –Reduce hardware complexity –Reduce size and increase speed by reducing number of gates Simplify – how? –Using the postulates –Ad-hoc

Simplification of switching functions Simplify – what? –SOP/POS form has products/sums and literals Literal: each appearance of a variable or its complement –Minimize number of sums/products Reduces total gate count –Minimize number of variables in each sum/product Reduces number of inputs to each gate PLDs have fixed # of inputs; only the number of terms need to be minimized there

Simplification of switching functions

Simplification using postulates

Simplification using Karnaugh maps

Karnaugh maps Karnaugh map (also K-map) is a graphic tool, pictorial representation of truth table –Extension of the concepts of truth table, Venn diagram, minterm –Transition from Venn diagram to minterm

Karnaugh maps –Adjacencies are preserved when going from c) to d) They are the same, only the areas are made equal in d), which preserves adjacencies Subscripts are dropped in e); realize that 2&3 is A; 1&3 is B In f) the labels change and become 0 and 1 –Each square of the K-map is 1 row of the TT

Karnaugh maps Might start with rectangles initially and get the same result  A B  –Each square of the K-map is 1 row of the TT

Karnaugh maps One to one correspondence between K-map squares and maxterms A A+B  M 0 = m 0 = AB B A A+B  M 3 = m 3 = AB B

Karnaugh maps One to one correspondence between K-map squares and maxterms A A+B  M 2 = m 2 = AB B A A+B  M 1 = m 1 = AB B

3-variable K-maps

Constructing 3-variable K-mapsA B B 0flip  01 C = 0C = 1 abutt CA B

3-variable K-maps Constructing 3-variable K-mapsA B 0 1 CB 1 0 0C = C = 0 11 A 10 B 0 1 1C = 1 0

4-variable K-maps

5-variable K-maps

6-variable K-maps

Plotting functions in canonical form