CS 140 Lecture 2 Combinational Logic CK Cheng 4/04/02.

Slides:



Advertisements
Similar presentations
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Advertisements

ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
ECE 331 – Digital System Design
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.
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.
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.
CK Cheng Tuesday 10/2/02 CS 140 Lecture 2. Part I. Combinational Logic I) Specification –a. Language –b. Truth Table –c. Boolean Algebra –d. Incompletely.
Give qualifications of instructors: DAP
CS 140 Lecture 4 Combinational Logic: K-Map Professor CK Cheng CSE Dept. UC San Diego 1.
Lecture 1: Introduction to Digital Logic Design CK Cheng Tuesday 4/1/02.
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.
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 151 Digital Systems Design Lecture 8 Minimization with Karnaugh Maps.
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.
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Boolean Algebra and Digital Circuits
K-map Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
CSE 140, Lecture 2 Combinational Logic
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.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Minimisation ENEL111. Minimisation Last Lecture  Sum of products  Boolean algebra This Lecture  Karnaugh maps  Some more examples of algebra and truth.
LOGIC GATES & BOOLEAN ALGEBRA
1 Minterm and Maxterm Expressions Definition: a minterm of n variables is a product of the variables in which each appears exactly once in true or complemented.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
BR 2/1/991 Truth Tables (again) Recall that a boolean equation can be represented by a Truth Table A B C F
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
 Seattle Pacific University EE Logic System DesignKMaps-1 Two-Level Simplification All Boolean expressions can be represented in two- level forms.
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science.
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)
Figure 5–5 Exclusive-OR logic diagram and symbols. Open file F05-05 to verify the operation. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Lecture 3: Incompletely Specified Functions and K Maps
Boolean Expressions Lecture No. 10.
Karnaugh Maps.
ECE Digital logic Lecture 10: Karnaugh MAps
Digital Logic and Design
Lecture 3: Incompletely Specified Functions and K Maps
Optimized Implementation of Logic Function
ECE 331 – Digital System Design
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
CSE 370 – Winter 2002 – Logic minimization - 1
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Lecture 6 Karnaugh maps (K-maps) K-maps with “don’t cares”
COE 202: Digital Logic Design Combinational Logic Part 3
CSE 140 Lecture 3 Combinational Logic: Implementation
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Professor CK Cheng CSE Dept. UC San Diego
CSE 140 Lecture 4 Combinational Logic: K-Map
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Lecture 3: Incompletely Specified Functions and K Maps
ECE 331 – Digital System Design
Presentation transcript:

CS 140 Lecture 2 Combinational Logic CK Cheng 4/04/02

I. Combinational Logic 1. Specification Keywords: Truth Table Minterm a * b * c Maxterm a + b + c Some Identities: x * 0 = 0x + 0 = x x * 1 = x x + 1 = 1

Example Id a b c a’bc a+b’+c

Incompletely Specified Function Id a b f (a, b) )The input does not happen. 2)The input happens, but the output is ignored. If it is not specified, it gives us flexibility to optimize the logic. Examples: -Decimal number 0… 9 uses 4 bits. (1,1,1,1) does not happen. -If addition overflows, we don’t care about the sum.

There are three sets On Set F =  m (1) Off Set R =  m(0,2) Don’t Care Set D =  m(3) Definitions: Literals x i or x i ’ Product Termx2x1’x0 Sum Termx2 + x1’ + x0 Minterm of n variables: A product of n variables which every variable appears exactly once. Maxterm of n variables Obj: minimize (1) number of terms, (2) number of literals.

II. Implementation Id a b f (a, b) Karnaugh map – 2D table a = 0 a = 1 b = 0 b = Determines row Determines column

Function can be represented by sum of minterms: f(a,b) = a’b + ab’ + ab We want to minimize the number of literals and terms however. We factor out common terms – ab’ + ab = a(b’+b) = a * 1 = a a + a = a ab + ab = ab f(a,b) = a + b

On the K-map however: a = 0 a = 1 b = 0 b = a’b ab’ ab

Two variable K-maps Id a b f (a, b) f (0, 0) f (0, 1) f (1, 0) f (1, 1) 2 variables means we have 2 2 entries and thus we have 2 to the 2 2 possible functions for 2 bits. f(a,b) abab

All possible 2 variable functions a b aaa bbbbbbbbbbbbbbb

K-maps and Corresponding functions f(a,b) = ab’ + ab = a f(a,b) = a’b + ab f(a,b) = a’b + a’b’ = a’ f(a,b) = b’a’ + b’a = b’ a b bbb

Three variables K-maps Id a b c f (a,b,c,d)

Corresponding K-map b = 1 c = 1 a = (0,0) (0,1) (1,0) (1,0) (a,b) c = 0 Gray code f(a,b,c) = a’b’c + a’bc’ + abc’ + abc + a’bc = a’bc + b = a’c + b

Another example in reverse direction Id a b c a’c f(a,b,c) = a’c

Corresponding K-map b c a a’c This rectangle correpsonds to the case where a is 0 and c is 1.