 Seattle Pacific University EE 1210 - Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF00000011010101111000101111011110abcF00000011010101111000101111011110.

Slides:



Advertisements
Similar presentations
SOP and POS Forms Notation.
Advertisements

Logical Systems Synthesis.
Boolean Algebra and Logic Gates 1 Computer Engineering (Logic Circuits) Lec. # 4 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering Faculty.
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.
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
CSCE 211: Digital Logic Design
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
2.7 NAND and NOR logic networks
AOI Logic Implementation
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Boolean Algebra and Logic Simplification
Chapter 2: Boolean Algebra and Logic Functions
CHAPTER 2 Boolean Algebra
Lecture 4 Logic gates and truth tables Implementing logic functions
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
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
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 Representation of Logic Circuits EE 208 – Logic Design Chapter 2 Sohaib Majzoub.
Department of Computer Engineering
1 Digital Logic Design Week 5 Simplifying logic expressions.
Chapter 3 Gate-Level Minimization
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
LOGIC GATES & BOOLEAN ALGEBRA
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.
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Module –I Switching Function
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Conversion from one number base to another Binary arithmetic Equation simplification DeMorgan’s Laws Conversion to/from SOP/POS Reading equations from.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
C.S. Choy21 BOOLEAN ALGEGRA The Mathematics of logic Boolean variables have only two possible values (binary) Operators:. Product+ SumComplement A.B A+B.
 Seattle Pacific University EE Logic System DesignKMaps-1 Two-Level Simplification All Boolean expressions can be represented in two- level forms.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
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.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
DeMorgan’s Theorem DeMorgan’s 2 nd Theorem The complement of a sum of variables is equal to the product of the complemented variables. A + B = A. B Applying.
CSE 260 BRAC University.
1 CS 352 Introduction to Logic Design Lecture 2 Ahmed Ezzat Boolean Algebra and Its Applications Ch-3 + Ch-4.
De Morgan’s Theorem,.
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
Boolean Algebra.
Princess Sumaya University
ECE 331 – Digital System Design
Boolean Algebra.
Boolean Algebra.
BASIC & COMBINATIONAL LOGIC CIRCUIT
CSE 370 – Winter Combinational Logic - 1
Boolean Algebra.
Chapter 2 Introduction to Logic Circuits
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Analysis of Logic Circuits Example 1
Presentation transcript:

 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF Function F is true if any of these and-terms are true! Condition that a is 0, b is 0, c is 1. OR Sum-of-Products form

 Seattle Pacific University EE Logic System DesignSOP-POS-2 Minterm Shorthand = m 0 = m 1 = m 2 = m 3 = m 4 = m 5 = m 6 = m 7 Note: Binary ordering A minterm has one literal for each input variable, either in its normal or complemented form. A canonical sum-of-products form of an expression consists only of minterms OR’d together abcF abcF

 Seattle Pacific University EE Logic System DesignSOP-POS-3 Minterms of Different Sizes Two variables: abminterm 00a’b’ = m 0 01a’b = m 1 10a b’ = m 2 11a b = m 3 Three variables: abcminterm 000a’b’c’ = m 0 001a’b’c = m 1 010a’b c’ = m 2 011a’b c = m 3 100a b’c’ = m 4 101a b’c = m 5 110a b c’ = m 6 111a b c = m 7 Four variables: abcdminterm 0000a’b’c’d’ = m a’b’c’d= m a’b’c d’ = m a’b’c d= m a’b c’d’= m a’b c’d= m a’b c d’= m a’b c d= m a b’c’d’ = m a b’c’d= m a b’c d’ = m a b’c d= m a b c’d’ = m a b c’d= m a b c d’ = m a b c d= m 15

 Seattle Pacific University EE Logic System DesignSOP-POS-4 Sum-of-Products Minimization F in canonical sum-of-products form (minterm form): Use algebraic manipulation to make a simpler sum-of-products form Use commutativity to reorder to group similar terms Use distributivity to factor out common terms Use x’+x = 1 identity Duplicate term - OK We will find a better method (K-maps) later…

 Seattle Pacific University EE Logic System DesignSOP-POS-5 Product-of-Sums from a Truth Table A B C F F Use DeMorgan’s Law to re-express as product-of sums Find an expression for F’ (the complement) Complement both sides…

 Seattle Pacific University EE Logic System DesignSOP-POS-6 Maxterms A B C F F To find a Product-of-Sums form for a truth table Make one maxterm for each row in which the function is zero For each maxterm, each variable appears once In its complemented form if it is one in the row In its regular form if it is zero in the row Maxterms

 Seattle Pacific University EE Logic System DesignSOP-POS-7 Maxterm Shorthand Product of Sums F in canonical maxterm form: A B C Maxterms A + B + C = M 7 A + B + C = M 6 A + B + C = M 5 A + B + C = M 4 A + B + C = M 3 A + B + C = M 2 A + B + C = M 1 A + B + C = M

 Seattle Pacific University EE Logic System DesignSOP-POS-8 Boolean operations and gates Theorem: Any operation than can be represented by a truth table can be represented in Boolean algebra All truth tables can be made out of only and, or, and not functions

 Seattle Pacific University EE Logic System DesignSOP-POS-9 NAND/NOR expressions Any expression can be made of and ANDs, ORs and NOTs Thus, we can make any expression out of NANDs, NORs, and NOTs So, we can make any expression out of just NANDs and NORs X X note: NANDs and NORs are easy to build with switches We can make ANDs and ORs from NANDs and NORs and NOTs We can make NOTs out of a single NAND gate

 Seattle Pacific University EE Logic System DesignSOP-POS-10 NAND-only circuits Using DeMorgan’s Law NORs can be made with NANDs! We can make any Boolean expression out of only NAND Gates NANDs can be made out of NORs! We can make any Boolean expression out of only NOR Gates

 Seattle Pacific University EE Logic System DesignSOP-POS-11 Sum-of-Products Circuits with NANDs Introduce Double Inverters Sum-of-Products works well with NANDs DeMorgan’s Law

 Seattle Pacific University EE Logic System DesignSOP-POS-12 Product-of-Sums Circuits with NORs Introduce Double Inverters Product-of-Sums works well with NORs DeMorgan’s Law

 Seattle Pacific University EE Logic System DesignSOP-POS-13 Converting General Circuits to NANDs A B D C B A C D B D Introduce Double Inverters to make NANDs: Add inverters as needed to maintain correct polarity Represent inverters with NANDs        

 Seattle Pacific University EE Logic System DesignSOP-POS-14 Seven-Segment Example A seven-segment display is used to display numbers a b c d e f g a b c d e f b ca b d e ga b c d gb c f ga c d f ga c d e f ga b ca b c d e f ga b c d f g

 Seattle Pacific University EE Logic System DesignSOP-POS-15 Seven Segment Truth Table Inputs: Four binary inputs, interpreted as a four-bit binary number Outputs: Seven outputs, for each of the seven segments numberABCDabcdefg xxxxxxx xxxxxxx xxxxxxx xxxxxxx xxxxxxx xxxxxxx Invalid inputs, assume zero segment a = A’B’C’D’ + A’B’CD’ + A’B’CD + A’BC’D + A’BCD’ + A’BCD + AB’C’D’ + AB’C’D (canonical SOP) segment a = A’C + A’BD + AB’C’ + B’C’D’ (minimal SOP) segment a = (A+B+C+D’) (A+B’+C+D) (canonical and minimal POS)

 Seattle Pacific University EE Logic System DesignSOP-POS-16 Circuits for Segment a segment a = A’C + A’BD + AB’C’ + B’C’D’ (minimal SOP) segment a = (A+B+C+D’) (A+B’+C+D) (canonical and minimal POS) ABCD a A B CD A B C D a