SlideShare a Scribd company logo
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Digital
Fundamentals
Tenth Edition
Floyd
Chapter 4
© 2008 Pearson Education
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Chapter Objectives
• Apply the basic laws and rules of Boolean algebra.
• Apply DeMorgan’s theorems to Boolean expressions
• Describe gate combinations with Boolean expressions
• Evaluate Boolean expressions
• Simplify expressions by using the laws and rules of
Boolean algebra
• Convert any Boolean expression into a sum-of-product
(SOP) and Product-of-sum (POS) form.
• Relate a Boolean expression to a truth table
• Use a karnaugh map to simplify Boolean expressions.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Boolean Operations and Expressions
• Boolean algebra is the mathematics of
digital systems.
• A basic knowledge of Boolean algebra is
indispensable to the study and analysis of
logic.
• In the last lecture, Boolean operations and
expressions in terms of their relationship to
NOT, AND, OR, NAND, and NOR gates
were introduced.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
After completing this section:
• You should be able to define variable
• Literal
• Identify a sum term
• Evaluate a sum term
• Identify a product term
• Evaluate a product term
• Explain Boolean addition
• Explain Boolean multiplication
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
In Boolean algebra, a variable is a symbol used to represent
an action, a condition, or data. A single variable can only
have a value of 1 or 0.
Summary
Boolean Addition
The complement represents the inverse of a variable and is indicated
with an overbar. Thus, the complement of A is A.
A literal is a variable or its complement.
Addition is equivalent to the OR operation. The sum term is 1 if one or
more if the literals are 1. The sum term is zero only if each literal is 0.
Determine the values of A, B, and C that make the sum term
of the expression A + B + C = 0?
Each literal must = 0; therefore A = 1, B = 0 and C = 1.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Boolean Addition
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
In Boolean algebra, multiplication is equivalent to the AND
operation. The product of literals forms a product term. The
product term will be 1 only if all of the literals are 1.
Summary
Boolean Multiplication
What are the values of the A, B and C if the
product term of A.B.C = 1?
Each literal must = 1; therefore A = 1, B = 0 and C = 0.
What are the values of the A, B and C if the
product term of A.B.C = 1?
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Boolean Multiplication
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Commutative Laws
In terms of the result, the order in which variables
are ORed makes no difference.
The commutative laws are applied to addition and
multiplication. For addition, the commutative law states
A + B = B + A
In terms of the result, the order in which variables
are ANDed makes no difference.
For multiplication, the commutative law states
AB = BA
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Continued..
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Distributive Law
The distributive law is the factoring law. A common
variable can be factored from an expression just as in
ordinary algebra. That is
AB + AC = A(B+ C)
The distributive law can be illustrated with equivalent
circuits:
B+ C
C
A
X
B
AB
B
X
A
C
A
AC
AB + ACA(B+ C)
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Rules of Boolean Algebra
1. A + 0 = A
2. A + 1 = 1
3. A . 0 = 0
4. A . 1 = A
5. A + A = A
7. A . A = A
6. A + A = 1
8. A . A = 0
9. A = A
=
10. A + AB = A
12. (A + B)(A + C) = A + BC
11. A + AB = A + B
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Rules of Boolean Algebra
Rules of Boolean algebra can be illustrated with Venn
diagrams. The variable A is shown as an area.
The rule A + AB = A can be illustrated easily with a diagram. Add
an overlapping area to represent the variable B.
A B
AB
The overlap region between A and B represents AB.
AA BA B
AB
The diagram visually shows that A + AB = A. Other rules can be
illustrated with the diagrams as well.
=
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
The proof is shown in the table, which shows the
truth table and the resulting logic circuit
simplification
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
A
Summary
Rules of Boolean Algebra
A + AB = A + B
This time, A is represented by the blue area and B
again by the red circle.
B
The intersection represents
AB. Notice that A + AB = A + B
AABA
Illustrate the rule with a Venn
diagram.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Rules of Boolean Algebra
Rule 12, which states that (A + B)(A + C) = A + BC, can
be proven by applying earlier rules as follows:
(A + B)(A + C) = AA + AC + AB + BC
= A + AC + AB + BC
= A(1 + C + B) + BC
= A . 1 + BC
= A + BC
This rule is a little more complicated, but it can also be
shown with a Venn diagram, as given on the following
slide…
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
DeMorgan’s Theorem
The complement of a product of variables is
equal to the sum of the complemented variables.
DeMorgan’s 1st Theorem
AB = A + B
Applying DeMorgan’s first theorem to gates:
OutputInputs
A B AB A + B
0
0
1
1
0
1
0
1
1
1
1
0
1
1
1
0
A + B
A
B
AB
A
B
NAND Negative-OR
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
DeMorgan’s Theorem
DeMorgan’s 2nd Theorem
The complement of a sum of variables is equal to
the product of the complemented variables.
A + B = A . B
Applying DeMorgan’s second theorem to gates:
A B A + B AB
OutputInputs
0
0
1
1
0
1
0
1
1
0
0
0
1
0
0
0
AB
A
B
A + B
A
B
NOR Negative-AND
Remember:
“Break the bar,
change the sign”
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Summary
Apply DeMorgan’s theorem to remove the
overbar covering both terms from the
expression X = C + D.
DeMorgan’s Theorem
To apply DeMorgan’s theorem to the expression,
you can break the overbar covering both terms and
change the sign between the terms. This results in
X = C . D. Deleting the double bar gives X = C . D.
=
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Apply the demorgans theorem to the following
expressions
• (XYZ)' and (X+Y+Z)'
• (X'+Y'+Z')'
• (WXYZ)' AND (W+X+Y+Z)'
• (W'X'Y'Z')'
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Apply demorgans theorems to each of
the following expressions
• [(A+B+C)D]‘
• (ABC+DEF)‘
• [AB‘+C'D+EF]'
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
A
C
D
B
Summary
Boolean Analysis/expression of Logic Circuits
Combinational logic circuits can be analyzed by writing
the expression for each gate and combining the
expressions according to the rules for Boolean algebra.
Apply Boolean algebra to derive the expression for X.
Write the expression for each gate:
Applying DeMorgan’s theorem and the distribution law:
C (A + B )
= C (A + B )+ D
(A + B )
X = C (A B) + D = A B C + D
X
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Standard forms of Boolean expressions
• All Boolean expressions, regardless of their form, can be
converted into either of two standard forms
• Sum-of-products (SOP) form
• Also called Minterms
• Product of Sum (POS) form
• Also called Maxterms
• Standardization makes the evaluation, simplification, and
implementation of Boolean expressions much more
systematic and easier.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Sum of product (SOP) Form
• A product term was defined as a term consisting of
the product (Boolean multiplication) of literals
(variables or their complements).
• When two or more product terms are summed by
Boolean addition. the resulting expression is a
sum-of-products (SOP).
• Some examples are
• AB + ABC
• ABC + CDE + B‘CD‘
• A‘B + A‘BC‘ + AC
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
SOP (Minterms)
• Also, an SOP expression can contain a single-
variable like,
• A + A’BC’ + BC’D’
Domain of a Boolean Expression
• The domain of a general Boolean expression is the
set of variables contained in the expression in
either complemented or un complemented form.
• For example, the domain of the expression A’B +
AB’C is:-
• The set of variables A, B, C.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
SOP
AND/OR Implementation of an SOP Expression
• Implementing an SOP expression simply requires
ORing the outputs of two or more AND gates.
• A product term is produced by an AND operation,
and the sum (addition) of two or more product
terms is produced by an OR operation.
• Therefore, an SOP expression can be implemented
by AND-OR logic in which the outputs of a number
of AND gates connect to the inputs of an OR gate.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
SOP form
NAND/NAND Implementation of an SOP Expression
• NAND gates can be used to implement an SOP expression.
• Using only NAND gates, an AND/OR function can be
accomplished.
• The first level of NAND gates feed into a NAND gate that
acts as a negative-OR gate.
• The NAND and negative-OR inversions cancel and the
result is effectively an AND/OR circuit.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Conversion of a General Expression to SOP Form
• Any logic expression can be changed into
SOP form by applying Boolean algebra
techniques.
• For example. the expression A(B + CD) can
be converted to SOP form by applying the
distributive law.
• A(B + CD) = AB + ACD
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Convert each of the following Boolean expressions to SOP form
• AB + B(CD + EF)
= AB + BCD + BEF
• (A + B)(B + C + D)
= AB + AC + AD + BB + BC + BD
• [( A + B )’ + C ]’
= (( A + B )’)’C’ = (A + B)C’
= AC’ + BC’.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Standard SOP Form
• SOP expressions in which some of the product
terms do not contain some of the variables in the
domain of the expression.
• For example
• A’ BC’ + AB’ D + A’ B C’ D
• Domain made up of the variables A, B, C. and D.
• Complete set of variables in the domain is not
represented in the first two terms of the expression.
• D or D’ is missing from the first term
• C and C’ is missing from the second term.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
SOP form
• A standard SOP expression is one in which
all the variables in the domain appear in
each product term in the expression.
• For example.
• AB’CD + A’ B’ CD’ + ABC’ D’
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
STANDARD SOP
• Converting Product Terms to Standard SOP
• Step 1.Multiply each nonstandard product term by a term
made up of the sum of a missing variable and its
complement. This results in two product terms. As you know
you can multiply anything by 1 with out changing its value.
• Step 2.Repeat Step 1 until all resulting product terms
contain all variables in the domain in either complemented
or un complemented form.
• In converting a product term to standard form, the number of
product terms is doubled for each missing variable
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Convert the following Boolean expression into standard SOP form:
• AB’ C + A’ B’+ ABC’ D
• Solution
• AB’ C = AB’ C(D + D’ ) = AB’ CD + AB’ CD’
• In this case, two standard product terms are
the result.
• The second term, A’B’, is missing variables C
or C’ and D or D’, so first multiply the second
term by C + C’ as follows.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Example
• A‘ B‘ = A‘B‘(C + C‘) = A‘ B‘ C + A‘ B‘ C ‘
• The two resulting terms are missing variable D or D’, so
multiply both terms by D + D’ as follows:
• A’B’ = A’B’C + A’B’C’ = A’B’C(D + D’) +
• A’B’C’(D + D’)
• = A’ B’ CD + A’ B’ CD’ + A’B’C’D + A’B’C’D’
• In this case, four standard product terms are the result.
The third term, ABCD, is already in standard form. The
complete standard SOP form of the original expression
is as follows:
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Example contd
• Accumulated terms are,
• AB’ C + A’ B’+ ABC’ D = AB’CD + AB’CD’ +
A’B’CD + A’ B’CD’ + A’B’C’D + A’B’C’D’ +
ABC’D.
• Convert the expression WX’ Y + X’ YZ’ +
WX Y’to standard SOP form.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
The Product-of-Sums (POS) Form
• When two or more sum terms are multiplied,
the resulting expression is a product-of-
sums (POS).
• (A’ + B)(A + B’ + C)
• (A + B’ + C)( C + D’ + E’)(B + C’ + D)
• (A’ + B)(A’ + B’ + C’)(A + C’)
• A POS expression can contain a single-
variable term, as in the following i.e. A’,
• A’ (A + B’ + C)(B’+ C’ + D).
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Converting Standard SOP to Standard POS form.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
The equivalent POS expression is
• (A+B+C’)(A’+B+C)(A’+B’+C)
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Converting SOP expressions to the truth table format
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
Converting POS Expressions to Truth Table Format
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed

More Related Content

What's hot (20)

PPTX
1's and 2's complement
Shiraz Azeem
 
PPT
Boolean Algebra DLD
Rokonuzzaman Rony
 
PPTX
BOOLEAN ALGEBRA & LOGIC GATE
Ideal Eyes Business College
 
PDF
Sop and pos
shubhamprajapat23
 
PPTX
Booth’s algorithm.(a014& a015)
Piyush Rochwani
 
PPT
boolean algebra and logic simplification
Unsa Shakir
 
PDF
Binary codes
Revathi Subramaniam
 
PPTX
Instruction format
chauhankapil
 
PPT
Boolean algebra And Logic Gates
Kumar
 
PPT
KARNAUGH MAP(K-MAP)
mihir jain
 
PPT
BCD,GRAY and EXCESS 3 codes
student
 
PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
PPTX
Magnitude comparator
Preet_patel
 
PPTX
What is Adder-Half and Full Adder
Adeel Rasheed
 
PPT
Booth Multiplier
Sudhir Kumar
 
PPTX
Half & Full Adder
Habibur Rahman
 
PPT
encoder and decoder in digital electronics
vikram rajpurohit
 
PPT
Chapter 3- Digital Fundamentals by Thomas L. Floyd
zuraizjawaid61
 
PDF
Exclusive OR GAte
awais ahmad
 
PPTX
Bcd
Talha Fazal
 
1's and 2's complement
Shiraz Azeem
 
Boolean Algebra DLD
Rokonuzzaman Rony
 
BOOLEAN ALGEBRA & LOGIC GATE
Ideal Eyes Business College
 
Sop and pos
shubhamprajapat23
 
Booth’s algorithm.(a014& a015)
Piyush Rochwani
 
boolean algebra and logic simplification
Unsa Shakir
 
Binary codes
Revathi Subramaniam
 
Instruction format
chauhankapil
 
Boolean algebra And Logic Gates
Kumar
 
KARNAUGH MAP(K-MAP)
mihir jain
 
BCD,GRAY and EXCESS 3 codes
student
 
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
Magnitude comparator
Preet_patel
 
What is Adder-Half and Full Adder
Adeel Rasheed
 
Booth Multiplier
Sudhir Kumar
 
Half & Full Adder
Habibur Rahman
 
encoder and decoder in digital electronics
vikram rajpurohit
 
Chapter 3- Digital Fundamentals by Thomas L. Floyd
zuraizjawaid61
 
Exclusive OR GAte
awais ahmad
 

Similar to All About Boolean Algebra DLD. (20)

PPTX
Boolean Algebra - R.D.Sivakumar
Sivakumar R D .
 
PPTX
Lecture 05-Logic expression and Boolean Algebra.pptx
WilliamJosephat1
 
PDF
Pp05
brain123a
 
PDF
Digital Electronics-Lecture3-Boolean Algebra and logic Simplification[2025].pdf
nguyentuankiet06a
 
PPT
Boolean variables r010
arunachalamr16
 
PPT
Digital Logic Design
Alihyderkolachi
 
PDF
Boolean Algebra.pdf
ssusere02873
 
PPT
Digital logic design lecture 06
FarhatUllah27
 
PPTX
Digital logic mohammed salim ch4
Asst Lect Mohammed Salim
 
PPTX
Lec1 n
AlaaMohamed226
 
DOCX
Computer Architecture & Organization
NANDINI SHARMA
 
PPT
07 boolean algebra
Sohail Akbar Goheer
 
PPTX
CH11-Digital Logic.pptx
FathoniMahardika1
 
PDF
DLD Lecture 3,4,5 Boolean Algebra, Switching Algebra, And Logic Gates.pdf
syedsahib2922
 
PPTX
boolenalgebralecturenotes-220915100409-6e6a97bd (1).pptx
shvetachaudhari19bca
 
PPTX
Basic theorems and properties of boolean algebra
Hanu Kavi
 
PPSX
Boolean algebra simplification and combination circuits
Jaipal Dhobale
 
PPTX
Unit 2 digital fundamentals boolean func.pptx
VidhyaB10
 
PDF
Boolen Algebra Lecture Notes.pdf
nyamuonatinashe
 
PDF
Boolean algebra r009
arunachalamr16
 
Boolean Algebra - R.D.Sivakumar
Sivakumar R D .
 
Lecture 05-Logic expression and Boolean Algebra.pptx
WilliamJosephat1
 
Pp05
brain123a
 
Digital Electronics-Lecture3-Boolean Algebra and logic Simplification[2025].pdf
nguyentuankiet06a
 
Boolean variables r010
arunachalamr16
 
Digital Logic Design
Alihyderkolachi
 
Boolean Algebra.pdf
ssusere02873
 
Digital logic design lecture 06
FarhatUllah27
 
Digital logic mohammed salim ch4
Asst Lect Mohammed Salim
 
Computer Architecture & Organization
NANDINI SHARMA
 
07 boolean algebra
Sohail Akbar Goheer
 
CH11-Digital Logic.pptx
FathoniMahardika1
 
DLD Lecture 3,4,5 Boolean Algebra, Switching Algebra, And Logic Gates.pdf
syedsahib2922
 
boolenalgebralecturenotes-220915100409-6e6a97bd (1).pptx
shvetachaudhari19bca
 
Basic theorems and properties of boolean algebra
Hanu Kavi
 
Boolean algebra simplification and combination circuits
Jaipal Dhobale
 
Unit 2 digital fundamentals boolean func.pptx
VidhyaB10
 
Boolen Algebra Lecture Notes.pdf
nyamuonatinashe
 
Boolean algebra r009
arunachalamr16
 
Ad

Recently uploaded (20)

PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PDF
SG1-ALM-MS-EL-30-0008 (00) MS - Isolators and disconnecting switches.pdf
djiceramil
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PPTX
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
PPTX
quantum computing transition from classical mechanics.pptx
gvlbcy
 
PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PPTX
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Precedence and Associativity in C prog. language
Mahendra Dheer
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PDF
The Complete Guide to the Role of the Fourth Engineer On Ships
Mahmoud Moghtaderi
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
SG1-ALM-MS-EL-30-0008 (00) MS - Isolators and disconnecting switches.pdf
djiceramil
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
quantum computing transition from classical mechanics.pptx
gvlbcy
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
Inventory management chapter in automation and robotics.
atisht0104
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Precedence and Associativity in C prog. language
Mahendra Dheer
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
The Complete Guide to the Role of the Fourth Engineer On Ships
Mahmoud Moghtaderi
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
Ad

All About Boolean Algebra DLD.

  • 1. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Digital Fundamentals Tenth Edition Floyd Chapter 4 © 2008 Pearson Education
  • 2. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Chapter Objectives • Apply the basic laws and rules of Boolean algebra. • Apply DeMorgan’s theorems to Boolean expressions • Describe gate combinations with Boolean expressions • Evaluate Boolean expressions • Simplify expressions by using the laws and rules of Boolean algebra • Convert any Boolean expression into a sum-of-product (SOP) and Product-of-sum (POS) form. • Relate a Boolean expression to a truth table • Use a karnaugh map to simplify Boolean expressions.
  • 3. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Boolean Operations and Expressions • Boolean algebra is the mathematics of digital systems. • A basic knowledge of Boolean algebra is indispensable to the study and analysis of logic. • In the last lecture, Boolean operations and expressions in terms of their relationship to NOT, AND, OR, NAND, and NOR gates were introduced.
  • 4. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed After completing this section: • You should be able to define variable • Literal • Identify a sum term • Evaluate a sum term • Identify a product term • Evaluate a product term • Explain Boolean addition • Explain Boolean multiplication
  • 5. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed In Boolean algebra, a variable is a symbol used to represent an action, a condition, or data. A single variable can only have a value of 1 or 0. Summary Boolean Addition The complement represents the inverse of a variable and is indicated with an overbar. Thus, the complement of A is A. A literal is a variable or its complement. Addition is equivalent to the OR operation. The sum term is 1 if one or more if the literals are 1. The sum term is zero only if each literal is 0. Determine the values of A, B, and C that make the sum term of the expression A + B + C = 0? Each literal must = 0; therefore A = 1, B = 0 and C = 1.
  • 6. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Boolean Addition
  • 7. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed In Boolean algebra, multiplication is equivalent to the AND operation. The product of literals forms a product term. The product term will be 1 only if all of the literals are 1. Summary Boolean Multiplication What are the values of the A, B and C if the product term of A.B.C = 1? Each literal must = 1; therefore A = 1, B = 0 and C = 0. What are the values of the A, B and C if the product term of A.B.C = 1?
  • 8. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Boolean Multiplication
  • 9. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 10. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Commutative Laws In terms of the result, the order in which variables are ORed makes no difference. The commutative laws are applied to addition and multiplication. For addition, the commutative law states A + B = B + A In terms of the result, the order in which variables are ANDed makes no difference. For multiplication, the commutative law states AB = BA
  • 11. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Continued..
  • 12. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 13. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 14. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Distributive Law The distributive law is the factoring law. A common variable can be factored from an expression just as in ordinary algebra. That is AB + AC = A(B+ C) The distributive law can be illustrated with equivalent circuits: B+ C C A X B AB B X A C A AC AB + ACA(B+ C)
  • 15. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Rules of Boolean Algebra 1. A + 0 = A 2. A + 1 = 1 3. A . 0 = 0 4. A . 1 = A 5. A + A = A 7. A . A = A 6. A + A = 1 8. A . A = 0 9. A = A = 10. A + AB = A 12. (A + B)(A + C) = A + BC 11. A + AB = A + B
  • 16. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 17. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 18. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Rules of Boolean Algebra Rules of Boolean algebra can be illustrated with Venn diagrams. The variable A is shown as an area. The rule A + AB = A can be illustrated easily with a diagram. Add an overlapping area to represent the variable B. A B AB The overlap region between A and B represents AB. AA BA B AB The diagram visually shows that A + AB = A. Other rules can be illustrated with the diagrams as well. =
  • 19. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 20. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed The proof is shown in the table, which shows the truth table and the resulting logic circuit simplification
  • 21. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed A Summary Rules of Boolean Algebra A + AB = A + B This time, A is represented by the blue area and B again by the red circle. B The intersection represents AB. Notice that A + AB = A + B AABA Illustrate the rule with a Venn diagram.
  • 22. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 23. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 24. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Rules of Boolean Algebra Rule 12, which states that (A + B)(A + C) = A + BC, can be proven by applying earlier rules as follows: (A + B)(A + C) = AA + AC + AB + BC = A + AC + AB + BC = A(1 + C + B) + BC = A . 1 + BC = A + BC This rule is a little more complicated, but it can also be shown with a Venn diagram, as given on the following slide…
  • 25. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 26. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary DeMorgan’s Theorem The complement of a product of variables is equal to the sum of the complemented variables. DeMorgan’s 1st Theorem AB = A + B Applying DeMorgan’s first theorem to gates: OutputInputs A B AB A + B 0 0 1 1 0 1 0 1 1 1 1 0 1 1 1 0 A + B A B AB A B NAND Negative-OR
  • 27. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 28. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary DeMorgan’s Theorem DeMorgan’s 2nd Theorem The complement of a sum of variables is equal to the product of the complemented variables. A + B = A . B Applying DeMorgan’s second theorem to gates: A B A + B AB OutputInputs 0 0 1 1 0 1 0 1 1 0 0 0 1 0 0 0 AB A B A + B A B NOR Negative-AND Remember: “Break the bar, change the sign”
  • 29. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 30. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Summary Apply DeMorgan’s theorem to remove the overbar covering both terms from the expression X = C + D. DeMorgan’s Theorem To apply DeMorgan’s theorem to the expression, you can break the overbar covering both terms and change the sign between the terms. This results in X = C . D. Deleting the double bar gives X = C . D. =
  • 31. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Apply the demorgans theorem to the following expressions • (XYZ)' and (X+Y+Z)' • (X'+Y'+Z')' • (WXYZ)' AND (W+X+Y+Z)' • (W'X'Y'Z')'
  • 32. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 33. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 34. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Apply demorgans theorems to each of the following expressions • [(A+B+C)D]‘ • (ABC+DEF)‘ • [AB‘+C'D+EF]'
  • 35. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 36. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed A C D B Summary Boolean Analysis/expression of Logic Circuits Combinational logic circuits can be analyzed by writing the expression for each gate and combining the expressions according to the rules for Boolean algebra. Apply Boolean algebra to derive the expression for X. Write the expression for each gate: Applying DeMorgan’s theorem and the distribution law: C (A + B ) = C (A + B )+ D (A + B ) X = C (A B) + D = A B C + D X
  • 37. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 38. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 39. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 40. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 41. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 42. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 43. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 44. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 45. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 46. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 47. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Standard forms of Boolean expressions • All Boolean expressions, regardless of their form, can be converted into either of two standard forms • Sum-of-products (SOP) form • Also called Minterms • Product of Sum (POS) form • Also called Maxterms • Standardization makes the evaluation, simplification, and implementation of Boolean expressions much more systematic and easier.
  • 48. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Sum of product (SOP) Form • A product term was defined as a term consisting of the product (Boolean multiplication) of literals (variables or their complements). • When two or more product terms are summed by Boolean addition. the resulting expression is a sum-of-products (SOP). • Some examples are • AB + ABC • ABC + CDE + B‘CD‘ • A‘B + A‘BC‘ + AC
  • 49. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SOP (Minterms) • Also, an SOP expression can contain a single- variable like, • A + A’BC’ + BC’D’ Domain of a Boolean Expression • The domain of a general Boolean expression is the set of variables contained in the expression in either complemented or un complemented form. • For example, the domain of the expression A’B + AB’C is:- • The set of variables A, B, C.
  • 50. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 51. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SOP AND/OR Implementation of an SOP Expression • Implementing an SOP expression simply requires ORing the outputs of two or more AND gates. • A product term is produced by an AND operation, and the sum (addition) of two or more product terms is produced by an OR operation. • Therefore, an SOP expression can be implemented by AND-OR logic in which the outputs of a number of AND gates connect to the inputs of an OR gate.
  • 52. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 53. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SOP form NAND/NAND Implementation of an SOP Expression • NAND gates can be used to implement an SOP expression. • Using only NAND gates, an AND/OR function can be accomplished. • The first level of NAND gates feed into a NAND gate that acts as a negative-OR gate. • The NAND and negative-OR inversions cancel and the result is effectively an AND/OR circuit.
  • 54. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 55. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Conversion of a General Expression to SOP Form • Any logic expression can be changed into SOP form by applying Boolean algebra techniques. • For example. the expression A(B + CD) can be converted to SOP form by applying the distributive law. • A(B + CD) = AB + ACD
  • 56. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Convert each of the following Boolean expressions to SOP form • AB + B(CD + EF) = AB + BCD + BEF • (A + B)(B + C + D) = AB + AC + AD + BB + BC + BD • [( A + B )’ + C ]’ = (( A + B )’)’C’ = (A + B)C’ = AC’ + BC’.
  • 57. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Standard SOP Form • SOP expressions in which some of the product terms do not contain some of the variables in the domain of the expression. • For example • A’ BC’ + AB’ D + A’ B C’ D • Domain made up of the variables A, B, C. and D. • Complete set of variables in the domain is not represented in the first two terms of the expression. • D or D’ is missing from the first term • C and C’ is missing from the second term.
  • 58. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SOP form • A standard SOP expression is one in which all the variables in the domain appear in each product term in the expression. • For example. • AB’CD + A’ B’ CD’ + ABC’ D’
  • 59. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed STANDARD SOP • Converting Product Terms to Standard SOP • Step 1.Multiply each nonstandard product term by a term made up of the sum of a missing variable and its complement. This results in two product terms. As you know you can multiply anything by 1 with out changing its value. • Step 2.Repeat Step 1 until all resulting product terms contain all variables in the domain in either complemented or un complemented form. • In converting a product term to standard form, the number of product terms is doubled for each missing variable
  • 60. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Convert the following Boolean expression into standard SOP form: • AB’ C + A’ B’+ ABC’ D • Solution • AB’ C = AB’ C(D + D’ ) = AB’ CD + AB’ CD’ • In this case, two standard product terms are the result. • The second term, A’B’, is missing variables C or C’ and D or D’, so first multiply the second term by C + C’ as follows.
  • 61. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Example • A‘ B‘ = A‘B‘(C + C‘) = A‘ B‘ C + A‘ B‘ C ‘ • The two resulting terms are missing variable D or D’, so multiply both terms by D + D’ as follows: • A’B’ = A’B’C + A’B’C’ = A’B’C(D + D’) + • A’B’C’(D + D’) • = A’ B’ CD + A’ B’ CD’ + A’B’C’D + A’B’C’D’ • In this case, four standard product terms are the result. The third term, ABCD, is already in standard form. The complete standard SOP form of the original expression is as follows:
  • 62. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Example contd • Accumulated terms are, • AB’ C + A’ B’+ ABC’ D = AB’CD + AB’CD’ + A’B’CD + A’ B’CD’ + A’B’C’D + A’B’C’D’ + ABC’D. • Convert the expression WX’ Y + X’ YZ’ + WX Y’to standard SOP form.
  • 63. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed The Product-of-Sums (POS) Form • When two or more sum terms are multiplied, the resulting expression is a product-of- sums (POS). • (A’ + B)(A + B’ + C) • (A + B’ + C)( C + D’ + E’)(B + C’ + D) • (A’ + B)(A’ + B’ + C’)(A + C’) • A POS expression can contain a single- variable term, as in the following i.e. A’, • A’ (A + B’ + C)(B’+ C’ + D).
  • 64. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 65. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 66. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 67. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 68. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 69. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 70. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 71. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Converting Standard SOP to Standard POS form.
  • 72. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 73. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed The equivalent POS expression is • (A+B+C’)(A’+B+C)(A’+B’+C)
  • 74. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Converting SOP expressions to the truth table format
  • 75. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 76. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 77. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Converting POS Expressions to Truth Table Format
  • 78. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 79. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 80. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 81. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 82. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed
  • 83. © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed