SlideShare a Scribd company logo
1 of 65
Download to read offline
Digital Logic & Circuit Design
Boolean Algebra and Logic Gates
Prepared by:
Nilesh Patidar and Shiraz Husain
Logic Gates
Boolean Algebra and Logic Gates 2
Boolean Postulates and Laws
Identity: X + 0 = X Dual: X • 1 = X
Null: X + 1 = 1 Dual: X • 0 = 0
Idempotent: X + X = X Dual: X • X = X
Involution: (X')' = X
Complementary: X + X' = 1 Dual: X • X' = 0
Commutative: X + Y = Y + X Dual: X • Y = Y • X
Associative: (X+Y)+Z=X+(Y+Z) Dual: (X•Y)•Z=X•(Y•Z)
Distributive: X•(Y+Z)=(X•Y)+(X•Z) Dual: X+(Y•Z)=(X+Y)•(X+Z)
Uniting: X•Y+X•Y'=X Dual: (X+Y)•(X+Y’)=X
Boolean Algebra and Logic Gates 3
Laws
Boolean Algebra and Logic Gates 4
Proving theorems
▪ Example 1: Prove the uniting theorem-- X•Y+X•Y'=X
Distributive =X•Y+X•Y'=X•(Y+Y’)
Complementary = X•(1)
Identity = X
▪ Example 2: Prove the absorption theorem-- X+X•Y=X
Identity X+X•Y=(X•1)+(X•Y)
Distributive = X•(1+Y)
Null = X•(1)
Identity = X
Boolean Algebra and Logic Gates 5
Proving theorems
▪ Example 3: Prove the consensus theorem
(XY)+(YZ)+(X'Z)= XY+X’Z
Solution:
➢ Complementarity XY+YZ+X'Z = XY+(X+X')YZ + X’Z
➢ Distributive = XY+XYZ+X'YZ+X’Z
➢ Use absorption {AB+A=A}
= XY+X'YZ+X'Z
➢ Rearrange terms = XY+X'ZY+X’Z
➢ Use absorption {AB+A=A}
= XY+X'Z
Boolean Algebra and Logic Gates 6
Example: Simplification
Z = A'BC + AB'C' + AB'C + ABC' + ABC
= A'BC + AB'(C’ + C) + AB(C' + C) distributive
= A'BC + AB’ + AB complementary
= A'BC + A(B' + B) distributive
= A'BC+ A complementary
= BC + A absorption
Boolean Algebra and Logic Gates 7
Simplification of Boolean Equation
▪ Reduce the Expression- 𝐴 + 𝐵 (𝐴𝐶 + 𝐵 + ҧ
𝐶 𝐷)
Boolean Algebra and Logic Gates 8
Simplification of Boolean Equation
▪ Simplify the Expression- (𝐵 + 𝐵𝐶)(𝐵 + ത
𝐵𝐶)(𝐵 + 𝐷)
Boolean Algebra and Logic Gates 9
Simplification of Boolean Equation
▪ Simplify the Expression- (𝐵 + 𝐵𝐶)(𝐵 + ത
𝐵𝐶)(𝐵 + 𝐷)
Boolean Algebra and Logic Gates 10
Simplification of Boolean Equation
▪ Simplify the Expression- F= A’B(C’D’ + C’D) + AB (C’D’ +C’D) + AB’C’D
Boolean Algebra and Logic Gates 11
Logic Diagram
▪ Implement the following function using logic gates-
𝐹 = 𝐴𝐵 + 𝐴𝐶 + ത
𝐵
Boolean Algebra and Logic Gates 12
Logic Diagram
▪ Implement the following function using logic gates-
▪ F = (P’Q’ + PQ)R + (P’Q+PQ’)R’
Boolean Algebra and Logic Gates 13
Logic Diagram
▪ Minimize the following Boolean Function & also draw the
simplified logic diagram
Y = (AB+C)(AB+D)
Boolean Algebra and Logic Gates 14
Logic Diagram
▪ Minimize the following Boolean Function & also draw the
simplified logic diagram
Boolean Algebra and Logic Gates 15
Logic Diagram
Obtain the Boolean expression
Boolean Algebra and Logic Gates 16
Logic Diagram
▪ Simplify the given logic diagram.
Boolean Algebra and Logic Gates 17
Duality
▪ It states that in a two valued Boolean algebra, the dual of an
algebraic expression can be obtained simply by interchanging
OR and AND operators and by replacing 1’s by 0’s and 0’s by
1’s.
▪ Find the dual of the following Boolean expressions:
i. A+AB = A
ii. A + A’B = A + B
iii. A + A’ = 1
iv. (A+B)(A+C) = A+BC
Boolean Algebra and Logic Gates 18
Universal Gate: NAND Gate
Boolean Algebra and Logic Gates 19
Bubble Pushing Method- NAND Gate
▪ Step 1: Implement the given Boolean expression in AOI form.
▪ Step 2: Add a bubble at output of each AND gate and input of
each OR gate.
▪ Step 3: Connect a NOT gate on each wire where a bubble is
added in Step 2.
▪ Step 4: Cancel out 2 NOT gates that are connected in series.
▪ Step 5: Replace NOT gate with NAND gate equivalent.
▪ Step 6: Replace bubbled OR with NAND gate.
Boolean Algebra and Logic Gates 20
Implementation using NAND Gate
Boolean Algebra and Logic Gates 21
▪ Implement the following function using NAND gates only
Y = AB’ + BC
Implementation using NAND Gate
Boolean Algebra and Logic Gates 22
▪ Implement the following function using NAND gates only
F= AB ( C+D) + E
Universal Gate: NOR gate
Boolean Algebra and Logic Gates 23
Bubble Pushing Method- NOR Gate
▪ Step 1: Implement the given Boolean expression in AOI form.
▪ Step 2: Add a bubble at input of each AND gate and output of
each OR gate.
▪ Step 3: Connect a NOT gate on each wire where a bubble is
added in Step 2.
▪ Step 4: Cancel out 2 NOT gates that are connected in series.
▪ Step 5: Replace NOT gate with NOR gate equivalent.
▪ Step 6: Replace bubbled AND with NOR gate.
Boolean Algebra and Logic Gates 24
Implementation using NOR Gate
Boolean Algebra and Logic Gates 25
▪ Implement the following function using NOR gates only
F = A(B’+C) + (BC)
Implementation using NOR Gate
Boolean Algebra and Logic Gates 26
▪ Implement the following function using NOR gates only
F = (A’+B+C)(A+B)D
Implementation using NOR Gate
Boolean Algebra and Logic Gates 27
▪ Implement the following function using NOR gates only
F= (C+BD’).(B’CA+CD)
Standard Form (SOP & POS)
▪ Standard SOP form
➢ Y = ABC + AB’C’ + A’BC
➢ Each product term consists of all the literals in the
complemented or uncomplemented form
▪ Standard POS form
➢ Y = (A+B+C’)(A+B’+C)(A’+B’+C’)
➢ Each sum term consists of all the literals in the complemented
or uncomplemented form
Boolean Algebra and Logic Gates 28
Canonical Form (SOP & POS)
▪ SOP Form Y = ∑m(0,3,4,5)
▪ POS Form Y = ∏M(1,2,5,6)
Boolean Algebra and Logic Gates 29
Canonical Form (SOP & POS)
▪ Convert the following expressions into their standard SOP
form.
➢ Y = AB + AC + BC
Boolean Algebra and Logic Gates 30
Examples
▪ Convert the following expressions into their standard SOP
form.
➢ Y = AB + AC + BC
Boolean Algebra and Logic Gates 31
Examples
▪ Convert the following expressions into their standard POS
form.
➢ Y = (A+B)(B’+C)
Boolean Algebra and Logic Gates 32
Examples
▪ Convert the following expressions into their standard SOP
form.
➢ Y = A + BC + ABC
Boolean Algebra and Logic Gates 33
SOP to POS Conversion
Boolean Algebra and Logic Gates 34
Karnaugh Maps (K-Maps)
▪Simplification of logic expression using Boolean
algebra is awkward because:
➢ it lacks specific rules to predict the most suitable next step
in the simplification process
➢ it is difficult to determine whether the simplest form has
been achieved.
▪ K-MAPS
➢ A visual way to simplify logic expressions
➢ It gives the most simplified form of the expression
Boolean Algebra and Logic Gates 35
Rules to obtain the most simplified expression
▪ A Karnaugh map is a graphical method used to obtained the
most simplified form of an expression in a standard form (Sum-
of-Products or Product-of-Sums).
▪ The simplest form of an expression is the one that has the
minimum number of terms with the least number of literals
(variables) in each term.
▪ By simplifying an expression to the one that uses the minimum
number of terms, we ensure that the function will be
implemented with the minimum number of gates.
▪ By simplifying an expression to the one that uses the least
number of literals for each terms, we ensure that the function
will be implemented with gates that have the minimum
number of inputs.
Boolean Algebra and Logic Gates 36
K-maps
Boolean Algebra and Logic Gates 37
2 Variable K-map
Boolean Algebra and Logic Gates 38
3 Variable K-map
Boolean Algebra and Logic Gates 39
4 Variable K-map
Boolean Algebra and Logic Gates 40
Three-Variable K-Maps Examples
 =
= C
B
(0,4)
f  =
= B
A
(4,5)
f  =
= B
(0,1,4,5)
f  =
= A
(0,1,2,3)
f
BC
00
0
01
1
11 10
A
1 0 0 0
1 0 0 0
BC
00
0
01
1
11 10
A
0 0 0 0
1 1 0 0
BC
00
0
01
1
11 10
A
1 1 1 1
0 0 0 0
BC
00
0
01
1
11 10
A
1 1 0 0
1 1 0 0
 =
= C
A
(0,4)
f  =
= C
A
(4,6)
f  =
= C
A
(0,2)
f  =
= C
(0,2,4,6)
f
BC
00
0
01
1
11 10
A
0 1 1 0
0 0 0 0
BC
00
0
01
1
11 10
A
0 0 0 0
1 0 0 1
BC
00
0
01
1
11 10
A
1 0 0 1
1 0 0 1
BC
00
0
01
1
11 10
A
1 0 0 1
0 0 0 0
Boolean Algebra and Logic Gates 41
Three-Variable K-Map Examples
▪ Minimize the expression
➢ Y = AB’C + A’B’C + A’BC + AB’C’ + A’B’C
Boolean Algebra and Logic Gates 42
Four-Variable K-Maps
 •
•
=
= D
C
B
(0,8)
f  •
•
=
= D
C
B
(5,13)
f  •
•
=
= D
B
A
(13,15)
f  •
•
=
= D
B
A
(4,6)
f
 •
=
= C
A
(2,3,6,7)
f  •
=
= D
B
)
(4,6,12,14
f  •
=
= C
B
)
(2,3,10,11
f  •
=
= D
B
(0,2,8,10)
f
CD
00
00
01
01
11
11
10
10
AB
1 0 0 0
0 0 0 0
0 0 0 0
1 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
0 1 0 0
0 1 0 0
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
0 0 0 0
0 1 1 0
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
1 0 0 1
0 0 0 0
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 1 1
0 0 1 1
0 0 0 0
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
1 0 0 1
1 0 0 1
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 1 1
0 0 0 0
0 0 0 0
0 0 1 1
CD
00
00
01
01
11
11
10
10
AB
1 0 0 1
0 0 0 0
0 0 0 0
1 0 0 1
Boolean Algebra and Logic Gates 43
Four-Variable K-Maps
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
1 1 1 1
0 0 0 0
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
0 0 1 0
0 0 1 0
0 0 1 0
0 0 1 0
CD
00
00
01
01
11
11
10
10
AB
1 0 1 0
0 1 0 1
1 0 1 0
0 1 0 1
CD
00
00
01
01
11
11
10
10
AB
0 1 0 1
1 0 1 0
0 1 0 1
1 0 1 0
CD
00
00
01
01
11
11
10
10
AB
0 1 1 0
0 1 1 0
0 1 1 0
0 1 1 0
CD
00
00
01
01
11
11
10
10
AB
1 0 0 1
1 0 0 1
1 0 0 1
1 0 0 1
CD
00
00
01
01
11
11
10
10
AB
0 0 0 0
1 1 1 1
1 1 1 1
0 0 0 0
CD
00
00
01
01
11
11
10
10
AB
1 1 1 1
0 0 0 0
0 0 0 0
1 1 1 1
f (4,5,6,7) A B
= = •
 f (3,7,11,15) C D
= = •

f (0,3,5,6,9,10,12,15)
=  f (1,2,4,7,8,11,13,14)
= 
f A B C D
=    f A B C D
=   
f (1,3,5,7,9,11,13,15)
=  f (0,2,4,6,8,10,12,14)
=  f (4,5,6,7,12,13,14,15)
=  f (0,1,2,3,8,9,10,11)
= 
f D
= f D
= f B
= f B
=
Boolean Algebra and Logic Gates 44
Special Case
▪ Find the Boolean expression.
Boolean Algebra and Logic Gates 45
Four-Variable K-Maps Examples
CD
00
00
01
01
11
11
10
10
AB
CD
00
00
01
01
11
11
10
10
AB
CD
00
00
01
01
11
11
10
10
AB
CD
00
00
01
01
11
11
10
10
AB
CD
00
00
01
01
11
11
10
10
AB
CD
00
00
01
01
11
11
10
10
AB
1
1
1
1
1
1
1
1
1
1
1
1 1 1
1
1 1 1
1
1
1
1
1
1
1
1 1 1 1
1 1
1 1
1
1
Boolean Algebra and Logic Gates 46
Four-Variable K-Maps don’t care
▪ Y = ∑m (1,4,8,12,13,15) + d(3,14)
Boolean Algebra and Logic Gates 47
Four-Variable K-Maps don’t care
▪ Y = ∑m (1,3,7,11,15) + d(0,2,5)
Boolean Algebra and Logic Gates 48
Four-Variable K-Maps don’t care
▪ Y = ∑m (1,3,7,10,11,15) + d(0,2,5,8,14)
Boolean Algebra and Logic Gates 49
K-maps
▪ Obtain the expression in POS form
▪ F = ∏M(2,3,7)
Boolean Algebra and Logic Gates 50
K-maps
▪ Obtain the expression in POS form
▪ F = ∏M(0,2,3,5,7)
Boolean Algebra and Logic Gates 51
Five Variable K-Map
Boolean Algebra and Logic Gates 52
Five Variable K-Map
▪ F(A,B,C,D,E) = ∑m(0,2,4,6,9,11,13,15,17,21,25,27,29,31)
Boolean Algebra and Logic Gates 53
Five Variable K-Map
▪ F(A,B,C,D,E) = ∑m(0,1,7,9,11,13,15,16,17,23,25,27)
Boolean Algebra and Logic Gates 54
Five Variable K-Map
▪ F(A,B,C,D,E) =
∑m(0,1,3,4,6,8,9,11,13,14,16,19,20,21,22,24,25)+ ∑d(5,7,12,15,17,23)
Boolean Algebra and Logic Gates 55
Six variable K-map
Boolean Algebra and Logic Gates 56
Quine-McCluskey Tabular Method
▪ Quine-McCluskey tabular method is a method based on
the concept of prime implicants. We know that prime
implicant is a product or sum term, which can’t be further
reduced by combining with any other product or sum
terms of the given Boolean function.
▪ This tabular method is useful to get the prime implicants
by repeatedly using the following Boolean identity.
▪ xy + xy’ = xy+y′ = x.1 = x
Boolean Algebra and Logic Gates 57
Quine-McCluskey Tabular Method
▪ Step 1 − Arrange the given min terms in an ascending order and make the
groups based on the number of ones present in their binary representations. So,
there will be at most ‘n+1’ groups if there are ‘n’ Boolean variables in a
Boolean function or ‘n’ bits in the binary equivalent of min terms.
▪ Step 2 − Compare the min terms present in successive groups. If there is a
change in only one-bit position, then take the pair of those two min terms. Place
this symbol ‘_’ in the differed bit position and keep the remaining bits as it is.
▪ Step 3 − Repeat step2 with newly formed terms till we get all prime implicants.
▪ Step 4 − Formulate the prime implicant table. It consists of set of rows and
columns. Prime implicants can be placed in row wise and min terms can be
placed in column wise. Place ‘1’ in the cells corresponding to the min terms that
are covered in each prime implicant.
▪ Step 5 − Find the essential prime implicants by observing each column. If the
min term is covered only by one prime implicant, then it is essential prime
implicant. Those essential prime implicants will be part of the simplified
Boolean function.
▪ Step 6 − Reduce the prime implicant table by removing the row of each
essential prime implicant and the columns corresponding to the min terms that
are covered in that essential prime implicant. Repeat step 5 for Reduced prime
implicant table. Stop this process when all min terms of given Boolean function
are over.
Boolean Algebra and Logic Gates 58
Quine Mc’clusky Method
▪ Simplify- f(a,b,c,d)=∑m(0,1,2,5,6,7,8,9,10,14)
Boolean Algebra and Logic Gates 59
Quine Mc’clusky Method
▪ f = a’c’d + a’bd + a’bc + b’c’ + b’d’ + cd’
(1, 5) (5, 7) (6, 7) (0, 1, 8, 9) (0, 2, 8, 10) (2, 6, 10,14)
▪ Prime Implicant Table-
Boolean Algebra and Logic Gates 60
PI
Minterms
corresponds
to PI
Given Minterms
0 1 2 5 6 7 8 9 10 14
a’c’d 1, 5
a’bd 5, 7
a’bc 6, 7
b’c’ 0, 1, 8, 9
b’d’ 0, 2, 8, 10
cd’ 2, 6, 10,14
Quine Mc’clusky Method
▪ Prime Implicant Table-
f = a’bd + b’c’ + cd’
Boolean Algebra and Logic Gates 61
PI
Minterms
corresponds
to PI
Given Minterms
0 1 2 5 6 7 8 9 10 14
a’c’d 1, 5 X X
a’bd 5, 7 X X
a’bc 6, 7 X X
b’c’ 0, 1, 8, 9 X X X X
b’d’ 0, 2, 8, 10 X X X X
cd’ 2, 6, 10,14 X X X X
Quine Mc’clusky Method
▪ Find the minimal SOP expression for the given Boolean
function- f(a,b,c,d)=∑m(1,3,4,5,9,10,11) + ∑d(6,8)
Boolean Algebra and Logic Gates 62
Column-II Column-III
Minterm
Pairs
Binary
(abcd)
Minterm
Pairs
Binary
(abcd)
1-3 00-1 * 1-3-9-11 -0-1
1-5 0-01 1-9-3-11 -0-1
1-9 -001 * 8-9-10-11 10--
4-5 010- 8-10-9-11 10--
4-6 01-0
8-9 100- *
8-10 10-0 *
3-11 -011 *
9-11 10-1 *
10-11 101- *
Group
Column-I
Minterms
Binary
(abcd)
Group 0
1 0001
4 0100
8 1000
Group 1
3 0011
5 0101
6 0110
9 1001
10 1010
Group 2 11 1011
Quine Mc’clusky Method
▪ f = a’c’d + a’bc’ + a’bd’ + b’d + ab’
(1,5) (4,5) (4,6) (1,3,9,11) (8,9,10,11)
▪ Prime Implicant Table-
Boolean Algebra and Logic Gates 63
Prime
Implicants
(PI)
Minterms
corresponds to
PI
Given Minterms
1 3 4 5 9 10 11
a’c’d 1, 5
a’bc’ 4, 5
a’bd’ 4, 6
b’d 1, 3, 9, 11
ab’ 8, 9, 10, 11
Quine Mc’clusky Method
▪ Prime Implicant Table-
f = ab’+ b’d + a’bc’
Boolean Algebra and Logic Gates 64
PI
Minterms
corresponds to
PI
Given Minterms
1 3 4 5 9 10 11
a’c’d 1, 5 X X
a’bc’ 4, 5 X X
a’bd’ 4, 6 X
b’d 1, 3, 9, 11 X X X X
ab’ 8, 9, 10, 11 X X X
Essential
Prime Implicants
65
Thank You
Any Questions
Boolean Algebra and Logic Gates

More Related Content

What's hot

Programed I/O Modul..
Programed I/O Modul..Programed I/O Modul..
Programed I/O Modul..Myster Rius
 
My lecture infix-to-postfix
My lecture infix-to-postfixMy lecture infix-to-postfix
My lecture infix-to-postfixSenthil Kumar
 
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic CircuitsFYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic CircuitsArti Parab Academics
 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsArti Parab Academics
 
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Edureka!
 
The 8051 assembly language
The 8051 assembly languageThe 8051 assembly language
The 8051 assembly languagehemant meena
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Bilal Amjad
 
Arithmetic instructions
Arithmetic instructionsArithmetic instructions
Arithmetic instructionsRobert Almazan
 
Register introduction
Register introductionRegister introduction
Register introductionmaamir farooq
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic DevicesMadhusudan Donga
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Bilal Amjad
 
Bitwise Operators in C
Bitwise Operators in CBitwise Operators in C
Bitwise Operators in Cyndaravind
 
C++ Programming Course
C++ Programming CourseC++ Programming Course
C++ Programming CourseDennis Chang
 

What's hot (20)

Programed I/O Modul..
Programed I/O Modul..Programed I/O Modul..
Programed I/O Modul..
 
My lecture infix-to-postfix
My lecture infix-to-postfixMy lecture infix-to-postfix
My lecture infix-to-postfix
 
Header files in c
Header files in cHeader files in c
Header files in c
 
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic CircuitsFYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
 
4 bit Binary to Gray converter using XOR
4 bit Binary to Gray converter using XOR4 bit Binary to Gray converter using XOR
4 bit Binary to Gray converter using XOR
 
Bitwise operators
Bitwise operatorsBitwise operators
Bitwise operators
 
Python Programming
Python Programming Python Programming
Python Programming
 
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
 
The 8051 assembly language
The 8051 assembly languageThe 8051 assembly language
The 8051 assembly language
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
Ca basic computer organization
Ca basic computer organizationCa basic computer organization
Ca basic computer organization
 
Arithmetic instructions
Arithmetic instructionsArithmetic instructions
Arithmetic instructions
 
Register introduction
Register introductionRegister introduction
Register introduction
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic Devices
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Bitwise Operators in C
Bitwise Operators in CBitwise Operators in C
Bitwise Operators in C
 
C++ Programming Course
C++ Programming CourseC++ Programming Course
C++ Programming Course
 

Similar to Unit 2 Boolean Algebra and Logic Gates.pdf

Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxssuser6feece1
 
B sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraB sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraMahiboobAliMulla
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)Fizaril Amzari Omar
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).pptThanmayiKumar
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01guestde204e
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 

Similar to Unit 2 Boolean Algebra and Logic Gates.pdf (20)

B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Digital logic
Digital logicDigital logic
Digital logic
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
B sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraB sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebra
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
UNIT-1_CSA.pdf
UNIT-1_CSA.pdfUNIT-1_CSA.pdf
UNIT-1_CSA.pdf
 

Recently uploaded

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 

Recently uploaded (20)

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 

Unit 2 Boolean Algebra and Logic Gates.pdf

  • 1. Digital Logic & Circuit Design Boolean Algebra and Logic Gates Prepared by: Nilesh Patidar and Shiraz Husain
  • 2. Logic Gates Boolean Algebra and Logic Gates 2
  • 3. Boolean Postulates and Laws Identity: X + 0 = X Dual: X • 1 = X Null: X + 1 = 1 Dual: X • 0 = 0 Idempotent: X + X = X Dual: X • X = X Involution: (X')' = X Complementary: X + X' = 1 Dual: X • X' = 0 Commutative: X + Y = Y + X Dual: X • Y = Y • X Associative: (X+Y)+Z=X+(Y+Z) Dual: (X•Y)•Z=X•(Y•Z) Distributive: X•(Y+Z)=(X•Y)+(X•Z) Dual: X+(Y•Z)=(X+Y)•(X+Z) Uniting: X•Y+X•Y'=X Dual: (X+Y)•(X+Y’)=X Boolean Algebra and Logic Gates 3
  • 4. Laws Boolean Algebra and Logic Gates 4
  • 5. Proving theorems ▪ Example 1: Prove the uniting theorem-- X•Y+X•Y'=X Distributive =X•Y+X•Y'=X•(Y+Y’) Complementary = X•(1) Identity = X ▪ Example 2: Prove the absorption theorem-- X+X•Y=X Identity X+X•Y=(X•1)+(X•Y) Distributive = X•(1+Y) Null = X•(1) Identity = X Boolean Algebra and Logic Gates 5
  • 6. Proving theorems ▪ Example 3: Prove the consensus theorem (XY)+(YZ)+(X'Z)= XY+X’Z Solution: ➢ Complementarity XY+YZ+X'Z = XY+(X+X')YZ + X’Z ➢ Distributive = XY+XYZ+X'YZ+X’Z ➢ Use absorption {AB+A=A} = XY+X'YZ+X'Z ➢ Rearrange terms = XY+X'ZY+X’Z ➢ Use absorption {AB+A=A} = XY+X'Z Boolean Algebra and Logic Gates 6
  • 7. Example: Simplification Z = A'BC + AB'C' + AB'C + ABC' + ABC = A'BC + AB'(C’ + C) + AB(C' + C) distributive = A'BC + AB’ + AB complementary = A'BC + A(B' + B) distributive = A'BC+ A complementary = BC + A absorption Boolean Algebra and Logic Gates 7
  • 8. Simplification of Boolean Equation ▪ Reduce the Expression- 𝐴 + 𝐵 (𝐴𝐶 + 𝐵 + ҧ 𝐶 𝐷) Boolean Algebra and Logic Gates 8
  • 9. Simplification of Boolean Equation ▪ Simplify the Expression- (𝐵 + 𝐵𝐶)(𝐵 + ത 𝐵𝐶)(𝐵 + 𝐷) Boolean Algebra and Logic Gates 9
  • 10. Simplification of Boolean Equation ▪ Simplify the Expression- (𝐵 + 𝐵𝐶)(𝐵 + ത 𝐵𝐶)(𝐵 + 𝐷) Boolean Algebra and Logic Gates 10
  • 11. Simplification of Boolean Equation ▪ Simplify the Expression- F= A’B(C’D’ + C’D) + AB (C’D’ +C’D) + AB’C’D Boolean Algebra and Logic Gates 11
  • 12. Logic Diagram ▪ Implement the following function using logic gates- 𝐹 = 𝐴𝐵 + 𝐴𝐶 + ത 𝐵 Boolean Algebra and Logic Gates 12
  • 13. Logic Diagram ▪ Implement the following function using logic gates- ▪ F = (P’Q’ + PQ)R + (P’Q+PQ’)R’ Boolean Algebra and Logic Gates 13
  • 14. Logic Diagram ▪ Minimize the following Boolean Function & also draw the simplified logic diagram Y = (AB+C)(AB+D) Boolean Algebra and Logic Gates 14
  • 15. Logic Diagram ▪ Minimize the following Boolean Function & also draw the simplified logic diagram Boolean Algebra and Logic Gates 15
  • 16. Logic Diagram Obtain the Boolean expression Boolean Algebra and Logic Gates 16
  • 17. Logic Diagram ▪ Simplify the given logic diagram. Boolean Algebra and Logic Gates 17
  • 18. Duality ▪ It states that in a two valued Boolean algebra, the dual of an algebraic expression can be obtained simply by interchanging OR and AND operators and by replacing 1’s by 0’s and 0’s by 1’s. ▪ Find the dual of the following Boolean expressions: i. A+AB = A ii. A + A’B = A + B iii. A + A’ = 1 iv. (A+B)(A+C) = A+BC Boolean Algebra and Logic Gates 18
  • 19. Universal Gate: NAND Gate Boolean Algebra and Logic Gates 19
  • 20. Bubble Pushing Method- NAND Gate ▪ Step 1: Implement the given Boolean expression in AOI form. ▪ Step 2: Add a bubble at output of each AND gate and input of each OR gate. ▪ Step 3: Connect a NOT gate on each wire where a bubble is added in Step 2. ▪ Step 4: Cancel out 2 NOT gates that are connected in series. ▪ Step 5: Replace NOT gate with NAND gate equivalent. ▪ Step 6: Replace bubbled OR with NAND gate. Boolean Algebra and Logic Gates 20
  • 21. Implementation using NAND Gate Boolean Algebra and Logic Gates 21 ▪ Implement the following function using NAND gates only Y = AB’ + BC
  • 22. Implementation using NAND Gate Boolean Algebra and Logic Gates 22 ▪ Implement the following function using NAND gates only F= AB ( C+D) + E
  • 23. Universal Gate: NOR gate Boolean Algebra and Logic Gates 23
  • 24. Bubble Pushing Method- NOR Gate ▪ Step 1: Implement the given Boolean expression in AOI form. ▪ Step 2: Add a bubble at input of each AND gate and output of each OR gate. ▪ Step 3: Connect a NOT gate on each wire where a bubble is added in Step 2. ▪ Step 4: Cancel out 2 NOT gates that are connected in series. ▪ Step 5: Replace NOT gate with NOR gate equivalent. ▪ Step 6: Replace bubbled AND with NOR gate. Boolean Algebra and Logic Gates 24
  • 25. Implementation using NOR Gate Boolean Algebra and Logic Gates 25 ▪ Implement the following function using NOR gates only F = A(B’+C) + (BC)
  • 26. Implementation using NOR Gate Boolean Algebra and Logic Gates 26 ▪ Implement the following function using NOR gates only F = (A’+B+C)(A+B)D
  • 27. Implementation using NOR Gate Boolean Algebra and Logic Gates 27 ▪ Implement the following function using NOR gates only F= (C+BD’).(B’CA+CD)
  • 28. Standard Form (SOP & POS) ▪ Standard SOP form ➢ Y = ABC + AB’C’ + A’BC ➢ Each product term consists of all the literals in the complemented or uncomplemented form ▪ Standard POS form ➢ Y = (A+B+C’)(A+B’+C)(A’+B’+C’) ➢ Each sum term consists of all the literals in the complemented or uncomplemented form Boolean Algebra and Logic Gates 28
  • 29. Canonical Form (SOP & POS) ▪ SOP Form Y = ∑m(0,3,4,5) ▪ POS Form Y = ∏M(1,2,5,6) Boolean Algebra and Logic Gates 29
  • 30. Canonical Form (SOP & POS) ▪ Convert the following expressions into their standard SOP form. ➢ Y = AB + AC + BC Boolean Algebra and Logic Gates 30
  • 31. Examples ▪ Convert the following expressions into their standard SOP form. ➢ Y = AB + AC + BC Boolean Algebra and Logic Gates 31
  • 32. Examples ▪ Convert the following expressions into their standard POS form. ➢ Y = (A+B)(B’+C) Boolean Algebra and Logic Gates 32
  • 33. Examples ▪ Convert the following expressions into their standard SOP form. ➢ Y = A + BC + ABC Boolean Algebra and Logic Gates 33
  • 34. SOP to POS Conversion Boolean Algebra and Logic Gates 34
  • 35. Karnaugh Maps (K-Maps) ▪Simplification of logic expression using Boolean algebra is awkward because: ➢ it lacks specific rules to predict the most suitable next step in the simplification process ➢ it is difficult to determine whether the simplest form has been achieved. ▪ K-MAPS ➢ A visual way to simplify logic expressions ➢ It gives the most simplified form of the expression Boolean Algebra and Logic Gates 35
  • 36. Rules to obtain the most simplified expression ▪ A Karnaugh map is a graphical method used to obtained the most simplified form of an expression in a standard form (Sum- of-Products or Product-of-Sums). ▪ The simplest form of an expression is the one that has the minimum number of terms with the least number of literals (variables) in each term. ▪ By simplifying an expression to the one that uses the minimum number of terms, we ensure that the function will be implemented with the minimum number of gates. ▪ By simplifying an expression to the one that uses the least number of literals for each terms, we ensure that the function will be implemented with gates that have the minimum number of inputs. Boolean Algebra and Logic Gates 36
  • 37. K-maps Boolean Algebra and Logic Gates 37
  • 38. 2 Variable K-map Boolean Algebra and Logic Gates 38
  • 39. 3 Variable K-map Boolean Algebra and Logic Gates 39
  • 40. 4 Variable K-map Boolean Algebra and Logic Gates 40
  • 41. Three-Variable K-Maps Examples  = = C B (0,4) f  = = B A (4,5) f  = = B (0,1,4,5) f  = = A (0,1,2,3) f BC 00 0 01 1 11 10 A 1 0 0 0 1 0 0 0 BC 00 0 01 1 11 10 A 0 0 0 0 1 1 0 0 BC 00 0 01 1 11 10 A 1 1 1 1 0 0 0 0 BC 00 0 01 1 11 10 A 1 1 0 0 1 1 0 0  = = C A (0,4) f  = = C A (4,6) f  = = C A (0,2) f  = = C (0,2,4,6) f BC 00 0 01 1 11 10 A 0 1 1 0 0 0 0 0 BC 00 0 01 1 11 10 A 0 0 0 0 1 0 0 1 BC 00 0 01 1 11 10 A 1 0 0 1 1 0 0 1 BC 00 0 01 1 11 10 A 1 0 0 1 0 0 0 0 Boolean Algebra and Logic Gates 41
  • 42. Three-Variable K-Map Examples ▪ Minimize the expression ➢ Y = AB’C + A’B’C + A’BC + AB’C’ + A’B’C Boolean Algebra and Logic Gates 42
  • 43. Four-Variable K-Maps  • • = = D C B (0,8) f  • • = = D C B (5,13) f  • • = = D B A (13,15) f  • • = = D B A (4,6) f  • = = C A (2,3,6,7) f  • = = D B ) (4,6,12,14 f  • = = C B ) (2,3,10,11 f  • = = D B (0,2,8,10) f CD 00 00 01 01 11 11 10 10 AB 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 CD 00 00 01 01 11 11 10 10 AB 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 Boolean Algebra and Logic Gates 43
  • 44. Four-Variable K-Maps CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 CD 00 00 01 01 11 11 10 10 AB 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 CD 00 00 01 01 11 11 10 10 AB 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 CD 00 00 01 01 11 11 10 10 AB 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 CD 00 00 01 01 11 11 10 10 AB 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 CD 00 00 01 01 11 11 10 10 AB 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 CD 00 00 01 01 11 11 10 10 AB 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 f (4,5,6,7) A B = = •  f (3,7,11,15) C D = = •  f (0,3,5,6,9,10,12,15) =  f (1,2,4,7,8,11,13,14) =  f A B C D =    f A B C D =    f (1,3,5,7,9,11,13,15) =  f (0,2,4,6,8,10,12,14) =  f (4,5,6,7,12,13,14,15) =  f (0,1,2,3,8,9,10,11) =  f D = f D = f B = f B = Boolean Algebra and Logic Gates 44
  • 45. Special Case ▪ Find the Boolean expression. Boolean Algebra and Logic Gates 45
  • 47. Four-Variable K-Maps don’t care ▪ Y = ∑m (1,4,8,12,13,15) + d(3,14) Boolean Algebra and Logic Gates 47
  • 48. Four-Variable K-Maps don’t care ▪ Y = ∑m (1,3,7,11,15) + d(0,2,5) Boolean Algebra and Logic Gates 48
  • 49. Four-Variable K-Maps don’t care ▪ Y = ∑m (1,3,7,10,11,15) + d(0,2,5,8,14) Boolean Algebra and Logic Gates 49
  • 50. K-maps ▪ Obtain the expression in POS form ▪ F = ∏M(2,3,7) Boolean Algebra and Logic Gates 50
  • 51. K-maps ▪ Obtain the expression in POS form ▪ F = ∏M(0,2,3,5,7) Boolean Algebra and Logic Gates 51
  • 52. Five Variable K-Map Boolean Algebra and Logic Gates 52
  • 53. Five Variable K-Map ▪ F(A,B,C,D,E) = ∑m(0,2,4,6,9,11,13,15,17,21,25,27,29,31) Boolean Algebra and Logic Gates 53
  • 54. Five Variable K-Map ▪ F(A,B,C,D,E) = ∑m(0,1,7,9,11,13,15,16,17,23,25,27) Boolean Algebra and Logic Gates 54
  • 55. Five Variable K-Map ▪ F(A,B,C,D,E) = ∑m(0,1,3,4,6,8,9,11,13,14,16,19,20,21,22,24,25)+ ∑d(5,7,12,15,17,23) Boolean Algebra and Logic Gates 55
  • 56. Six variable K-map Boolean Algebra and Logic Gates 56
  • 57. Quine-McCluskey Tabular Method ▪ Quine-McCluskey tabular method is a method based on the concept of prime implicants. We know that prime implicant is a product or sum term, which can’t be further reduced by combining with any other product or sum terms of the given Boolean function. ▪ This tabular method is useful to get the prime implicants by repeatedly using the following Boolean identity. ▪ xy + xy’ = xy+y′ = x.1 = x Boolean Algebra and Logic Gates 57
  • 58. Quine-McCluskey Tabular Method ▪ Step 1 − Arrange the given min terms in an ascending order and make the groups based on the number of ones present in their binary representations. So, there will be at most ‘n+1’ groups if there are ‘n’ Boolean variables in a Boolean function or ‘n’ bits in the binary equivalent of min terms. ▪ Step 2 − Compare the min terms present in successive groups. If there is a change in only one-bit position, then take the pair of those two min terms. Place this symbol ‘_’ in the differed bit position and keep the remaining bits as it is. ▪ Step 3 − Repeat step2 with newly formed terms till we get all prime implicants. ▪ Step 4 − Formulate the prime implicant table. It consists of set of rows and columns. Prime implicants can be placed in row wise and min terms can be placed in column wise. Place ‘1’ in the cells corresponding to the min terms that are covered in each prime implicant. ▪ Step 5 − Find the essential prime implicants by observing each column. If the min term is covered only by one prime implicant, then it is essential prime implicant. Those essential prime implicants will be part of the simplified Boolean function. ▪ Step 6 − Reduce the prime implicant table by removing the row of each essential prime implicant and the columns corresponding to the min terms that are covered in that essential prime implicant. Repeat step 5 for Reduced prime implicant table. Stop this process when all min terms of given Boolean function are over. Boolean Algebra and Logic Gates 58
  • 59. Quine Mc’clusky Method ▪ Simplify- f(a,b,c,d)=∑m(0,1,2,5,6,7,8,9,10,14) Boolean Algebra and Logic Gates 59
  • 60. Quine Mc’clusky Method ▪ f = a’c’d + a’bd + a’bc + b’c’ + b’d’ + cd’ (1, 5) (5, 7) (6, 7) (0, 1, 8, 9) (0, 2, 8, 10) (2, 6, 10,14) ▪ Prime Implicant Table- Boolean Algebra and Logic Gates 60 PI Minterms corresponds to PI Given Minterms 0 1 2 5 6 7 8 9 10 14 a’c’d 1, 5 a’bd 5, 7 a’bc 6, 7 b’c’ 0, 1, 8, 9 b’d’ 0, 2, 8, 10 cd’ 2, 6, 10,14
  • 61. Quine Mc’clusky Method ▪ Prime Implicant Table- f = a’bd + b’c’ + cd’ Boolean Algebra and Logic Gates 61 PI Minterms corresponds to PI Given Minterms 0 1 2 5 6 7 8 9 10 14 a’c’d 1, 5 X X a’bd 5, 7 X X a’bc 6, 7 X X b’c’ 0, 1, 8, 9 X X X X b’d’ 0, 2, 8, 10 X X X X cd’ 2, 6, 10,14 X X X X
  • 62. Quine Mc’clusky Method ▪ Find the minimal SOP expression for the given Boolean function- f(a,b,c,d)=∑m(1,3,4,5,9,10,11) + ∑d(6,8) Boolean Algebra and Logic Gates 62 Column-II Column-III Minterm Pairs Binary (abcd) Minterm Pairs Binary (abcd) 1-3 00-1 * 1-3-9-11 -0-1 1-5 0-01 1-9-3-11 -0-1 1-9 -001 * 8-9-10-11 10-- 4-5 010- 8-10-9-11 10-- 4-6 01-0 8-9 100- * 8-10 10-0 * 3-11 -011 * 9-11 10-1 * 10-11 101- * Group Column-I Minterms Binary (abcd) Group 0 1 0001 4 0100 8 1000 Group 1 3 0011 5 0101 6 0110 9 1001 10 1010 Group 2 11 1011
  • 63. Quine Mc’clusky Method ▪ f = a’c’d + a’bc’ + a’bd’ + b’d + ab’ (1,5) (4,5) (4,6) (1,3,9,11) (8,9,10,11) ▪ Prime Implicant Table- Boolean Algebra and Logic Gates 63 Prime Implicants (PI) Minterms corresponds to PI Given Minterms 1 3 4 5 9 10 11 a’c’d 1, 5 a’bc’ 4, 5 a’bd’ 4, 6 b’d 1, 3, 9, 11 ab’ 8, 9, 10, 11
  • 64. Quine Mc’clusky Method ▪ Prime Implicant Table- f = ab’+ b’d + a’bc’ Boolean Algebra and Logic Gates 64 PI Minterms corresponds to PI Given Minterms 1 3 4 5 9 10 11 a’c’d 1, 5 X X a’bc’ 4, 5 X X a’bd’ 4, 6 X b’d 1, 3, 9, 11 X X X X ab’ 8, 9, 10, 11 X X X Essential Prime Implicants
  • 65. 65 Thank You Any Questions Boolean Algebra and Logic Gates