Boolean Algebra
Boolean Algebra
Introduction
• Corresponds to multiplication
• o/p=1 iff both i/p=1
A
B
Y A B Y
0 0 0
0 1 0
1 0 0
Y=A.B
1 1 1
OR gate
B
A B Y
Y=A+B 0 0 0
This is read as Y 0 1 1
equals A or B. 1 0 1
1 1 1
NOT gate
A A
Input Output
0 1
Y= 1 0
A
NAND Gate
B
A B Y
0 0 1
0 1 1
Y=A.B 1 0 1
1 1 0
NOR gate
B A B Y
0 0 1
0 1 0
Y=A+B 1 0 0
1 1 0
Exclusive OR
A
Y
B
A B Y
0 0 1
0 1 0
Y = A + B 1 0 0
1 1 1
• To add A and A together
A
A+A
A
Universal gates
F = X’
X
X F= X.Y
Y
X
F=X+Y
Y
COMBINATIONAL
&
SEQUENTIAL CIRCUITS
Combinational & Sequential circuits
A+0=A 0.A=0
A+1=1 1.A=A
A+A=A A.A=A
A+A=1 A.A=0
A = A Double complementation
Boolean Algebra Rules
• Commutative laws
X+Y=Y+X
X.Y=Y.X
• Associative laws
X+(Y+Z)=(X+Y)+Z
X ( YZ ) = ( XY ) Z
Boolean Algebra Rules
• Distributive laws
X ( Y + Z ) = XY + XZ
• 4 possible combination
– x’y’
– x’y
– xy’
– xy
• Each of these is called a minterm or
standard product.
• n variables can be combined to form 2n
minterms
MAXTERM
•
Product-of-sums
• Simplification
– Solve for 0’s
– Complement the resulting expression