Logic - Gates - Module 3
Logic - Gates - Module 3
1
Logic Gates
2
Logic Gates
• The three simplest gates are the AND, OR, and NOT
gates.
4
Logic Gates
5
Logic Gates
6
Logic Gates
7
Digital Components
9
Objectives
10
Boolean Algebra
11
Boolean Algebra
12
Boolean Algebra
13
Boolean Algebra
14
Boolean Algebra
• As with common
arithmetic, Boolean
operations have rules of
precedence.
• The NOT operator has
highest priority, followed
by AND and then OR.
• This is how we chose the
(shaded) function
subparts in our table.
16
Boolean Algebra
17
Boolean Algebra
Inverse Law
X X’ = 0 X + X’ = 1
18
Boolean Algebra
Associative Law (X Y) Z = X (Y Z) (X + Y) + Z = X + ( Y + Z)
Distributive Law X + Y Z = ( X + Y) (X + Z) X (Y + Z) = X Y + X Z
19
Boolean Algebra
20
Boolean Algebra
21
Boolean Algebra
is:
22
Boolean Algebra
23
Conclusion
Combinational Circuits
25
Combinational Circuits
26
Combinational Circuits
27
Combinational Circuits
28
Combinational Circuits
29
Combinational Circuits
30
Combinational Circuits
31
Combinational Circuits
32
Combinational Circuits
33
Combinational Circuits
If x = 0 and y = 1,
which output line
is enabled?
34
Conclusion
35
Minterms and Maxtermas,
K- MAP
Lecture-4
36
Standard Forms related to
•
Boolean Function
We need to consider formal techniques for the
simplification of Boolean functions.
– Minterms and Maxterms
– Sum-of-Minterms and Product-of- Maxterms
– Sum-of-Products (SOP) and Product-of-Sums (POS)
44
Shorthand: ∑ and ∏
• f1(a,b,c) = ∑ m(1,2,4,6), where ∑ indicates that this is a
sum-of-products form, and m(1,2,4,6) indicates that the
minterms to be included are m1, m2, m4, and m6.
• f1(a,b,c) = ∏ M(0,3,5,7), where ∏ indicates that this is a
product-of-sums form, and M(0,3,5,7) indicates that the
maxterms to be included are M0, M3, M5, and M7.
• Since mj = Mj’ for any j, (for 3 variable total number
of value is j (2 power 3=8) or J=0,1,2,3,4,5,6,7
∑ m(1,2,4,6) = ∏ M(0,3,5,7) = f1(a,b,c)
0 m
0
m
1 OR 0 m
0
m
2
2 3 1 3
1 m m 1 m m
2 3 1 3
x 00 01 11 10
0 1 3 2
0 m m m m
0 1 3 2
4 5 7 6
1 m m m m
4 5 7 6
-Each cell is adjacent to three other cells (left or right or top or bottom or edge
wrap)
group of 2 terms
group of 4 terms
• f1(x, y, z) = ∑ m(2,3,5,7) 0 1 1
1 1 1
f (x, y, z) = x’y + xz
1
• f2(x, y, z) = ∑ m (0,1,2,3,6)
1 1 1 1
f (x, y, z) = x’+yz’
2
1
m m m m
01 4 5 7 6
m m m m
11 12 13 15 14
m m m m
10 8 9 11 10
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
Example
00 01 11 10
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
Another Example ab
x 1 0 0
1 x 0 x
• Simplify the function 1 x x 1
shown at right. x 1 0 0
• f = a’c’+ ab 1 x 0 x
1 x x 1
or 0 x x 0
• f = a’c’+b’d
x 1 0 0
1 x 0 x
1 x x 1
0 x x 0
2024.10.18 Boolean Algebra
Problem
Q 1. Minimize form of logic expression.
A’B’C’+A’BC’+A’BC+ABC’ is
(1). A’C’ +BC’+A’B
(2). AC’+B’C+A’B
(3). A’C+B’C+A’B
(4). AC’+B’C+AB’