DCF Module II
DCF Module II
OBJECTIVES
Understand logic simplifications
Understand Boolean postulates and theorems
simplification with the help of logic rules and truth
tables.
● Standard and Canonical Forms
■ SOP and POS (Standard forms)
■ Minterms and Maxterms (Canonical forms)
Give the basic principle of Karnaugh map.
Two variable, three variables and four variables K-
maps with reductions.
Boolean algebra
●The mathematical theory that describes the
switching circuits is called as Boolean
algebra
●The system consists of (0,1) and two binary
operators AND, OR and one unary operator
NOT.
●Any complex logic statement can be
expressed by Boolean functions
Need for simplifying Boolean
expressions
Logic circuits are designed using gates
Realization of digital circuit with minimum
components reduce cost and complexity
The technique of simplifying logic
expressions is called Reduction or
simplification
Boolean Postulates (axioms) and
theorems
●Axioms or postulates are set of logical
expressions that we accept without proof
●Upon which we build useful theorems
Laws of Boolean algebra
AND law
OR law
●It allows to change the position of AND or
OR variables
●Law1 A+B =B+A
●AND
Binary
●OR
●NOT Unary
1 + 0 = 1, 1 + 1 = 1 (≠ 102)
Universal Gates
●The gate that can be used to realize logic
circuits single handedly.
●The gates NAND and NOR are called
universal Gates
74LS02
Quad 2-input NOR
74LS02
Jun 24, 2014 Boolean Algebra
Quad 2-input NOR
NOR Gate realization
●NOT gate (Before Bubble)
X
●OR gate
X
Y
Y
X Y Z
“Inverters” NOR Gate
0 0 0
0 1 0
1 0 0
1 1 1
4–48
X-NOR gate
●It is a combination of X-OR gate with a NOT
gate
BC
A 00 01 11 10
0 1 3 2 variable ordering is (A,B,C);BC
0 m0 m1 m3 m2 specifies column,A specifies row.
-Each cell is adjacent to three other
4 5 7 6
cells (left or right or top or bottom
1 m4 m5 m7 m6 or edge wrap)
minterm
group of 2 terms
group of 4 terms
Simplification
● Enter minterms of the Boolean function into the
map, then group terms
Group1= A’B’C+AB’C
=B’C
Group2 =AB
Group3=BC’
F=AB+B’C+BC’
Example: f(a,b,c) = a’c + abc + bc’
1 1 1 abc 00 01 11 10
1 1 0 0 1 1 1
1 0 0 1 1
●Result: f(a,b,c) = a’c+ b
●f1(x, y, z) = ∑ m(2,3,5,7) 0 1 1
1 1 1
● f1(x, y, z) = x’y + xz
●f2(x, y, z) = ∑ m (0,1,2,3,6)
1 1 1 1
●f2(x, y, z) = x’+yz’
1
F’=(A+B+C)((A’+C”)(A’+B’)(B+C)
●G1= x
●G2=y+z
Y’=x.(y+z)
Four-Variable Maps
CD
AB 00 01 11 10
00 m0 m1 m3 m2
01 m4 m5 m7 m6
10 m8 m9 m11 m10
Boolean Algebra
Four-variable Map Simplification
One square represents a minterm of 4
literals.
A rectangle of 2 adjacent squares
represents a product term of 3 literals.
A rectangle of 4 squares represents a
product term of 2 literals.
A rectangle of 8 squares represents a
product term of 1 literal.
A rectangle of 16 squares produces a
function that is equal to logic 1.
Jun 24, 2014 Boolean Algebra PJF - 71
Example
● Simplify the following Boolean function (A,B,C,D)
= ∑m(0,1,2,4,5,7,8,9,10,12,13).
● First put the function g( ) into the map, and then
group
cd
as many 1s as possible.
ab
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1
1 1 1 1 1 1
g(A,B,C,D) = c’+b’d’+a’bd
Jun 24, 2014 Boolean Algebra PJF - 73
Reduce
Hints
If provided expressions are not in standard
form convert it to standard form
If a truth table is provided
for SOP consider the terms having high
output function
for POS consider the terms having low
output funtion
Simplify SOP using K-map
1 Y=m0+m1+m3+m7
2 f(a,b,c)=Em(0,2,4,5)
3 F(a,b,c,d)=acd+a’b+d’
Simplify POS using K-map
1 S=II M(0,1,2,3,4,7)
2 S=A.(B+C).(B’+C’)
Simplify for POS using K-map
INPUTS OUTPUT
A B C Y
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
Don’t care condition
For certain input combinations output is
unspecified
■ Either it is invalid
■ Precise value has no concern
The combination for which the value of the
expression are not specified are called don’t
care combination
It is denoted by X or
During the process of reduction it can be
treated as either 0 or 1
cd
ab 00 01 11 10
Example 00 0 1 0 1
01 1 1 0 1
●Simplify the function f(a,b,c,d) 11 0 0 x x
10 1 1 x x
whose K-map is shown at the
right. 0 1 0 1
●f = a’c’d+ab’+cd’+a’bc’ 1 1 0 1
0 0 x x
or 1 1 x x
●f = a’c’d+ab’+cd’+a’bd’
0 1 0 1
1 1 0 1
0 0 x x
1 1 x x
Jun 24, 2014 Boolean Algebra PJF - 80
cd
Example ab
x 1 0 0
1 x 0 x
●Simplify the function 1 x x 1
g(a,b,c,d) whose K-map 0 x x 0
is shown at right. x 1 0 0
●g = a’c’+ ab 1 x 0 x
1 x x 1
or
0 x x 0
●g = a’c’+b’d
x 1 0 0
1 x 0 x
1 x x 1
0 x x 0
Jun 24, 2014 Boolean Algebra PJF - 81
KMAP – Summary
2024/11/15 Unit II
Digital computer
KMAP – Advantages and disadvantages
Advantages
● It is a visualization of truth table.
● It is easy construct the groups.
● Easy to reduce the equation
● Can also consider the don’t care output to find the SOP.
2024/11/15 Unit II
Digital computer
Assignment
I Simplify using Boolean Algebra
1 A(A’+AB)
2 AB’C+A’BC+A’B’C
3 AB+A’B’C+A
4 A’B+A’BC’+A’BCD+A’BC’D’E
5 AB+(A’+B’)C+AB
Assignment
II)Draw truth table, Kmap and simplify
Q1: Y=∑(m2,m3)
Q2: Y= ∑(m2,m6,m7)
Q3: Y= ∑(m1,m6,m7,m14)
Q4: Y = ∑(m5,m8,m9,m10,m11,m12,m13,m14,m15)
Q5: Y = ∑(m4,m6,m12,m14)
Q6: Y= ∑(m0,m1,m4,m5,m6,m8,m9,m12,m13,m14)
Q7: Y= ∏(M3,M7,M11,M14,M15)
Q8: Y= ∏(M0,M1,M2,M6,M8,M10,M11,M12)
Q9: Y= ∑(m9) and don’t cares =
(m10,m11,m12,m13,m14,m15)
Q10: find SOP and POS Y= ∏(M4,M5,M6,M7,M8,M9)
which logic you will select for implementation?. Why?.
2024/11/15 Unit II
Digital computer
NAND AND NOR
IMPLIMENTATION
● Simplified Boolean expression can be
implemented by AND-OR gates.
● NAND and NOR gates are easier to fabricate
with electronic components