Lec 17
Lec 17
ENGINEERING
ECE-249
11
Logic Design
12
Standard Forms
• Standard Sum-of-Products (SOP) form: equations
are written as "AND" terms summed with "OR"
operators.
• Standard Product-of-Sums (POS) form: equations
are written as "OR" terms, all "ANDed" together.
• Examples:
SOP: A B C+AB C + B
POS: (A + B) • (A+B +C) • (C)
14
Minterm
• A minterm is a special product of literals, in which each input
variable appears exactly once.
• A function with n variables has 2n minterms
• A three-variable function, such as f(A,B,C), has 22 = 4 minterms:
15
Minterm
A three-variable function, such as f(x,y,z), has 23 = 8 minterms:
16
Minterm
17
Sum of Product (SOP) form
• Every function can be written as a sum of products.
• If you have a truth table for a function, you can write a sum of
minterms expression just by picking out the rows of the table
where the function output is 1.
18
Standard Sum-of-Products (SOP)
19
Standard Sum-of-Products (SOP)
20
Standard Sum-of-Products (SOP)
• Example: F( A, B, C) = (1,4,5,6,7 )
• Simplifying
F= A B C + A BC +AB C + ABC +AB C
= A B (C+C) + AB C + ABC
+ AB C + AB C The Canonical Sum-
= A B + AB (C+C) + (A +A)B C of-Minterms form
= A B + AB + B C has (5 * 3) = 15
= A (B + B) +B C literals and 5 terms.
= A +B C The reduced SOP
form has 3 literals
and 2 terms.
21
AND/OR Two-level Implementation of
SOP Expression
• The two implementations for F are
shown below: (Which is simpler?)
A
B
C
A A
B F
C
A B
B F
C C
A
B
C
A
B
C 22
Standard SOP Form
23