ECE352_BooleanAlgebra
ECE352_BooleanAlgebra
Digital System
Fundamentals
Boolean Algebra
Boolean Algebra
1
Topics
• Boolean Algebra
– Boolean Functions
– Functional Waveforms
– Boolean Identities and Manipulations
Boolean Algebra
2
Boolean Function
• Defined by a truth table, which is a
complete representation of a Boolean
function
• Same truth table can be implemented using
Boolean Algebra
behavior
– Inputs may not occur in all possible combinations
– Input combinations may repeat
– Not definitive like a truth table!
F = AB + C
A
• Can complete from B
left to right, but don’t C
have to if the function
is combinational
F
4
Circuits From Boolean
Functions
•Functions are implemented using logic gates
– The circuit inputs are the function variables
– A literal is a single variable within a term (that
may or may not be complemented)
Boolean Algebra
Commutative:
X+Y=Y+X X·Y = Y·X
Associative:
X+(Y+Z) = (X+Y)+Z X·(Y·Z) = (X·Y)·Z
Distributive:
X·(Y+Z) = X·Y + X·Z X + Y·Z = (X+Y)(X+Z)
De Morgan’s:
7
More Algebraic Manipulation
• Duality Principle:
– Dual of a circuit/equation: change ANDs to
ORs, and change ORs to ANDs
Boolean Algebra
• Consensus Theorem:
– Provides a way to identify and remove a
redundant term algebraically
8
Consensus Theorem
Boolean Algebra
9
Why Simplify?
• More complex
equation describes
more complex
B circuit
Boolean Algebra
– More area
A – More delay
C – More power and heat
– More work to create
A
10
C
Complement of a Function
• The complement of a function is one that
has the “opposite” truth table
– In the output column, change 0s to 1s and 1s to
0s
Boolean Algebra
11
Complement of a Function
Boolean Algebra
=
12
ECE 352
Digital System
Fundamentals
Boolean Algebra
Boolean Algebra
13