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.

Slides:



Advertisements
Similar presentations
Digital Circuits.
Advertisements

1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
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 2 Combinational Logic CK Cheng 4/04/02.
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
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.
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 14 Professor CK Cheng 11/14/02. Part II. Standard Modules A.Interconnect B.Operators. Adders Multiplier Adders1. Representation of numbers.
CS 140 Lecture 4 Combinational Logic: K-Map Professor CK Cheng CSE Dept. UC San Diego 1.
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
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.
Canonical Forms and Logic Miniminization
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego 1.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
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.
Lecture 4 Logic gates and truth tables Implementing logic functions
4.1 Conversion of English Sentences to Boolean Equations
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Combinational Design ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
©2004 Brooks/Cole FIGURES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the.
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Computer Science 101 Circuit Design - Examples. Sum of Products Algorithm Identify each row of the output that has a 1. Identify each row of the output.
CSE 140, Lecture 2 Combinational Logic
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
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.
Universal college of engineering & technology. .By Harsh Patel)
CEC 220 Digital Circuit Design
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.
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science.
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
CEC 220 Digital Circuit Design Minterms and Maxterms Monday, January 26 CEC 220 Digital Circuit Design Slide 1 of 11.
1 CS 352 Introduction to Logic Design Lecture 2 Ahmed Ezzat Boolean Algebra and Its Applications Ch-3 + Ch-4.
©2010 Cengage Learning SLIDES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use.
UNIT 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
Lecture 3: Incompletely Specified Functions and K Maps
Lecture 4 Logistics Last lecture --- Boolean algebra Today’s lecture
Boolean Expressions Lecture No. 10.
ECE Digital logic Lecture 10: Karnaugh MAps
CSE 140, Lecture 2 Combinational Logic
CSE 311 Foundations of Computing I
Week 3 Logic will get you from A to B. Imagination will take you everywhere. Albert Einstein.
Lecture 3: Incompletely Specified Functions and K Maps
Digital Circuits.
CSE140 HW2 Preparation Xinyuan Wang 04/20/2018.
ECE 331 – Digital System Design
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
CSE 370 – Winter Combinational Logic - 1
CSE 370 – Winter 2002 – Logic minimization - 1
January 19 W’05 Yutao He 4532B Boelter Hall CSM51A/EEM16-Sec.1 W’05
Digital Logic.
Number Systems and Circuits for Addition
Lecture 4 Minterm and Maxterm
CSE 140 Lecture 3 Combinational Logic: Implementation
XOR Function Logic Symbol  Description  Truth Table 
CSE 140 Lecture 4 Combinational Logic: K-Map
Digital Circuits.
Lecture 3: Incompletely Specified Functions and K Maps
ECE 331 – Digital System Design
Digital Circuits.
Presentation transcript:

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 Specified Function

Binary Addition Carry Sum Carryout Sums Carry bits

Half Adder a b carry sum Truth Table a b Sum Carry

Switching function Sum (a,b) = a’b + ab’ Ex: Sum (0,0) = 0’0 + 0*0’ = = 0 Sum (0,1) = 0’1 + 0*1’ = = 1 Sum (1,1) = 1’1 + 1*1’ = = 0 Carry (a, b) = a*b a b sum a b carry

Full Adder Id a b c in carry sum Truth Table a b Sum Carry C in

Minterm and maxterm Id a b c in carryout a+b+c a+b+c’ a+b’+c a’ b c a’+b+c a b’c a b c’ a b c minterm maxterm

f 1 (a,b,c) = a’bc + ab’c + abc’ + abc a’bc = 1 iff (a,b,c,) = (0,1,1) ab’c = 1 iff (a,b,c,) = (1,0,1) abc’ = 1 iff (a,b,c,) = (1,1,0) abc = 1 iff (a,b,c,) = (1,1,1) f 1 (a,b,c) = 1 iff (a,b,c) = (0,1,1) or (1,0,1) or (1,1,0) or (1,1,1) Minterms Ex: f 1 (1,0,1) = 1’ ’ ’ = 1 f 1 (1,0,0) = 1’ ’ ’ = 0

f 2 (a,b,c) = (a+b+c)(a+b+c’)(a+b’+c)(a’+b’+c) a + b + c = 0 iff (a,b,c,) = (0,0,0) a + b + c’ = 0 iff (a,b,c,) = (0,0,1) a + b’ + c = 0 iff (a,b,c,) = (0,1,0) a’ + b + c = 0 iff (a,b,c,) = (1,0,0) f 2 (a,b,c) = 0 iff (a,b,c) = (0,0,0) or (0,0,1) or (0,1,0) or (1,0,0) Maxterms Ex: f 2 (1,0,1) = (1+0+1)(1+0+1’)(1+0’+1)(1’+0+1) = 1 f 2 (0,1,0) = (0+1+0)(0+1+0’)(0+1’+0)(0’+1+0) = 0

f 1 (a,b,c) = a’bc + ab’c + abc’ + abc f 2 (a,b,c) = (a+b+c)(a+b+c’)(a+b’+c)(a’+b’+c) f 1 (a, b, c) = m3 + m5 + m6 + m7 =  m(3,5,6,7) f 2 (a, b, c) = M0M1M2M4 =  M(0, 1, 2, 4) Does f 1 = f 2 ? Yes! Prove using Boolean algebra.

Id a b c in carry minterm 4 = ab’c’ Minterm 4 = ab’c’ Only one row has a 1.

Id a b c in carry maxterm 4 = a+b+c Maxterm 4 = a’+b+c Only one row has a 0.

Incompletely Specified Function Id a b c g(a,b,c) g 1 (a,b,c) canonical form w/ minterms g 2 (a,b,c) canonical form w/ maxterms Does g 1 (a,b,c) = g 2 (a,b,c)? No! Because there is a group of Don’t Care set. (g 1 only covers the onset, g 2 only covers the offset).

Id a b f (a, b) )The input does not happen. 2)The input happens, but the output is ignored. Examples: -Decimal number 0… 9 uses 4 bits. (1,1,1,1) does not happen. -Final carry out bit (output is ignored). Don’t care set is important because it allows us to minimize the function