MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Boolean Function Boolean function is an expression form containing binary variable, two-operator binary which.

Slides:



Advertisements
Similar presentations
Introduction to Logic Gates
Advertisements

Logical Systems Synthesis.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Combinational Circuit – Arithmetic Circuit Parallel Adder Example: 4-bit adder.
Morgan Kaufmann Publishers
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.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Negative Number (Sign & Magnitude) Negative number always written with sign at the front: –Example: -(20)
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Combinational Circuit – MSI Circuit ENCODER With the aid of K-map (don’t care situation), we can get D 0 =
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Simplification of SOP Expression Prime Implicant (PI) is a product which is obtained from the number of maximum.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
Standart Forms of Expression
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.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.
CS1104: Computer Organisation Lecture 3: Boolean Algebra
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
AOI Logic Implementation © 2014 Project Lead The Way, Inc.Digital Electronics.
AOI Logic Implementation
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
CS1104: Computer Organisation School of Computing National University of Singapore.
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.
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
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
1 Representation of Logic Circuits EE 208 – Logic Design Chapter 2 Sohaib Majzoub.
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 2 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Chapter 2: Boolean Algebra and Logic Gates. F 1 = XY’ + X’Z XYZX’Y’XY’X’ZF1F
Overview Part 1 – Gate Circuits and Boolean Equations
AOI Logic Implementation
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
CE1110 :Digital Logic Design lecture 02 Digital Logic Gates Dr. Atef Ali Ibrahim 1.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
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.
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
ece Parity Used to check for errors Can be either ODD or EVEN Left most bit used as the indicator For EVEN, insert a 0 or a 1 so as to make the.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
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.
Module –I Switching Function
Fundamentals of digital electronics Prepared by - Anuradha Tandon Assistant Professor, Instrumentation & Control Engineering Branch, IT, NU.
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.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
Review. Boolean Algebra.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
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.
Boolean or, Switching Algebra. Switching Algebra The two-valued Boolean algebra is also called “Switching algebra” by engineers and computer scientists.
CSE 260 BRAC University.
Canonical Forms BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Boolean Algebra and Logic Gates COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
De Morgan’s Theorem,.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
Complement of a Function
Princess Sumaya University
Boolean Algebra.
January 19 W’05 Yutao He 4532B Boelter Hall CSM51A/EEM16-Sec.1 W’05
Digital Systems Design
Presentation transcript:

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Boolean Function Boolean function is an expression form containing binary variable, two-operator binary which is OR and AND, and operator NOT, sign ‘ and sign = Answer is also in binary We always use sign ‘.’ for AND operator, ‘+’ for OR operator, ‘’’ or ‘  ’ for NOT operator. Sometimes we discard ‘.’ sign if there is no contradiction

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 2 Boolean Function Example: From TT we see that F3=F4 Can you prove it using Boolean Algebra?

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 3 Complement Function Given function F, complement function for this function is F’, it is obtained by exchanging 1 with 0 on the output function F. Example: F1=xyz’ Complement F1’ = (xyz’)’ = x’+y’+(z’)’ (DeMorgan) = x’+y’+z (Involution)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 4 Complement Function Generally, complement function can be obtained using repeatedly DeMorgan Theorem (A+B+C+…..+Z)’=A’.B’.C’.….Z’ (A.B.C.…..Z)’=A’+B’+C’+.….+Z’

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 5 Standard Form There are two standard form: Sum-of-Product (SOP) and Product-of- Sum (POS) Literals: Normal variable or in complement form. Example: x, x’, y, y’ **Product: single literal or several literals with logical product (AND) Example: x, xyz’, A’B, AB

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 6 Standard Form **Sum: single literal or several literals with logical sum (OR) Example: x, x+y+z’, A’+B, A+B Sum-of-Product (SOP) expression: single product or several products with logical sum (OR) Example: x, x+yz’,xy’+x’yz, AB+A’B’ Product-of- Sum (POS) expression:single sum or several sum with logical product (AND) Example: x, x.(y+z’),(x+y’)(x’+y+z), (A+B)(A’+B’)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 7 Standard Form Every Boolean expression can be written either inSum-of-Product (SOP) expression or Product-of- Sum (POS)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 8 Minterm & Maxterm Consider two binary variable x,y Every variable can exist as normal literal or in complement form (e.g. x,x’,&y,y’) For two variables, there are four possible combinations with operator AND such as: x’y’,x’y,xy’,xy This product is called minterm Minterm for n variables is the number of “product of n literal from the different variables”

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 9 Minterm & Maxterm Generally, n variable will produce 2 n minterm With similar approach, maxterm for n variables is “sum of n literal from the different variables” Example: x’+y’, x’+y, x+y’, x+y Generally, n variable will produce 2 n maxterm

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 10 Minterm & Maxterm Minterm and maxterm for 2 variables each is signed with m0 to m3 and M0 to M1. Every minterm is the complement of suitable maxterm Example: m2=xy’ m2’=(xy’)’=x’+(y’)’=x’+y’=M2

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 11 Canonical Form What is canonical/normal form? –It is unique form to represent something Minterm is “product term’ –Can state Boolean Function in Sum-of-Minterm

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 12 Canonical Form: Sum of Minterm (SOM) Produce TT: Example

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 13 Canonical Form: Sum of Minterm (SOM) Produce Sum-of-Minterm by collecting minterm for the function (where the answer is 1)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 14 Canonical Form: Product of Minterm (POM) Maxterm is “sum term” For Boolean function, maxterm for function is term with answer 0 Can state Boolean function in Product-of- Maxterm form

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 15 Canonical Form: Product of Minterm (POM) Example:

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 16 Canonical Form: Product of Minterm (POM) Why? Take F2 as example Complement function for F2 is

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 17 Canonical Form: Product of Minterm (POM) From the previous slide F2’=m0+m1+m2 Therefore: Each Boolean function can be written in Sum-of- Product and Product-of-Sum expression

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 18 Canonical Form: Conversion SOP  POS Sum-of-Minterm => Product-of-Maxterm –Change  m to  M –Insert minterm which is not in SOM –E.g. F1(A,B,C)=  m(3,4,5,6,7)=  M(0,1,2) Product-of-Maxterm => Sum-of-Minterm –Change  M to  m –Insert maxterm which is not in POM –E.g. F2(A,B,C)=  M(0,3,5,6)=  m(1,2,4,7)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 19 Canonical Form: Conversion SOP  POS Sum-of-Minterm for F => Sum-of-Minterm for F’ –Minterm list which is not in SOM of F E.g. Product-of-Maxterm for F => Product-of- Maxterm for F’ –Maxterm list which is not in POM of F E.g.

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 20 Canonical Form: Conversion SOP  POS Sum-of-Minterm for F => Product-of-Maxterm for F’ –Change  m to  M –E.g. F1(A,B,C)=  m(3,4,5,6,7) F1’(A,B,C)=  M(3,4,5,6,7) Product-of-Maxterm for F=> Sum-of-Minterm for F’ –Change  M to  m –E.g. F2(A,B,C)=  M(0,1,2) F2’(A,B,C)=  m(0,1,2)

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 21 Binary Function If n variable, therefore the are 2 n possible minterm Each function can be expressed by Sum-of- Minterm, therefore there are 2 2 different function In two variable case, there is 2 2 =4 possible minterm, and there is 2 4 =16 different binary function The 16 binary function is presented in the next slide n

MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 22 Binary Function