0% found this document useful (0 votes)
27 views20 pages

SOP, POS Forms

DE

Uploaded by

Ankur Saharia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views20 pages

SOP, POS Forms

DE

Uploaded by

Ankur Saharia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

B.

TECH FIRST
YEAR
ACADEMIC YEAR: 2022-2023

COURSE NAME: BASIC ELECTRONICS


COURSE CODE : EC 1001
LECTURE SERIES NO : 01(ONE)
CREDITS : 3
MODE OF DELIVERY : ONLINE (POWER POINT PRESENTATION)
FACULTY :
EMAIL-ID :
PROPOSED DATE OF DELIVERY:
“UNDERSTANDING
OF VARIOUS FORMS
SESSION OUTCOME TO REPRESENT A
LOGIC ”
ASSIGNMENT
QUIZ ASSESSMENT
MID TERM EXAMINATION –II
END TERM EXAMINATION
CRITERIA’S
PROGRAM
OUTCOMES
MAPPING WITH
CO4

[PO1]

DEMONSTRATE DIFFERENT NUMBER SYSTEMS,


BOOLEAN EXPRESSIONS AND DIFFERENT
ELEMENTS OF COMMUNICATION SYSTEMS AND
TO PROMOTE DIFFERENT SKILLS TOWARDS
ELECTRONICS INDUSTRIES.
TRUTH TABLES

 Truth table: a unique representation of a Boolean function


 Tabular form that represents the relationship between the input variables of a function
and its output
 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.
BOOLEAN EXPRESSIONS-NOT UNIQUE
x y z F G
0 0 0 1 1
 Unlike truth tables, expressions representing a Boolean
function are NOT unique. 0 0 1 0 0
 Example: 0 1 0 1 1
 F(x,y,z) = x’•y’•z’ + x’•y•z’ + x•y•z’
0 1 1 0 0
 G(x,y,z) = x’•y’•z’ + y•z’
 The corresponding truth tables for F(x,y,z) and G(x,y,z) 1 0 0 0 0
are to the right. They are identical. 1 0 1 0 0
 Thus, F(x,y,z) = G(x,y,z)
1 1 0 1 1
1 1 1 0 0
ALGEBRAIC MANIPULATION

 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
CANONICAL AND STANDARD FORMS

 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)
DEFINITIONS
 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 actual literal
 Maxterm: a sum term in which all the variables appear
exactly once, either complemented or actual literal.
MINTERM
 Represents exactly one combination in the truth table.
 Denoted by m , where j is the decimal equivalent of the
j
minterm’s corresponding binary combination (bj).
 A variable in m is complemented if its value in b is 0, otherwise
j j
its value in bj is 1.
 Example: Assume 3 variables (A,B,C), and j=3. Then, b = 011
j
and its corresponding minterm is denoted by

mj = A’BC
MAXTERM
 Represents exactly one combination in the truth table.
 Denoted by M , where j is the decimal equivalent of the
j
maxterm’s corresponding binary combination (bj).
 A variable in M is complemented if its value in b is 1,
j j
otherwise its value in bj is 0.
 Example: Assume 3 variables (A,B,C), and j=3. Then, b = 011
j
and its corresponding maxterm is denoted by

Mj = A+B’+C’
TRUTH TABLE NOTATION FOR MINTERMS AND MAXTERMS
x y z Minterm Maxterm
0 0 0 x’y’z’ = x+y+z = M0
m0
 Minterms and Maxterms
are easy to denote using a 0 0 1 x’y’z = x+y+z’ =
truth table. m1 M1
0 1 0 x’yz’ = x+y’+z =
m2 M2
 Example:
0 1 1 x’yz = x+y’+z’=
Assume 3 variables x,y,z m3 M3
(order is fixed)
1 0 0 xy’z’ = x’+y+z =
m4 M4
1 0 1 xy’z = x’+y+z’ =
m5 M5
CANONICAL FORMS (UNIQUE)

 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)
CANONICAL FORMS (CONT.)
 Canonical Sum-Of-Products:
The minterms included are those mj such that F( ) = 1
in row j of the truth table for F( ).
F= ABC+ABC’+AB’C’
 Canonical Product-Of-Sums:
The maxterms included are those Mj such that F( ) = 0
in row j of the truth table for F( ).
F= (A’+B’+C’)(A’+B’+C)(A’+B+C)
EXAMPLE
Truth table for f1(a,b,c) at right a b c f1
 The canonical sum-of-products form for f is
1 0 0 0 0
f1(a,b,c) = m1 + m2 + m4 + m6
= a’b’c + a’bc’ + ab’c’ + abc’ 0 0 1 1
 The canonical product-of-sums form for f is 0 1 0 1
1
f1(a,b,c) = M0 • M3 • M5 • M7 0 1 1 0
= (a+b+c)•(a+b’+c’)•
1 0 0 1
(a’+b+c’)•(a’+b’+c’).
1 0 1 0
Observe that: mj = Mj’
1 1 0 1
1 1 1 0
SHORTHAND: ∑ AND ∏

 f (a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that this is a sum-


1
of-products form, and m(1,2,4,6) indicates that the minterms to
be included are m1, m2, m4, and m6.

 f (a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that this is a


1
product-of-sums form, and M(0,3,5,7) indicates that the
maxterms to be included are M0, M3, M5, and M7.

 Since m = Mj’ for any j,


j

F1(a,b,c) =∑ m(1,2,4,6) = ∏ M(0,3,5,7)


CONVERSION BETWEEN CANONICAL FORMS

 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’)
STANDARD FORMS (NOT UNIQUE)
 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.
CONVERSION OF SOP FROM STANDARD TO CANONICAL FORM

 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’
CONVERSION OF POS FROM STANDARD TO CANONICAL
FORM
 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’)

You might also like