lec14 - CS 20 Lecture 14 Karnaugh Maps Professor CK Cheng...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 20 Lecture 14 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 1.Introduction 2.The Maps 3.Boolean Optimization Karnaugh Maps
Background image of page 2
3 Definitions: Literal: x i or x i Product Term: x 2 x 1 ’x 0 Sum Term: x 2 + x 1 ’ + x 0 Minterm of n variables: A product of n literals in which every variable appears exactly once. f(a,b,c,d): ab’cd’, a’bc’d’ Maxterm of n variables: A sum of n literals in which every variable appears exactly once. f(a,b,c,d): (a’+b+c+d), (a’+b’+c+d) Introduction
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Introduction Input: Boolean expression of n binary variables Goal: Simplification of the expression. E.g. we want to minimize # terms and # literals. Applications: Logic: rule reduction Hardware Design: cost and performance optimization. Cost (wires, gates): # literals, product terms, sum terms Performance: speed, reliability
Background image of page 4
5 Introduction ID A B f(A,B) minterm 0 0 0 0 1 0 1 1 A’B 2 1 0 1 AB’ 3 1 1 1 AB An example of 2-variable function f(A,B)=A+B
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Function can be represented by sum of minterms: f(A,B) = A’B+AB’+AB This is not minimal however! We want to minimize the number of literals and terms. We factor out common terms – A’B+AB’+AB= A’B+AB’+ AB+AB =(A’+ A )B+A(B’+ B )=B+A Hence, we have f(A,B) = A+B
Background image of page 6
7 K-Map: Truth Table in 2 Dimensions A = 0 A = 1 B = 0 B = 1 0 2 1 3 0 1 1 1 A’B AB’ AB f(A,B) = A + B
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/11/2011 for the course CSE 20 taught by Professor Foster during the Fall '08 term at UCSD.

Page1 / 28

lec14 - CS 20 Lecture 14 Karnaugh Maps Professor CK Cheng...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online