SlideShare a Scribd company logo
DIGITAL SYSTEM
DESIGN
KUNTALA DAS
Boolean Algebra Properties
7/20/2020@kuntaladas
Let X: boolean variable, 0,1: constants
1. X + 0 = X -- Zero Axiom
2. X • 1 = X -- Unit Axiom
3. X + 1 = 1 -- Unit Property
4. X • 0 = 0 -- Zero Property
PJF - 2
Boolean Algebra Properties (cont.)
7/20/2020@kuntaladas
Let X: boolean variable, 0,1: constants
5. X + X = X -- Idepotence
6. X • X = X -- Idepotence
7. X + X’ = 1 -- Complement
8. X • X’ = 0 -- Complement
9. (X’)’ = X -- Involution
PJF - 3
Boolean Algebra Properties
7/20/2020@kuntaladas
Let X: boolean variable, 0,1: constants
1. X + 0 = X -- Zero Axiom
2. X • 1 = X -- Unit Axiom
3. X + 1 = 1 -- Unit Property
4. X • 0 = 0 -- Zero Property
PJF - 4
Duality
7/20/2020@kuntaladas
 The dual of an expression is obtained by
exchanging (• and +), and (1 and 0) in it,
provided that the precedence of operations is not
changed.
 Cannot exchange x with x’
 Example:
 Find H(x,y,z), the dual of F(x,y,z) = x’yz’ + x’y’z
 H = (x’+y+z’) (x’+y’+ z)
PJF - 5
Duality (cont’d)
7/20/2020@kuntaladas
With respect to duality, Identities 1 – 8
have the following relationship:
1. X + 0 = X 2. X • 1 = X (dual of 1)
3. X + 1 = 1 4. X • 0 = 0 (dual of 3)
5. X + X = X 6. X • X = X (dual of 5)
7. X + X’ = 1 8. X • X’ = 0 (dual of 8)
PJF - 6
More Boolean Algebra
Properties
7/20/2020@kuntaladas
Let X,Y, and Z: boolean variables
10. X + Y = Y + X 11. X • Y = Y • X -- Commutative
12. X + (Y+Z) = (X+Y) + Z 13. X•(Y•Z) = (X•Y)•Z -- Associative
14. X•(Y+Z) = X•Y + X•Z 15. X+(Y•Z) = (X+Y) • (X+Z)
-- Distributive
16. (X + Y)’ = X’ • Y’ 17. (X • Y)’ = X’ + Y’ -- DeMorgan’s
In general,
( X1 + X2 + … + Xn )’ = X1’•X2’ • … •Xn’, and
( X1•X2•… •Xn )’ = X1’ + X2’ + … + Xn’
PJF - 7
Absorption Property
7/20/2020@kuntaladas
1. x + x•y = x
2. x•(x+y) = x (dual)
 Proof:
x + x•y = x•1 + x•y
= x•(1+y)
= x•1
= x
QED (2 true by duality, why?)
PJF - 8
Power of Duality
7/20/2020@kuntaladas
1. x + x•y = x is true, so (x + x•y)’=x’
2. (x + x•y)’=x’•(x’+y’)
3. x’•(x’+y’) =x’
4. Let X=x’, Y=y’
5. X•(X+Y) =X, which is the dual of x + x•y = x.
6. The above process can be applied to any
formula. So if a formula is valid, then its dual
must also be valid.
7. Proving one formula also proves its dual.
PJF - 9
Consensus Theorem
7/20/2020@kuntaladas
1. xy + x’z + yz = xy + x’z
2. (x+y)•(x’+z)•(y+z) = (x+y)•(x’+z) -- (dual)
 Proof:
xy + x’z + yz = xy + x’z + (x+x’)yz
= xy + x’z + xyz + x’yz
= (xy + xyz) + (x’z + x’zy)
= xy + x’z
QED (2 true by duality).
PJF - 10
Truth Tables (revisited)
7/20/2020@kuntaladas
 Enumerates all possible
combinations of variable values
and the corresponding function
value
 Truth tables for some arbitrary
functions
F1(x,y,z), F2(x,y,z), and F3(x,y,z)
are shown to the right.
x y z F1 F2 F3
0 0 0 0 1 1
0 0 1 0 0 1
0 1 0 0 0 1
0 1 1 0 1 1
1 0 0 0 1 0
1 0 1 0 1 0
1 1 0 0 0 0
1 1 1 1 0 1
PJF - 11
Truth Tables (cont.)
7/20/2020@kuntaladas
 Truth table: a unique representation of a
Boolean function
 If two functions have identical truth tables, the
functions are equivalent (and vice-versa).
 Truth tables can be used to prove equality
theorems.
 However, the size of a truth table grows
exponentially with the number of variables
involved, hence unwieldy. This motivates the
use of Boolean Algebra.
PJF - 12
Boolean expressions-NOT
unique
7/20/2020@kuntaladas
 Unlike truth tables, expressions
representing a Boolean function are
NOT unique.
 Example:
 F(x,y,z) = x’•y’•z’ + x’•y•z’ + x•y•z’
 G(x,y,z) = x’•y’•z’ + y•z’
 The corresponding truth tables for F()
and G() are to the right. They are
identical.
 Thus, F() = G()
x y z F G
0 0 0 1 1
0 0 1 0 0
0 1 0 1 1
0 1 1 0 0
1 0 0 0 0
1 0 1 0 0
1 1 0 1 1
1 1 1 0 0
PJF - 13
Algebraic Manipulation
7/20/2020@kuntaladas
 Boolean algebra is a useful tool for simplifying
digital circuits.
 Why do it? Simpler can mean cheaper,
smaller, faster.
 Example: Simplify F = x’yz + x’yz’ + xz.
F = x’yz + x’yz’ + xz
= x’y(z+z’) + xz
= x’y•1 + xz
= x’y + xz
PJF - 14
Algebraic Manipulation (cont.)
7/20/2020@kuntaladas
 Example: Prove
x’y’z’ + x’yz’ + xyz’ = x’z’ + yz’
 Proof:
x’y’z’+ x’yz’+ xyz’
= x’y’z’ + x’yz’ + x’yz’ + xyz’
= x’z’(y’+y) + yz’(x’+x)
= x’z’•1 + yz’•1
= x’z’ + yz’
QED.
PJF - 15
Complement of a Function
7/20/2020@kuntaladas
 The complement of a function is derived by
interchanging (• and +), and (1 and 0), and
complementing each variable.
 Otherwise, interchange 1s to 0s in the truth
table column showing F.
 The complement of a function IS NOT THE
SAME as the dual of a function.
PJF - 16
Complementation: Example
7/20/2020@kuntaladas
 Find G(x,y,z), the complement of
F(x,y,z) = xy’z’ + x’yz
 G = F’ = (xy’z’ + x’yz)’
= (xy’z’)’ • (x’yz)’ DeMorgan
= (x’+y+z) • (x+y’+z’) DeMorgan again
 Note: The complement of a function can also be
derived by finding the function’s dual, and then
complementing all of the literals
PJF - 17
Canonical and Standard Forms
7/20/2020@kuntaladas
 We need to consider formal techniques for the
simplification of Boolean functions.
 Identical functions will have exactly the same
canonical form.
 Minterms and Maxterms
 Sum-of-Minterms and Product-of- Maxterms
 Product and Sum terms
 Sum-of-Products (SOP) and Product-of-Sums (POS)
PJF - 18
Complement of a Function
7/20/2020@kuntaladas
 The complement of a function is derived by
interchanging (• and +), and (1 and 0), and
complementing each variable.
 Otherwise, interchange 1s to 0s in the truth
table column showing F.
 The complement of a function IS NOT THE
SAME as the dual of a function.
PJF - 19
Complementation: Example
7/20/2020@kuntaladas
 Find G(x,y,z), the complement of
F(x,y,z) = xy’z’ + x’yz
 G = F’ = (xy’z’ + x’yz)’
= (xy’z’)’ • (x’yz)’ DeMorgan
= (x’+y+z) • (x+y’+z’) DeMorgan again
 Note: The complement of a function can also be
derived by finding the function’s dual, and then
complementing all of the literals
PJF - 20
Canonical and Standard Forms
7/20/2020@kuntaladas
 We need to consider formal techniques for the
simplification of Boolean functions.
 Identical functions will have exactly the same
canonical form.
 Minterms and Maxterms
 Sum-of-Minterms and Product-of- Maxterms
 Product and Sum terms
 Sum-of-Products (SOP) and Product-of-Sums (POS)
PJF - 21
Definitions
7/20/2020@kuntaladas
 Literal: A variable or its complement
 Product term: literals connected by •
 Sum term: literals connected by +
 Minterm: a product term in which all the
variables appear exactly once, either
complemented or uncomplemented
 Maxterm: a sum term in which all the variables
appear exactly once, either complemented or
uncomplemented
PJF - 22
7/20/2020@kuntaladas
 Sum of products(SOP): The logical sum of two
or more logical product terms is called a SOP
expression.
Y=AB+BC+DA
 Product of Sums(POS): A product of sums
expression is a logical product of two or more
logical terms.
Y=(A+B)(C+D)
PJF - 23
Minterm
7/20/2020@kuntaladas
 Represents exactly one combination in the truth
table.
 Denoted by mj, where j is the decimal equivalent
of the minterm’s corresponding binary
combination (bj).
 A variable in mj is complemented if its value in bj
is 0, otherwise is uncomplemented.
 Example: Assume 3 variables (A,B,C), and j=3.
Then, bj = 011 and its corresponding minterm is
denoted by mj = A’BC
PJF - 24
Maxterm
7/20/2020@kuntaladas
 Represents exactly one combination in the truth
table.
 Denoted by Mj, where j is the decimal equivalent
of the maxterm’s corresponding binary
combination (bj).
 A variable in Mj is complemented if its value in bj
is 1, otherwise is uncomplemented.
 Example: Assume 3 variables (A,B,C), and j=3.
Then, bj = 011 and its corresponding maxterm is
denoted by Mj = A+B’+C’
PJF - 25
Truth Table notation for Minterms
and Maxterms
7/20/2020@kuntaladas
 Minterms and
Maxterms are easy
to denote using a
truth table.
 Example:
Assume 3 variables
x,y,z
(order is fixed)
x y z Minterm Maxterm
0 0 0 x’y’z’ = m0 x+y+z = M0
0 0 1 x’y’z = m1 x+y+z’ = M1
0 1 0 x’yz’ = m2 x+y’+z = M2
0 1 1 x’yz = m3 x+y’+z’= M3
1 0 0 xy’z’ = m4 x’+y+z = M4
1 0 1 xy’z = m5 x’+y+z’ = M5
1 1 0 xyz’ = m6 x’+y’+z = M6
1 1 1 xyz = m7 x’+y’+z’ = M7
PJF - 26
Canonical Forms (Unique)
7/20/2020@kuntaladas
 Any Boolean function F( ) can be expressed as
a unique sum of minterms and a unique
product of maxterms (under a fixed variable
ordering).
 In other words, every function F() has two
canonical forms:
 Canonical Sum-Of-Products (sum of minterms)
 Canonical Product-Of-Sums (product of
maxterms)
PJF - 27
Canonical Forms (Unique)
7/20/2020@kuntaladas
 A minterm gives the value 1
for exactly 1 combination of
variables.
 The sum of all minterms of ‘f’
for which ‘f’ assumes ‘1’ is
called canonical sum of
product.
 A maxterm gives the value 0
for exactly 1 combination of
variables.
 The product of all maxterms of
‘f’ for which ‘f’ assumes ‘0’ is
called canonical products of
sums.
a b c f1
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
PJF - 28
Example
7/20/2020@kuntaladas
 Truth table for f1(a,b,c) at right
 The canonical sum-of-products form for
f1 is
f1(a,b,c) = m1 + m2 + m4 + m6
= a’b’c + a’bc’ + ab’c’ + abc’
 The canonical product-of-sums form for
f1 is
f1(a,b,c) = M0 • M3 • M5 • M7
= (a+b+c)•(a+b’+c’)•
(a’+b+c’)•(a’+b’+c’).
 Observe that: mj = Mj’
 For minterm ‘0’ means complemented
form and for maxterm ‘0’ means true
a b c f1
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
PJF - 29
Shorthand: ∑ and ∏
7/20/2020@kuntaladas
• f1(a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that
this is a sum-of-products form, and m(1,2,4,6)
indicates that the minterms to be included are m1,
m2, m4, and m6.
• f1(a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that
this is a product-of-sums form, and M(0,3,5,7)
indicates that the maxterms to be included are
M0, M3, M5, and M7.
• Since mj = Mj’ for any j,
∑ m(1,2,4,6) = ∏ M(0,3,5,7) = f1(a,b,c)
PJF - 30
Conversion Between Canonical Forms
7/20/2020@kuntaladas
 Replace ∑ with ∏ (or vice versa) and replace those j’s
that appeared in the original form with those that do not.
 Example:
f1(a,b,c) = a’b’c + a’bc’ + ab’c’ + abc’
= m1 + m2 + m4 + m6
= ∑(1,2,4,6)
= ∏(0,3,5,7)
= (a+b+c)•(a+b’+c’)•(a’+b+c’)•(a’+b’+c’)
PJF - 31
Standard Forms (NOT Unique)
7/20/2020@kuntaladas
• Standard forms are “like” canonical forms,
except that not all variables need appear in the
individual product (SOP) or sum (POS) terms.
• Example:
f1(a,b,c) = a’b’c + bc’ + ac’
is a standard sum-of-products form
• f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’)
is a standard product-of-sums form.
PJF - 32
Conversion of SOP from standard
to canonical form
7/20/2020@kuntaladas
 Expand non-canonical terms by inserting
equivalent of 1 in each missing variable x:
(x + x’) = 1
 Remove duplicate minterms
 f1(a,b,c) = a’b’c + bc’ + ac’
= a’b’c + (a+a’)bc’ + a(b+b’)c’
= a’b’c + abc’ + a’bc’ + abc’ + ab’c’
= a’b’c + abc’ + a’bc + ab’c’
PJF - 33
Conversion of POS from standard
to canonical form
7/20/2020@kuntaladas
 Expand noncanonical terms by adding 0 in terms
of missing variables (e.g., xx’ = 0) and using the
distributive law
 Remove duplicate maxterms
 f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’)
= (a+b+c)•(aa’+b’+c’)•(a’+bb’+c’)
= (a+b+c)•(a+b’+c’)•(a’+b’+c’)•
(a’+b+c’)•(a’+b’+c’)
= (a+b+c)•(a+b’+c’)•(a’+b’+c’)•(a’+b+c’)
PJF - 34
7/20/2020@kuntaladas
PJF - 35
 THANK YOU

More Related Content

What's hot

Gentlest Introduction to Tensorflow
Gentlest Introduction to TensorflowGentlest Introduction to Tensorflow
Gentlest Introduction to Tensorflow
Khor SoonHin
 
Test Problems in Optimization
Test Problems in OptimizationTest Problems in Optimization
Test Problems in Optimization
Xin-She Yang
 
Gentlest Introduction to Tensorflow - Part 2
Gentlest Introduction to Tensorflow - Part 2Gentlest Introduction to Tensorflow - Part 2
Gentlest Introduction to Tensorflow - Part 2
Khor SoonHin
 
Slides edf-2
Slides edf-2Slides edf-2
Slides edf-2
Arthur Charpentier
 
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
Matthew Leingang
 
Gentlest Introduction to Tensorflow - Part 3
Gentlest Introduction to Tensorflow - Part 3Gentlest Introduction to Tensorflow - Part 3
Gentlest Introduction to Tensorflow - Part 3
Khor SoonHin
 
Slides ensae 8
Slides ensae 8Slides ensae 8
Slides ensae 8
Arthur Charpentier
 
Side 2019 #7
Side 2019 #7Side 2019 #7
Side 2019 #7
Arthur Charpentier
 
Slides erasmus
Slides erasmusSlides erasmus
Slides erasmus
Arthur Charpentier
 
Slides ineq-4
Slides ineq-4Slides ineq-4
Slides ineq-4
Arthur Charpentier
 
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VECUnit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
sundarKanagaraj1
 
Slides ensae 11bis
Slides ensae 11bisSlides ensae 11bis
Slides ensae 11bis
Arthur Charpentier
 
Multiattribute utility copula
Multiattribute utility copulaMultiattribute utility copula
Multiattribute utility copula
Arthur Charpentier
 
Pybelsberg — Constraint-based Programming in Python
Pybelsberg — Constraint-based Programming in PythonPybelsberg — Constraint-based Programming in Python
Pybelsberg — Constraint-based Programming in Python
Christoph Matthies
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
Arthur Charpentier
 
A/B Testing for Game Design
A/B Testing for Game DesignA/B Testing for Game Design
A/B Testing for Game Design
Trieu Nguyen
 
Slides ensae 9
Slides ensae 9Slides ensae 9
Slides ensae 9
Arthur Charpentier
 
Lesson 16: Derivatives of Logarithmic and Exponential Functions
Lesson 16: Derivatives of Logarithmic and Exponential FunctionsLesson 16: Derivatives of Logarithmic and Exponential Functions
Lesson 16: Derivatives of Logarithmic and Exponential Functions
Matthew Leingang
 
Explanation on Tensorflow example -Deep mnist for expert
Explanation on Tensorflow example -Deep mnist for expertExplanation on Tensorflow example -Deep mnist for expert
Explanation on Tensorflow example -Deep mnist for expert
홍배 김
 
TensorFlow Tutorial
TensorFlow TutorialTensorFlow Tutorial
TensorFlow Tutorial
NamHyuk Ahn
 

What's hot (20)

Gentlest Introduction to Tensorflow
Gentlest Introduction to TensorflowGentlest Introduction to Tensorflow
Gentlest Introduction to Tensorflow
 
Test Problems in Optimization
Test Problems in OptimizationTest Problems in Optimization
Test Problems in Optimization
 
Gentlest Introduction to Tensorflow - Part 2
Gentlest Introduction to Tensorflow - Part 2Gentlest Introduction to Tensorflow - Part 2
Gentlest Introduction to Tensorflow - Part 2
 
Slides edf-2
Slides edf-2Slides edf-2
Slides edf-2
 
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 10 version)
 
Gentlest Introduction to Tensorflow - Part 3
Gentlest Introduction to Tensorflow - Part 3Gentlest Introduction to Tensorflow - Part 3
Gentlest Introduction to Tensorflow - Part 3
 
Slides ensae 8
Slides ensae 8Slides ensae 8
Slides ensae 8
 
Side 2019 #7
Side 2019 #7Side 2019 #7
Side 2019 #7
 
Slides erasmus
Slides erasmusSlides erasmus
Slides erasmus
 
Slides ineq-4
Slides ineq-4Slides ineq-4
Slides ineq-4
 
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VECUnit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
Unit IV UNCERTAINITY AND STATISTICAL REASONING in AI K.Sundar,AP/CSE,VEC
 
Slides ensae 11bis
Slides ensae 11bisSlides ensae 11bis
Slides ensae 11bis
 
Multiattribute utility copula
Multiattribute utility copulaMultiattribute utility copula
Multiattribute utility copula
 
Pybelsberg — Constraint-based Programming in Python
Pybelsberg — Constraint-based Programming in PythonPybelsberg — Constraint-based Programming in Python
Pybelsberg — Constraint-based Programming in Python
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
 
A/B Testing for Game Design
A/B Testing for Game DesignA/B Testing for Game Design
A/B Testing for Game Design
 
Slides ensae 9
Slides ensae 9Slides ensae 9
Slides ensae 9
 
Lesson 16: Derivatives of Logarithmic and Exponential Functions
Lesson 16: Derivatives of Logarithmic and Exponential FunctionsLesson 16: Derivatives of Logarithmic and Exponential Functions
Lesson 16: Derivatives of Logarithmic and Exponential Functions
 
Explanation on Tensorflow example -Deep mnist for expert
Explanation on Tensorflow example -Deep mnist for expertExplanation on Tensorflow example -Deep mnist for expert
Explanation on Tensorflow example -Deep mnist for expert
 
TensorFlow Tutorial
TensorFlow TutorialTensorFlow Tutorial
TensorFlow Tutorial
 

Similar to Digital system design

KDASKMAP.pptx
KDASKMAP.pptxKDASKMAP.pptx
KDASKMAP.pptx
KUNTALADAS5
 
Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
Prof. Dr. K. Adisesha
 
CHAPTER_3.1.ppt
CHAPTER_3.1.pptCHAPTER_3.1.ppt
CHAPTER_3.1.ppt
TamiratDejene1
 
Basic Digital Logic(Notes-DE) for engineering .ppt
Basic Digital Logic(Notes-DE) for engineering .pptBasic Digital Logic(Notes-DE) for engineering .ppt
Basic Digital Logic(Notes-DE) for engineering .ppt
roshh1
 
ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)
CrackDSE
 
Chapter-3.ppt
Chapter-3.pptChapter-3.ppt
Chapter-3.ppt
TANJILURRAHMAN190901
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
LingalaSowjanya
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
MdJubayerFaisalEmon
 
Digital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma StudentsDigital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma Students
mohsin8283
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
arunachalamr16
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
MdJubayerFaisalEmon
 
Functions
FunctionsFunctions
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
Robert Geofroy
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
Imran Waris
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
mshoaib15
 
boolean.pdf
boolean.pdfboolean.pdf
boolean.pdf
NirnayaNbstriker
 
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhg
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhgDigital Logic.pptxghuuhhhhhhuu7ffghhhhhg
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhg
AnujyotiDe
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
CrackDSE
 
Função afim resumo teórico e exercícios - celso brasil
Função afim   resumo teórico e exercícios - celso brasilFunção afim   resumo teórico e exercícios - celso brasil
Função afim resumo teórico e exercícios - celso brasil
Celso do Rozário Brasil Gonçalves
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
Suvrat Mishra
 

Similar to Digital system design (20)

KDASKMAP.pptx
KDASKMAP.pptxKDASKMAP.pptx
KDASKMAP.pptx
 
Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
 
CHAPTER_3.1.ppt
CHAPTER_3.1.pptCHAPTER_3.1.ppt
CHAPTER_3.1.ppt
 
Basic Digital Logic(Notes-DE) for engineering .ppt
Basic Digital Logic(Notes-DE) for engineering .pptBasic Digital Logic(Notes-DE) for engineering .ppt
Basic Digital Logic(Notes-DE) for engineering .ppt
 
ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)
 
Chapter-3.ppt
Chapter-3.pptChapter-3.ppt
Chapter-3.ppt
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
Digital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma StudentsDigital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma Students
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
 
Functions
FunctionsFunctions
Functions
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
boolean.pdf
boolean.pdfboolean.pdf
boolean.pdf
 
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhg
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhgDigital Logic.pptxghuuhhhhhhuu7ffghhhhhg
Digital Logic.pptxghuuhhhhhhuu7ffghhhhhg
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
 
Função afim resumo teórico e exercícios - celso brasil
Função afim   resumo teórico e exercícios - celso brasilFunção afim   resumo teórico e exercícios - celso brasil
Função afim resumo teórico e exercícios - celso brasil
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
 

Recently uploaded

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 

Recently uploaded (20)

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 

Digital system design

  • 2. Boolean Algebra Properties 7/20/2020@kuntaladas Let X: boolean variable, 0,1: constants 1. X + 0 = X -- Zero Axiom 2. X • 1 = X -- Unit Axiom 3. X + 1 = 1 -- Unit Property 4. X • 0 = 0 -- Zero Property PJF - 2
  • 3. Boolean Algebra Properties (cont.) 7/20/2020@kuntaladas Let X: boolean variable, 0,1: constants 5. X + X = X -- Idepotence 6. X • X = X -- Idepotence 7. X + X’ = 1 -- Complement 8. X • X’ = 0 -- Complement 9. (X’)’ = X -- Involution PJF - 3
  • 4. Boolean Algebra Properties 7/20/2020@kuntaladas Let X: boolean variable, 0,1: constants 1. X + 0 = X -- Zero Axiom 2. X • 1 = X -- Unit Axiom 3. X + 1 = 1 -- Unit Property 4. X • 0 = 0 -- Zero Property PJF - 4
  • 5. Duality 7/20/2020@kuntaladas  The dual of an expression is obtained by exchanging (• and +), and (1 and 0) in it, provided that the precedence of operations is not changed.  Cannot exchange x with x’  Example:  Find H(x,y,z), the dual of F(x,y,z) = x’yz’ + x’y’z  H = (x’+y+z’) (x’+y’+ z) PJF - 5
  • 6. Duality (cont’d) 7/20/2020@kuntaladas With respect to duality, Identities 1 – 8 have the following relationship: 1. X + 0 = X 2. X • 1 = X (dual of 1) 3. X + 1 = 1 4. X • 0 = 0 (dual of 3) 5. X + X = X 6. X • X = X (dual of 5) 7. X + X’ = 1 8. X • X’ = 0 (dual of 8) PJF - 6
  • 7. More Boolean Algebra Properties 7/20/2020@kuntaladas Let X,Y, and Z: boolean variables 10. X + Y = Y + X 11. X • Y = Y • X -- Commutative 12. X + (Y+Z) = (X+Y) + Z 13. X•(Y•Z) = (X•Y)•Z -- Associative 14. X•(Y+Z) = X•Y + X•Z 15. X+(Y•Z) = (X+Y) • (X+Z) -- Distributive 16. (X + Y)’ = X’ • Y’ 17. (X • Y)’ = X’ + Y’ -- DeMorgan’s In general, ( X1 + X2 + … + Xn )’ = X1’•X2’ • … •Xn’, and ( X1•X2•… •Xn )’ = X1’ + X2’ + … + Xn’ PJF - 7
  • 8. Absorption Property 7/20/2020@kuntaladas 1. x + x•y = x 2. x•(x+y) = x (dual)  Proof: x + x•y = x•1 + x•y = x•(1+y) = x•1 = x QED (2 true by duality, why?) PJF - 8
  • 9. Power of Duality 7/20/2020@kuntaladas 1. x + x•y = x is true, so (x + x•y)’=x’ 2. (x + x•y)’=x’•(x’+y’) 3. x’•(x’+y’) =x’ 4. Let X=x’, Y=y’ 5. X•(X+Y) =X, which is the dual of x + x•y = x. 6. The above process can be applied to any formula. So if a formula is valid, then its dual must also be valid. 7. Proving one formula also proves its dual. PJF - 9
  • 10. Consensus Theorem 7/20/2020@kuntaladas 1. xy + x’z + yz = xy + x’z 2. (x+y)•(x’+z)•(y+z) = (x+y)•(x’+z) -- (dual)  Proof: xy + x’z + yz = xy + x’z + (x+x’)yz = xy + x’z + xyz + x’yz = (xy + xyz) + (x’z + x’zy) = xy + x’z QED (2 true by duality). PJF - 10
  • 11. Truth Tables (revisited) 7/20/2020@kuntaladas  Enumerates all possible combinations of variable values and the corresponding function value  Truth tables for some arbitrary functions F1(x,y,z), F2(x,y,z), and F3(x,y,z) are shown to the right. x y z F1 F2 F3 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 1 1 1 1 0 1 PJF - 11
  • 12. Truth Tables (cont.) 7/20/2020@kuntaladas  Truth table: a unique representation of a Boolean function  If two functions have identical truth tables, the functions are equivalent (and vice-versa).  Truth tables can be used to prove equality theorems.  However, the size of a truth table grows exponentially with the number of variables involved, hence unwieldy. This motivates the use of Boolean Algebra. PJF - 12
  • 13. Boolean expressions-NOT unique 7/20/2020@kuntaladas  Unlike truth tables, expressions representing a Boolean function are NOT unique.  Example:  F(x,y,z) = x’•y’•z’ + x’•y•z’ + x•y•z’  G(x,y,z) = x’•y’•z’ + y•z’  The corresponding truth tables for F() and G() are to the right. They are identical.  Thus, F() = G() x y z F G 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 1 1 1 1 1 0 0 PJF - 13
  • 14. Algebraic Manipulation 7/20/2020@kuntaladas  Boolean algebra is a useful tool for simplifying digital circuits.  Why do it? Simpler can mean cheaper, smaller, faster.  Example: Simplify F = x’yz + x’yz’ + xz. F = x’yz + x’yz’ + xz = x’y(z+z’) + xz = x’y•1 + xz = x’y + xz PJF - 14
  • 15. Algebraic Manipulation (cont.) 7/20/2020@kuntaladas  Example: Prove x’y’z’ + x’yz’ + xyz’ = x’z’ + yz’  Proof: x’y’z’+ x’yz’+ xyz’ = x’y’z’ + x’yz’ + x’yz’ + xyz’ = x’z’(y’+y) + yz’(x’+x) = x’z’•1 + yz’•1 = x’z’ + yz’ QED. PJF - 15
  • 16. Complement of a Function 7/20/2020@kuntaladas  The complement of a function is derived by interchanging (• and +), and (1 and 0), and complementing each variable.  Otherwise, interchange 1s to 0s in the truth table column showing F.  The complement of a function IS NOT THE SAME as the dual of a function. PJF - 16
  • 17. Complementation: Example 7/20/2020@kuntaladas  Find G(x,y,z), the complement of F(x,y,z) = xy’z’ + x’yz  G = F’ = (xy’z’ + x’yz)’ = (xy’z’)’ • (x’yz)’ DeMorgan = (x’+y+z) • (x+y’+z’) DeMorgan again  Note: The complement of a function can also be derived by finding the function’s dual, and then complementing all of the literals PJF - 17
  • 18. Canonical and Standard Forms 7/20/2020@kuntaladas  We need to consider formal techniques for the simplification of Boolean functions.  Identical functions will have exactly the same canonical form.  Minterms and Maxterms  Sum-of-Minterms and Product-of- Maxterms  Product and Sum terms  Sum-of-Products (SOP) and Product-of-Sums (POS) PJF - 18
  • 19. Complement of a Function 7/20/2020@kuntaladas  The complement of a function is derived by interchanging (• and +), and (1 and 0), and complementing each variable.  Otherwise, interchange 1s to 0s in the truth table column showing F.  The complement of a function IS NOT THE SAME as the dual of a function. PJF - 19
  • 20. Complementation: Example 7/20/2020@kuntaladas  Find G(x,y,z), the complement of F(x,y,z) = xy’z’ + x’yz  G = F’ = (xy’z’ + x’yz)’ = (xy’z’)’ • (x’yz)’ DeMorgan = (x’+y+z) • (x+y’+z’) DeMorgan again  Note: The complement of a function can also be derived by finding the function’s dual, and then complementing all of the literals PJF - 20
  • 21. Canonical and Standard Forms 7/20/2020@kuntaladas  We need to consider formal techniques for the simplification of Boolean functions.  Identical functions will have exactly the same canonical form.  Minterms and Maxterms  Sum-of-Minterms and Product-of- Maxterms  Product and Sum terms  Sum-of-Products (SOP) and Product-of-Sums (POS) PJF - 21
  • 22. Definitions 7/20/2020@kuntaladas  Literal: A variable or its complement  Product term: literals connected by •  Sum term: literals connected by +  Minterm: a product term in which all the variables appear exactly once, either complemented or uncomplemented  Maxterm: a sum term in which all the variables appear exactly once, either complemented or uncomplemented PJF - 22
  • 23. 7/20/2020@kuntaladas  Sum of products(SOP): The logical sum of two or more logical product terms is called a SOP expression. Y=AB+BC+DA  Product of Sums(POS): A product of sums expression is a logical product of two or more logical terms. Y=(A+B)(C+D) PJF - 23
  • 24. Minterm 7/20/2020@kuntaladas  Represents exactly one combination in the truth table.  Denoted by mj, where j is the decimal equivalent of the minterm’s corresponding binary combination (bj).  A variable in mj is complemented if its value in bj is 0, otherwise is uncomplemented.  Example: Assume 3 variables (A,B,C), and j=3. Then, bj = 011 and its corresponding minterm is denoted by mj = A’BC PJF - 24
  • 25. Maxterm 7/20/2020@kuntaladas  Represents exactly one combination in the truth table.  Denoted by Mj, where j is the decimal equivalent of the maxterm’s corresponding binary combination (bj).  A variable in Mj is complemented if its value in bj is 1, otherwise is uncomplemented.  Example: Assume 3 variables (A,B,C), and j=3. Then, bj = 011 and its corresponding maxterm is denoted by Mj = A+B’+C’ PJF - 25
  • 26. Truth Table notation for Minterms and Maxterms 7/20/2020@kuntaladas  Minterms and Maxterms are easy to denote using a truth table.  Example: Assume 3 variables x,y,z (order is fixed) x y z Minterm Maxterm 0 0 0 x’y’z’ = m0 x+y+z = M0 0 0 1 x’y’z = m1 x+y+z’ = M1 0 1 0 x’yz’ = m2 x+y’+z = M2 0 1 1 x’yz = m3 x+y’+z’= M3 1 0 0 xy’z’ = m4 x’+y+z = M4 1 0 1 xy’z = m5 x’+y+z’ = M5 1 1 0 xyz’ = m6 x’+y’+z = M6 1 1 1 xyz = m7 x’+y’+z’ = M7 PJF - 26
  • 27. Canonical Forms (Unique) 7/20/2020@kuntaladas  Any Boolean function F( ) can be expressed as a unique sum of minterms and a unique product of maxterms (under a fixed variable ordering).  In other words, every function F() has two canonical forms:  Canonical Sum-Of-Products (sum of minterms)  Canonical Product-Of-Sums (product of maxterms) PJF - 27
  • 28. Canonical Forms (Unique) 7/20/2020@kuntaladas  A minterm gives the value 1 for exactly 1 combination of variables.  The sum of all minterms of ‘f’ for which ‘f’ assumes ‘1’ is called canonical sum of product.  A maxterm gives the value 0 for exactly 1 combination of variables.  The product of all maxterms of ‘f’ for which ‘f’ assumes ‘0’ is called canonical products of sums. a b c f1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 PJF - 28
  • 29. Example 7/20/2020@kuntaladas  Truth table for f1(a,b,c) at right  The canonical sum-of-products form for f1 is f1(a,b,c) = m1 + m2 + m4 + m6 = a’b’c + a’bc’ + ab’c’ + abc’  The canonical product-of-sums form for f1 is f1(a,b,c) = M0 • M3 • M5 • M7 = (a+b+c)•(a+b’+c’)• (a’+b+c’)•(a’+b’+c’).  Observe that: mj = Mj’  For minterm ‘0’ means complemented form and for maxterm ‘0’ means true a b c f1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 PJF - 29
  • 30. Shorthand: ∑ and ∏ 7/20/2020@kuntaladas • f1(a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that this is a sum-of-products form, and m(1,2,4,6) indicates that the minterms to be included are m1, m2, m4, and m6. • f1(a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that this is a product-of-sums form, and M(0,3,5,7) indicates that the maxterms to be included are M0, M3, M5, and M7. • Since mj = Mj’ for any j, ∑ m(1,2,4,6) = ∏ M(0,3,5,7) = f1(a,b,c) PJF - 30
  • 31. Conversion Between Canonical Forms 7/20/2020@kuntaladas  Replace ∑ with ∏ (or vice versa) and replace those j’s that appeared in the original form with those that do not.  Example: f1(a,b,c) = a’b’c + a’bc’ + ab’c’ + abc’ = m1 + m2 + m4 + m6 = ∑(1,2,4,6) = ∏(0,3,5,7) = (a+b+c)•(a+b’+c’)•(a’+b+c’)•(a’+b’+c’) PJF - 31
  • 32. Standard Forms (NOT Unique) 7/20/2020@kuntaladas • Standard forms are “like” canonical forms, except that not all variables need appear in the individual product (SOP) or sum (POS) terms. • Example: f1(a,b,c) = a’b’c + bc’ + ac’ is a standard sum-of-products form • f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’) is a standard product-of-sums form. PJF - 32
  • 33. Conversion of SOP from standard to canonical form 7/20/2020@kuntaladas  Expand non-canonical terms by inserting equivalent of 1 in each missing variable x: (x + x’) = 1  Remove duplicate minterms  f1(a,b,c) = a’b’c + bc’ + ac’ = a’b’c + (a+a’)bc’ + a(b+b’)c’ = a’b’c + abc’ + a’bc’ + abc’ + ab’c’ = a’b’c + abc’ + a’bc + ab’c’ PJF - 33
  • 34. Conversion of POS from standard to canonical form 7/20/2020@kuntaladas  Expand noncanonical terms by adding 0 in terms of missing variables (e.g., xx’ = 0) and using the distributive law  Remove duplicate maxterms  f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’) = (a+b+c)•(aa’+b’+c’)•(a’+bb’+c’) = (a+b+c)•(a+b’+c’)•(a’+b’+c’)• (a’+b+c’)•(a’+b’+c’) = (a+b+c)•(a+b’+c’)•(a’+b’+c’)•(a’+b+c’) PJF - 34

Editor's Notes

  1. 2020/7/20
  2. 2020/7/20
  3. 2020/7/20
  4. 2020/7/20
  5. 2020/7/20
  6. 2020/7/20
  7. 2020/7/20
  8. 2020/7/20
  9. 2020/7/20
  10. 2020/7/20
  11. 2020/7/20
  12. 2020/7/20
  13. 2020/7/20
  14. 2020/7/20
  15. 2020/7/20
  16. 2020/7/20
  17. 2020/7/20
  18. 2020/7/20
  19. 2020/7/20
  20. 2020/7/20
  21. 2020/7/20
  22. 2020/7/20
  23. 2020/7/20
  24. 2020/7/20
  25. 2020/7/20
  26. 2020/7/20
  27. 2020/7/20
  28. 2020/7/20
  29. 2020/7/20
  30. 2020/7/20
  31. 2020/7/20