Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Three Special Functions
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
Morgan Kaufmann Publishers
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
Basic Digital Design Discussion D5.4 Section 13.6.
EE365 Boolean algebra Combinational-circuit analysis.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Boolean Function Boolean function is an expression form containing binary variable, two-operator binary which.
Multi-Valued Input Two-Valued Output Functions. Multi-Valued Input Slide 2 Example Automobile features 0123 X1X1 TransManAuto X2Doors234 X3ColourSilverRedBlackBlue.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
Basic Digital Design Discussion D5.4 Appendix F. Basic Digital Design Sum-of-Products Design Product-of-Sums Design.
COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.
 Analysis and Synthesis:  Analysis start with a logic diagram and proceed to a formal description of the function performed by that circuit, such as.
ENEE244-02xx Digital Logic Design Lecture 7. Announcements Homework 3 due on Thursday. Review session will be held by Shang during class on Thursday.
ENEE244-02xx Digital Logic Design Lecture 10. Announcements HW4 assigned, due 10/9.
Modified from John Wakerly Lecture #2 and #3 CMOS gates at the transistor level Boolean algebra Combinational-circuit analysis.
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
2.7 NAND and NOR logic networks
Chapter 2: Boolean Algebra and Logic Functions
Chapter 10.1 and 10.2: Boolean Algebra Based on Slides from Discrete Mathematical Structures: Theory and Applications.
BOOLEAN FUNCTION PROPERTIES
Lecture 4 Logic gates and truth tables Implementing logic functions
IKI a-Boolean Algebra Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes at UIUC,
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.
ECE 331 – Digital System Design
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
1 ENGR 254 Lecture DeMorgan Symbol Equivalence.
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 6 – Canonical Forms.
Discrete Mathematics CS 2610 September Equal Boolean Functions Two Boolean functions F and G of degree n are equal iff for all (x 1,..x n )  B.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
ECE2030 Introduction to Computer Engineering Lecture 6: Canonical (Standard) Forms Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
1/16/ CSEE, UQ Lecture 3 Hardware Description Methods, Review of Switching Algebra.
Lecture 18: Boolean Algebra Boolean Functions. w = Chris is allowed to watch television x = Chris's homework is finished y = it is a school night z =
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
1 Digital Design Debdeep Mukhopadhyay Associate Professor Dept of Computer Science and Engineering NYU Shanghai and IIT Kharagpur.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Figure 2.1. A binary switch. x1=x0= (a) Two states of a switch S x (b) Symbol for a switch.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
CHAPTER 2 Boolean algebra and Logic gates
Table 2.1 Postulates and Theorems of Boolean Algebra
Chapter 2: Boolean Algebra and Logic Functions
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
ECE 331 – Digital System Design
Boolean Algebra.
Discrete Mathematics CS 2610
Representing Boolean functions
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 2 Introduction to Logic Circuits
Table 2.1 Postulates and Theorems of Boolean Algebra
Analysis of Logic Circuits Example 1
Representing Boolean Functions
Chapter 10.1 and 10.2: Boolean Algebra
Boolean Algebra.
Presentation transcript:

Logic Functions and their Representation

Slide 2 Combinational Networks x1x1 x2x2 xnxn f

Logic Functions and their Representation Slide 3 Logic Operations Truth tables xy AND x  y OR x  y NOT  x NAND  x  y NOR  x   y EXOR x  y

Logic Functions and their Representation Slide 4 SOP and POS Definition: A variable x i has two literals x i and  x i. A logical product where each variable is represented by at most one literal is a product or a product term or a term. A term can be a single literal. The number of literals in a product term is the degree. A logical sum of product terms forms a sum-of-products expression (SOP). A logical sum where each variable is represented by at most one literal is a sum term. A sum term can be a single literal. A logical product of sum terms forms a product-of-sums expression (POS).

Logic Functions and their Representation Slide 5 Minterm A minterm is a logical product of n literals where each variable occurs as exactly one literal A canonical SOP is a logical sum of minterms, where all minterms are different. Also called canonical disjunctive form or minterm expansion

Logic Functions and their Representation Slide 6 Maxterm A maxterm is a logical sum of n literals where each variable occurs as exactly one literal A canonical Pos is a logical product of maxterms, where all maxterms are different. Also called canonical conjunctive form or maxterm expansion Show an example

Logic Functions and their Representation Slide 7 Shannon Expansion Theorem: An arbitrary logic function f(x 1,x 2,…,x n ) is expanded as follows: f(x 1,x 2,…,x n ) =  x 1 f(0,x 2,…,x n )  x 1 f(1,x 2,…,x n ) (Proof) When x 1 = 0, = 1  f(0,x 2,…,x n )  0  f(1,x 2,…,x n ) = f(0,x 2,…,x n ) When x 1 = 1, similar

Logic Functions and their Representation Slide 8 Expansions into Minterms Example: Expand f(x 1,x 2,x 3 ) = x 1 (x 2   x 3 ) Example: minterm expansion of an arbitrary function Relation to the truth table Maxterm expansion (duality)

Logic Functions and their Representation Slide 9 Reed-Muller Expansions EXOR properties (x  y)  z = x  (y  z) x(y  z) = xy  xz x  y = y  x x  x = 0 x  1 =  x

Logic Functions and their Representation Slide 10 Reed-Muller Expansions Lemma xy = 0  x  y = x  y (Proof) (  ) Let xy = 0 x  y =  xy  x  y = (  xy  xy)  (x  y  xy) = x  y (  ) Let xy ≠ 0 x = y = 1. Thus x  y = 0, x  y = 1 Therefore, x  y ≠ x  y

Logic Functions and their Representation Slide 11 An arbitrary 2-varibale function is represented by a canonical SOP f(x 1,x 2 ) = f(0,0)  x 1  x 2  f(0,1)  x 1 x 2  f(1,0)x 1  x 2  f(1,1) x 1 x 2 Since the product terms have no common minterms, the  can be replaced with  f(x 1,x 2 ) = f(0,0)  x 1  x 2  f(0,1)  x 1 x 2  f(1,0)x 1  x 2  f(1,1) x 1 x 2 Next, replace  x 1 = x 1  1, and  x 2 = x 2  1 Show results!

Logic Functions and their Representation Slide 12 PPRM An arbitrary n-variable function is uniquely represented as f(x 1,x 2,…,x n ) = a 0  a 1 x 1  a 2 x 2  …  a n x n  a 12 x 1 x 2  a 13 x 1 x 3  …  a n-1,n x n-1 x n  …  a 12…n x 1 x 2 …x n