Академический Документы
Профессиональный Документы
Культура Документы
Fundamentals
Tenth Edition
Floyd
Chapter 4
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Boolean Multiplication
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Commutative Laws
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Associative Laws
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Distributive Law
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Rules of Boolean Algebra
1. A + 0 = A 7. A . A = A
2. A + 1 = 1 8. A . A = 0
=
3. A . 0 = 0 9. A = A
4. A . 1 = A 10. A + AB = A
5. A + A = A 11. A + AB = A + B
6. A + A = 1 12. (A + B)(A + C) = A + BC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Rules of Boolean Algebra
A B A
AB =
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Rules of Boolean Algebra
Illustrate the rule A + AB = A + B with a Venn
diagram.
A
A BA
AB
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
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
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Three areas represent the variables A, B, and C.
The area representing A + B is shown in yellow.
The area representing A + C is shown in red.
The overlap of red and yellow is shown in orange.
A B A B
A+B
A+C = BC
C C
(A + B)(A + C) A + BC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
DeMorgan’s Theorem
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
DeMorgan’s Theorem
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
DeMorgan’s Theorem
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
DeMorgan’s Theorem
Apply DeMorgan’s theorem to simplify
(a)
(b)
(a)
(b)
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
DeMorgan’s Theorem
Apply DeMorgan’s theorem to derive the
expressions for exclusive NOR from
exclusive OR expression
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Boolean Analysis of Logic Circuits
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SIMPLIFICATION USING BOOLEAN ALGEBRA
Using Boolean algebra techniques, simplify this
expression:
=
=
= = =
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SIMPLIFICATION USING BOOLEAN ALGEBRA
Using Boolean algebra techniques, simplify
these expressions
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SOP and POS forms
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SOP Standard form
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SOP Standard form
Convert A B C + A B + A B C D to standard form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
AND/OR Implementation of an SOP Expression
AB + BCD + AC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
NAND/NAND Implementation of an SOP Expression
AB + BCD + AC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Binary Representation of a Standard Product Term
In SOP standard form, a standard product term is equal to 1
for only one combination of variable values.
For example, the product term ABCD is 1
when A = 1, B = 0, C = 1, and D = 0.
ABCD = 1. 0. 1 . 0 = 1. 1 . 1 . 1 = 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Binary Representation of a Standard Product Term
Determine the binary values for which the following
standard SOP expression is equal to 1:
ABCD + ABCD + ABCD
The term ABCD = 1, The given SOP = 1
when A = 1, B = 1, C = 1, and D = 1 when one of three
ABCD = 1. 1. 1 . 1 = 1 product terms is 1,
The term ABCD = 1, i.e.
when A = 1, B = 0, C = 0, and D = 1 ABCD = 1, or
ABCD = 1. 0. 0 . 1 = 1. 1. 1 . 1 = 1 ABCD = 1, or
ABCD = 1
The term ABCD = 1,
when A = 0, B = 0, C = 0, and D = 0
ABCD = 0. 0. 0 . 0 = 1. 1. 1 . 1 = 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SOP Standard form
The Logic Converter in Multisim can convert a circuit into
standard SOP form.
Use Multisim to view the logic for the circuit
in standard SOP form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
SOP Standard form
SOP
Standard
form
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
POS Standard form
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
POS Standard form
Convert (A + B + C)(B + C + D)(A + B + C + D)
to POS form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
AND/OR Implementation of an POS Expression
(A + B)(B + C + D)(A + C)
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Binary Representation of a Standard Sum Term
In POS standard form, a standard sum term is equal to 0
for only one combination of variable values.
For example, the sum term A + B + C + D is 0
when A = 0, B = 1, C = 0, and D = 1,
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Binary Representation of a Standard Product Term
Determine the binary values for which the following
standard POS expression is equal to 0:
(A + B + C + D) (A + B + C + D)(A + B + C + D)
The term A + B + C + D = 0, The given POS = 0
when A = 0, B = 0, C = 0, and D = 0 when one of three
A+B+C+D=0+0+0+0=0 sum terms is 0, i.e.
The term A + B + C + D = 0, A + B + C + D = 0, or
when A = 0, B = 1, C = 1, and D = 0 A + B + C + D = 0, or
A+B+C+D=0+0+0+0=0 A+B+C+D=0
The term A + B + C + D = 0,
when A = 1, B = 1, C = 1, and D = 1
A+B+C+D=0+0+0+0=0
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting Standard SOP to Standard POS
Binary values of the product terms in any standard SOP expression
are not present in the equivalent standard POS expression.
Also, the binary values that are not represented in the SOP
expression are present in the equivalent POS expression.
SOP POS Conversion steps:
Step 1: Evaluate each product term in the SOP expression.
i.e., determine the binary numbers that represent the product
terms.
Step 2: Determine all of the binary numbers not included in
the evaluation in Step 1.
Step 3: Write the equivalent sum term for each binary
number from Step 2 and express in POS form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting Standard SOP to Standard POS
Convert the following SOP expression to an
equivalent POS expression:
ABC + ABC + ABC + ABC + ABC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting SOP Expressions to Truth Table Format
Develop a truth table for the standard SOP expression
A BC + AB C + ABC
A B C OUTPUT PRODUCT TERM
0 0 0 0
0 0 1 1 ABC
0 1 0 0
0 1 1 0
1 0 0 1 ABC
1 0 1 0
1 1 0 0
1 1 1 1 ABC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting POS Expressions to Truth Table Format
Develop a truth table for the standard POS expression
(A + B + C)(A + B + C)(A + B + C)(A + B + C)(A + B + C )
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting a Truth Table to an SOP/POS Expression
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps
The Karnaugh map (K-map) is a tool for simplifying
combinational logic with 3 or 4 variables. For 3 variables,
8 cells are required (23).
The map shown is for three variables
labeled A, B, and C. Each cell ABC ABC
represents one possible product term.
ABC ABC
Each cell differs from an adjacent
cell by only one variable. ABC ABC
ABC ABC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps
Cells are usually labeled using 0’s and 1’s to represent the
variable and its complement.
C The numbers are entered in gray
AB 0 1
code, to force adjacent cells to be
00 different by only one variable.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps
AB ABC
AB ABC
ABC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Standard SOP Expression
00 1
01 1
11 1 1
10
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification
K-maps can simplify combinational logic by grouping
cells and eliminating variables that change.
Group the 1’s on the map and read the minimum logic.
C 0 1
AB
1 1. Group the 1’s into two overlapping
00
B changes groups as indicated.
across this 01 1 1 2. Read each group by eliminating any
boundary variable that changes across a
11
boundary.
10 C changes
3. The vertical group is read AC.
across this 4. The horizontal group is read AB.
boundary
X = AC +AB
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps 4-variable map
A 4-variable map has an adjacent cell on each of its four
boundaries as shown.
Each cell is different only by
CD CD CD CD
one variable from an adjacent
AB
cell.
AB Grouping follows the rules
AB
given in the text.
The following slide shows an
AB
example of reading a four
variable map using binary
numbers for the variables…
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Standard SOP Expression
Map the following standard SOP expression on a
Karnaugh map:
1 1
1
1 1 1
1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Nonstandard SOP Expression
Map the following SOP expression on a Karnaugh
map:
C
AB 0 1
00 1 1
01 1 1
11 1
10 1 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Nonstandard SOP Expression
Map the following SOP expression on a Karnaugh map:
1 1
1 1
1 1 1 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Group the 1’s on the map and read the minimum logic.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Group the 1’s on the map and read the minimum logic.
C changes across
outer boundary
CD
AB
00 01 11 10 1. Group the 1’s into two separate
00 1 1 groups as indicated.
B changes 2. Read each group by eliminating
01 1 1 any variable that changes across a
11 boundary.
1 1
B changes 3. The upper (yellow) group is read as
10 1 1 AD.
4. The lower (green) group is read as
C changes
AD.
X
X = AD +AD
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
1 X = B+ AC +ACD
X
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Use a Karnaugh map to minimize following SOP
expression:
1 1 1
1 1
1 1
1 1 1 X = D+BC
X
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Group the 1’s on the map and read the minimum logic.
AC + AB + ABD
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
"Don't Care" Conditions
• Sometimes a situation arises in which some input variable
combinations are not allowed.
• E.g, in BCD there are six invalid combinations: 1010, 1011,
1100, 1101, 1110, and 1111.
• Since these unallowed states will never occur in an application
involving the BCD code, they can be treated as "don't care"
terms with respect to their effect on the output.
• For any of the "don't care" terms either a 1 or a 0 may be
assigned to the output:
• The "don't care" terms can be used to advantage on the
Karnaugh map.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
"Don't Care" Conditions
Ignoring""don't cares" Y = ABC + ABCD
With ""don't cares" Y = A + BCD
X X X X
1 1 X X
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Standard POS Expression
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Standard POS Expression
Map the following POS expression on a Karnaugh map:
(A + B + C)(A + B + C)(A + B + C) (A + B + C )
000 010 110 101
C
AB 0 1
00 0
01 0
11 0
10 0
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Mapping a Standard POS Expression
Map the following POS expression on a Karnaugh map:
0 0
0 0
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Use a Karnaugh map to minimize following POS exp.
(0 + 0 + 0) (0 + 0 + 1) (0 + 1 + 0) (0 + 1 + 1) (1 + 1 + 0)
C
AB 0 1
00 0 0 A(B + C)
01 0 0 = AB+AC
11 0 1
10 1 1
X
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Karnaugh maps simplification 4-variable map
Use a Karnaugh map to minimize following POS exp.
(0 + 0 + 1 + 0) (1 + 0 + 0 + 1) (0 + 1 + 0 + 0) (1 + 1 + 0 + 0)
( )( )
(1 + 0 + 0 + 0)(0 + 0 + 0 + 0)
0 0
(C + D) (A + B + D) (A + B + C) 0
0 0
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting Between POS and SOP Using the Karnaugh Map
Using a Karnaugh map, convert the following standard POS
expression into a (a) minimum POS expression, (b) a standard
SOP expression, and (c) a minimum SOP expression.
0
0
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting Between POS and SOP Using the Karnaugh Map
Using a Karnaugh map, convert the following standard POS
expression into a (a) minimum POS expression, (b) a standard
SOP expression, and (c) a minimum SOP expression.
0 1 1 1
0 1 1 1
1 0 1 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Converting Between POS and SOP Using the Karnaugh Map
Using a Karnaugh map, convert the following standard POS
expression into a (a) minimum POS expression, (b) a standard
SOP expression, and (c) a minimum SOP expression.
0 1 1 1
BD BC
0 1 1 1
BCD 1 0 1 1 AC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved