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,

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Logical Systems Synthesis.
Chapter 2 Logic Circuits.
Module 8.  In Module 3, we have learned about Exclusive OR (XOR) gate.  Boolean Expression AB’ + A’B = Y also A  B = Y  Logic Gate  Truth table ABY.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
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.
Boolean Algebra and Logic Gates
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.
28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites.
Chapter 2: Boolean Algebra and Logic Functions
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
9/15/09 - L6 Standard FormsCopyright Joanne DeGroat, ECE, OSU1 Standard Forms.
IKI a-Boolean Algebra Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes at UIUC,
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.
 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.
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 2 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Chapter 2: Boolean Algebra and Logic Gates. F 1 = XY’ + X’Z XYZX’Y’XY’X’ZF1F
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
LOGIC GATES & BOOLEAN ALGEBRA
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
Boolean Algebra and Logic Gates
Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 |
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 6 – Canonical Forms.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 2 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
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.
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
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Chapter 2: Basic Definitions BB inary Operators ●A●AND z = x y = x yz=1 if x=1 AND y=1 ●O●OR z = x + yz=1 if x=1 OR y=1 ●N●NOT z = x = x’ z=1 if x=0.
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.
Review. Boolean Algebra.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
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.
CSE 260 BRAC University.
Basic Laws, theorems, and postulates of Boolean Algebra
CHAPTER 2 Boolean algebra and Logic gates
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
Complement of a Function
Princess Sumaya University
ECE 331 – Digital System Design
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Boolean Algebra Why study Boolean Algebra?
CSE 311 Foundations of Computing I
17-Nov-18 Logic Algebra 1 Combinational logic.
Boolean Algebra.
COE 202: Digital Logic Design Combinational Logic Part 2
Boolean Algebra.
Lecture 14: Boolean Algebra
Chapter 2 Boolean Algebra and Logic Gate
CSE 370 – Winter Combinational Logic - 1
2. Boolean Algebra and Logic Gates
Chapter 2 Introduction to Logic Circuits
Presentation transcript:

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, can either appear in its: normal form (x) or complement form (x’)  If there are two binary variables (e.g. x and y) beings the inputs to a binary operator (e.g. AND), then there are basically 2 2 number of possible combinations (e.g. xy, x’y, xy’, x’y’),  Thus, 2 n possible combinations where n is the total number of input variable.

 A Boolean Algebraic expression can appear in any of the following forms: standard form canonical form Sum of Product (SOP) Product of Sum (POS) Sum of Minterms Product of Maxterms

 The major difference between standard and canonical form of Boolean Algebra expression is in terms of the input binary variables between terms. CriteriaStandard FormCanonical Form input binary variables between terms Not necessarily consistent Must be consistent ExampleF(a, b, c) = a + b’cF(a, b, c) = a’b’c + ab’c + ab’c’ + a’b’c

 Sum of Product (SOP) is a Boolean expression containing AND terms ( also known as ‘product term’) whereby the AND terms may contain one or more input binary variables and are combined by OR operations  Example: F(x, y, z) = xy’ + y’z’ + xyz contain AND terms with one or more input binary variables AND terms are combined through OR operations

 Product of Sum (POS) is a Boolean expression containing OR terms ( also known as ‘sum term’) whereby the OR terms may contain one or or more input binary variables and are combined by AND operations  Example: F(x, y, z) = (x+y’ ). (y’+z’ ). (x+y+z) contain OR terms with one or more input binary variables AND terms are combined through AND operations

 Sum of Minterms is a Boolean expression containing AND terms ( also known as ‘minterms’) whereby the minterms must contain similar input binary variables and are combined by OR operations  Example: F(x, y, z) = xy’z’+ xy’z+ xyz contain minterms with similar input binary variables minterms are combined through OR operations

 Each input binary variable in a minterm can be associated with a binary value, whereby: normal form = 1 (e.g. x = 1) complement form = 0 (e.g. x’ = 0)  E.g. If given F1: the equivalence  Thus, output is only associated with binary 1 xyzmintermdesignationF1 000x’y’z’m00 001x’y’zm10 010x’yz’m20 011x’yzm30 100xy’z’m41 101xy’zm51 110xyz’m60 111xyzm71 F1 = xy’z’+ xy’z+ xyz F1 = m4 + m5 + m7 = ∑ (m4, m5, m7)

 Given the following truth table: Derive the Sum of Minterms Boolean expression for Y. Draw the circuit diagram. ABY

 Answer = ABY Y= A’B + AB’ + AB

 Product of Maxterms is a Boolean expression containing OR terms ( also known as maxterms) whereby the maxterms must contain similar input binary variables and are combined by AND operations  Example: contain maxterms with similar input binary variables maxterms are combined through AND operations F2 = (x+y+z’) (x+y’+z’) (x’+y’+z)

 Each input binary variable in a maxterm can be associated with a binary value, whereby: normal form = 0 (e.g. x = 0) complement form = 1 (e.g. x’ = 1)  If given F2: the equivalence  Thus, output is only associated with binary 0 xyzmaxtermdesignationF2 000x+y+zM01 001x+y+z’M10 010x+y’+zM21 011x+y’+z’M30 100x’+y+zM41 101x’+y+z’M51 110x’+y’+zM60 111x’+y’+z’M71 F2 = (x+y+z’) (x+y’+z’) (x’+y’+z) F2 = M1. M3. M6 = ∏(M1, M3, M6)

 Given the following truth table: Derive the Product of Maxterms Boolean expression for Y. Draw the circuit diagram. CBAY

 Answer = Y= (C’+B+A) (C’ + B’ + A’) CBAY

 An Algebraic Boolean expression in Sum of Minterms can be converted into its Product of Maxterms (and vice versa) Sum of Minterms Product of Maxterms This can be proven through Theorems of Boolean Algebra!

 Given the following truth table: Derive the Sum of Minterms Boolean expression for Y. Derive the Product of Maxterms Boolean expression for Y. Prove that both expressions are equal. xyZY

 Answer: xyzYmM 0000m0M0 0010m1M1 0100m2M2 0111m3M3 1000m4M4 1011m5M5 1101m6M6 1111m7M7 Sum of Minterms Y1 = m3 + m5 + m6 + m7 = x’yz + xy’z + xyz’ + xyz Product of Maxterms Y2 = M0.M1.M2.M4 = (x+y+z)(x+y+z’) (x+y’+z) (x’+y+z)

 Answer: xyzYmM 0000m0M0 0010m1M1 0100m2M2 0111m3M3 1000m4M4 1011m5M5 1101m6M6 1111m7M7 Proving: Sum of Minterms = Product of Maxterms Y1’= m0+m1+m2+m4 Y1 = (Y1’)’= (m0+m1+m2+m4)’ Y1=M0.M1.M2.M4 = Y2 Y1’ = m0+m1+m2 +m4 = x’y’z’+x’y’z+x’yz’+xy’z’ Y1=(Y1’)’= (x’y’z’+x’y’z+x’yz’+xy’z’ )’via Involution Y1=(x’y’z’)’. (x’y’z)’. (x’yz’)’. (xy’z’)’ via DeMorgan’s Y1=(x’’+y’’+z’’).(x’’+y’’+z’).(x’’+y’+z’’).(x’+y’’+z’’)via DeMorgan’s Y1=(x+y+z).(x+y+z’).(x+y’+z).(x’+y+z)=Y2 via Involution

 We can convert standard form of Boolean Algebraic expression into canonical form (and vice versa).  For example: Convert Sum of Product into sum of minterms (and vice versa) Convert Product of Sum into product of maxterms (and vive versa)  Conversion is carried out by manipulating the basic postulates, properties and theorems of Boolean Algebra taught in Module 4.

 Convert the following Boolean Function to its canonical Sum of Minterms form. F(a, b, c) = a + b’c a + b’c = a(1) + b’c via Identity Element = a(b + b’) + (b’c) via Complement = ab + ab’ + b’cvia Distributive =(ab + ab’)(1) + (b’c)(1)via Identity Element =(ab + ab’)(c+c’) + b’c(a + a’) via Complement =abc + abc’ + ab’c + ab’c’ + ab’c + a’b’c via Distributive =abc + abc’ + ab’c + ab’c’ + a’b’cvia Idempotency

 Convert the following Boolean Function to its canonical Product of Maxterms form. F(x, y, z) = xy +x’z (1 st step – get the Sum of Minterms) F (x, y, z)= xy + x’z = xy(1) + x’z(1) via Identity Element = xy(z+z’) + x’z(y+y’) via Complement = xyz + xyz’+ x’yz +x’y’zvia Distributive = m7 + m6 + m3+ m1Sum of Minterms

 Convert the following Boolean Function to its canonical Product of Maxterms form. F(x, y, z) = xy +x’z (2 nd step – convert Sum of Minterms into Product of Maxterms) F(x,y,z)= m7+m6+m3+m1 Sum of Minterms Thus F (x, y, z)’= m5+m4+m2+m0= xy’z + xy’z’+x’yz’+x’y’z’ F(x,y,z)={F (x, y, z)’}’ =(xy’z + xy’z’+x’yz’+x’y’z’)’ via Involution =(xy’z)’. (xy’z’)’.(x’yz’)’+(x’y’z’)’ via DeMorgan’s =(x’+y’’+z’).(x’+y’’+z’’).(x’’+y’+z’’).(x’’+y’’+z’’)via DeMorgan’s =(x’+y+z’).(x’+y+z).(x+y’+z).(x+y+z)via Involution = M5 + M4+M2+M0 Product of Maxterms

End of Module 5