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.

Slides:



Advertisements
Similar presentations
CSE20 Lecture 15 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego 1.
Advertisements

CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 8 – Systematic Simplification.
1 Combinational Logic Network design Chapter 4 (continued ….)
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.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 6 Dr. Shi Dept. of Electrical and Computer Engineering.
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 140 Lecture 3 Professor CK Cheng Tuesday 4/09/02.
Chapter 3 Simplification of Switching Functions
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
CS 140 Lecture 4 Professor CK Cheng Tuesday 5/08/02.
CS 140 Lecture 6 Professor CK Cheng Tuesday 10/15/02.
Give qualifications of instructors: DAP
CS 140 Lecture 4 Combinational Logic: K-Map Professor CK Cheng CSE Dept. UC San Diego 1.
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 6 Professor CK Cheng 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.
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.
ECE 301 – Digital Electronics Karnaugh Maps and Determining a Minimal Cover (Lecture #8) The slides included herein were taken from the materials accompanying.
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego.
بهينه سازي با نقشة کارنو Karnaugh Map. 2  Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable.
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego 1.
Simplifying Boolean Expressions Using K-Map Method
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
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.
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
Optimization Algorithm
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
1 ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of ECE Georgia Institute of Technology.
Karnaugh Maps ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
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.
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science.
Karnaugh Maps (K maps).
CEC 220 Digital Circuit Design More Karnaugh Maps Monday, February 02 CEC 220 Digital Circuit Design Slide 1 of 11.
EECS 270 Lecture 10. K-map “rules” – Only circle adjacent cells (remember edges are adjacent!) – Only circle groups that are powers of 2 (1, 2,
Lecture 4: Four Input K-Maps CSE 140: Components and Design Techniques for Digital Systems CK Cheng Dept. of Computer Science and Engineering University.
CEC 220 Digital Circuit Design Implicants Wed, Sept. 23 CEC 220 Digital Circuit Design Slide 1 of 10.
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.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Lecture 3: Incompletely Specified Functions and K Maps
Lecture #6 EGR 277 – Digital Logic
CSE 140: Components and Design Techniques for Digital Systems
Optimized Implementation of Logic Function
ECE 331 – Digital System Design
Lecture 3: Incompletely Specified Functions and K Maps
Optimized Implementation of Logic Function
CSE140 HW2 Preparation Xinyuan Wang 04/20/2018.
ECE 331 – Digital System Design
Digital Logic & Design Dr. Waseem Ikram Lecture 12.
CSE 140: Components and Design Techniques for Digital Systems
Optimization Algorithm
SYEN 3330 Digital Systems Chapter 2 – Part 5 SYEN 3330 Digital Systems.
Chapter 3 Gate-level Minimization.
Optimized Implementation of Logic Function
CSE 140 Lecture 3 Combinational Logic: Implementation
Professor CK Cheng CSE Dept. UC San Diego
CSE 140 Lecture 4 Combinational Logic: K-Map
Lecture 3: Incompletely Specified Functions and K Maps
ECE 331 – Digital System Design
Presentation transcript:

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 Fall 2014 CK Cheng Dept. of Computer Science and Engineering University of California, San Diego 1

Part I. Combinational Logic 1.Specification 2.Implementation K-map: Sum of products Product of sums 2

Implicant: A product term that has non-empty intersection with on-set F and does not intersect with off-set R. Prime Implicant: An implicant that is not a proper subset of any other implicant. Essential Prime Implicant: A prime implicant that has an element in on-set F but this element is not covered by any other prime implicants. Implicate: A sum term that has non-empty intersection with off-set R and does not intersect with on-set F. Prime Implicate: An implicate that is not a proper subset of any other implicate. Essential Prime Implicate: A prime implicate that has an element in off-set R but this element is not covered by any other prime implicates. 3

K-Map to Minimized Product of Sum 4 Sometimes easier to reduce the K-map by considering the offset Usually when number of zero outputs is less than number of outputs that evaluate to one OR offset is smaller than onset ab cd

Minimum Sum of Product Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) ab c Prime Implicants: Essential Prime Implicants: Min SOP exp: f(a,b,c)=

Minimum Sum of Product X 0 0 X Prime Implicant: Σm (3), Σm (4, 5) Essential Prime Implicant: Σm (3), Σm (4, 5) Min SOP exp: f(a,b,c) = a’bc + ab’ 6 ab c Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4)

Minimum Product of Sum 7 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) X 0 0 X ab c

Minimum Product of Sum 8 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) F (a,b,c) = Σm (1, 2, 6,7)+ Σd (0, 4) X 0 0 X ab c ab c

Minimum Product of Sum: Boolean Algebra Rationale 9 F (a,b,c) = Σm (1, 2, 6,7)+ Σd (0, 4) X 1 1 X ab c

Minimum Product of Sum 10 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) X 0 0 X ab c

Minimum Product of Sum 11 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) X 0 0 X ab c PI Q: The adjacent cells grouped in red can be minimized to the following max term: A.a+b B.(a+b)’ C.a’+b’

Minimum Product of Sum 12 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) X 0 0 X ab c Prime Implicates: Essential Primes Implicates: Min exp: f(a,b,c) =

Minimum Product of Sum 13 Given F (a,b,c) = Σm (3, 5), D = Σm (0, 4) X 0 0 X ab c Prime Implicates: ΠM (0, 1), ΠM (0, 2, 4, 6), ΠM (6, 7) Essential Primes Implicates: ΠM (0, 1), ΠM (0, 2, 4, 6), ΠM(6, 7) Min exp: f(a,b,c) = (a+b)(c )(a’+b’)

Corresponding Circuit a b a’a’ b’b’ c f(a,b,c,d) 14

Another min product of sums example Given R (a,b,c,d) = Σm (3, 11, 12, 13, 14) D (a,b,c,d)= Σm (4, 8, 10) ab cd K-map

Another min product of sums example 16 a d 1 X 0 X X ab cd Given R (a,b,c,d) = Σm (3, 11, 12, 13, 14) D (a,b,c,d)= Σm (4, 8, 10)

Prime Implicates: ΠM (3,11), ΠM (12,13), ΠM(10,11), ΠM (4,12), ΠM (8,10,12,14) PI Q: Which of the following is a non-essential prime implicate? A. ΠM(3,11) B. ΠM(12,13) C. ΠM(10,11) D. ΠM(8,10,12,14) 17 a d 1 X 0 X X ab cd

Prime Implicates: ΠM (3,11), ΠM (12,13), ΠM(10,11), ΠM (4,12), ΠM (8,10,12,14) PI Q: Which of the following is a non-essential prime implicate? A. ΠM (3,11) B. ΠM (12,13) C. ΠM(10,11) D. ΠM (8,10,12,14) Also ΠM (4,12) 18 a d 1 X 0 X X ab cd

Five variable K-map c d b e c d b e a Neighbors of m 5 are: minterms 1, 4, 7, 13, and 21 Neighbors of m 10 are: minterms 2, 8, 11, 14, and a=0 a=1 bc de

Reading a Five variable K-map c d b e c d b e a a=0a=1 bc de

Six variable K-map d e c f d e c d e c f d e c b a f f

Reading 22 [Harris] Chapter 3, 3.1