Title: Boolean Logic
1Boolean Logic
2What is a switching network?
Combinatorial Network A stateless network. The
output is completely determined by the values of
the input.
Sequential Network The network stores an
internal state. The output is determined by the
input, and by the internal state.
3Logic Functions Boolean Algebra
4Boolean expressions and logic circuits
Any Boolean expression can be implemented as a
logic circuit.
X A(CD)BE
5Basic Theorems Operations with 0 and 1
6Basic TheoremsIdempotent Laws
7Basic Theorems Involution Law
(X)X
B
X
CX
8Basic TheoremsLaws of Complementarity
XX 1
9Expression Simplification using the Basic
Theorems
X can be an arbitrarily complex expression.
Simplify the following boolean expressions as
much as you can using the basic theorems.
(AB D)E 1 (AB D)(AB D) (AB CD)
(CD A) (AB CD)
(AB D)E 1 1 (AB D)(AB D) 0 (AB
CD) (CD A) (AB CD) 1
10Associative Law
(XY)Z X(YZ)
11Associative Law
(XY)Z X(YZ)
12First Distributive Law
X(YZ) XYXZ
13First Distributive Law
X(YZ) XYXZ
14First Distributive Law
X(YZ) XYXZ
15First Distributive Law
X(YZ) XYXZ
16First Distributive Law
X(YZ) XYXZ
17Second Distributive Law
XYZ (XY)(XZ)
18Second Distributive Law
XYZ (XY)(XZ)
19Second Distributive Law(A different proof)
(X Y)(X Z)
20Simplification Theorems
XY XY X XY XY X(Y Y) X1 X
(X Y)(X Y) X (X Y)(X Y) XX XY
YX YY X X(Y Y)
0 X X1
X
X XY X X(1 Y) X1 X
X(X Y) X X(X Y) XX XY X1 XY
X(1 Y) X1 X
XY Y X Y (using the second distributive
law) XY Y Y XY (Y X)(Y Y)
(Y X)1 X Y
(X Y)Y XY XY YY XY 0 XY
21Examples
Simplify the following expressions
W M NP (R ST)M NP R ST
X M NP Y R ST W (X Y)(X
Y)
W XX XY YX YY
W X1 XY XY 0
W X X(Y Y) X X1 X
W M NP