Lab 4
Lab 4
Jawad Ahmed
Syndicate A
—
533047
CANONICAL SOP/POS FORM AND LOGIC DESIGNING
In Boolean algebra, a Boolean function can be represented in two canonical forms: the Canonical Disjunctive
Normal Form (Minterm) and the Canonical Conjunctive Normal Form (Maxterm). A minterm is a term
that includes all Boolean variables in either their true or complemented form and produces an output of 1 for a
specific combination of input values. Conversely, a maxterm is a term that results in an output of 0 for a
particular input combination.
Boolean functions can be expressed using the Sum of Minterms (SOP), also known as the Sum of Products,
or the Product of Maxterms (POS), also referred to as the Product of Sums. When a Boolean function is
represented as a sum of minterms or a product of maxterms, it is considered to be in its canonical form. These
standard representations are essential for simplifying and analyzing digital logic circuits.
One method of expressing a Boolean function is through the Sum of Products (SOP) form. As the name
implies, this form is obtained by performing an OR operation on multiple product terms. These product terms,
known as minterms, are represented using the notation 'm'. Each minterm is formed by applying an AND
operation to Boolean variables, where each variable appears in either its normal or complemented form. This
representation is widely used in digital logic design to simplify and analyze Boolean functions.
JAWAD AHMED
Task No 1:
Write the Boolean expression of the following functions. Simplify the
expression using algebraic manipulation and draw the logic diagram. Derive the
expressions in BOTH Sum-of-Product (SOP) and Product-of-Sum (POS) forms. Show
proper wiring in prototyping your circuit. Mention the number of literals and gates
needed for implementing the functions in hardware.
F(A,B,C) = ∑𝒎(𝟎,𝟐,𝟑,𝟔,𝟕)
SOLUTION:
F(A,B,C)=m0+m2+m3+m6+m7
Expanding minterms:
(A,B,C)=(A’⋅B’⋅C’)+(A’⋅B⋅C’)+(A’⋅B⋅C)+(A⋅B⋅C’)+(A⋅B⋅C)
F(A,B,C)=A’⋅C’+A’⋅B+A⋅B
Truth Table
A | B | C | F(A,B,C)
----------------------
0|0|0|1
0|0|1|0
0|1|0|1
0|1|1|1
1|0|0|0
1|0|1|0
1|1|0|1
1|1|1|1
JAWAD AHMED
SOP 000
SOP 010
JAWAD AHMED
SOP 100
SOP 111
JAWAD AHMED
POS 000
POS 001
JAWAD AHMED
POS 101
JAWAD AHMED
POS 111
TASK No 2:
SOP Implementation:
JAWAD AHMED
Expression:
Y = (S1’⋅S2’)S3
POS Implementation:
Expression:
Y=(S1+S2+S3’)
Truth Table
S1 S2 S3 F
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
001
JAWAD AHMED
011
101
JAWAD AHMED
111
JAWAD AHMED
Conclusion
In this lab, we analyzed and implemented a Boolean function using both
Sum of Products (SOP) and Product of Sums (POS) forms. We derived
the Boolean expressions, constructed the corresponding truth table, and
designed the logic circuit diagrams. Through algebraic simplifications, we
reduced the number of gates required for hardware implementation,
optimizing the circuit's efficiency. The results were verified using the truth
table, confirming the correctness of our design. This experiment provided
practical insight into Boolean algebra, logic gate minimization, and digital
circuit prototyping.
JAWAD AHMED