Lesson 02 - Intro To Combinational Circuits
Lesson 02 - Intro To Combinational Circuits
By
Dr Moses Ubaru
A QUICK TEST:
How many days of the week begin with the
letter “T”? Explain
Answers:
a) 1
b) 2
c) 3
d) 4
e) 5
f) 6
g) 7
Answers:
Your answer could be 2, 3,4,5,6, or 7……
Today, Tomorrow, Tuesday, Thursday, Third day,
Thisday,
Mark = ?
If your answer is 2 ………….. Mark = 50%
If your answer is 4,5 ………… Mark = 100%
On the “Third day Christ rose from the dead”
November 22, 2 Introduction to Digital Design Page 3
023
Luke 24:7 Saying, The Son of man must be
delivered into the hands of sinful men, and
be crucified, and the third day rise again.
Introduction
Boolean Equations and Boolean Algebra
From logic to Gates
Karnaugh Map Minimization
Combinational Building Blocks
[Multiplexers and Decoders]
Timing
A E1 n1
E3 Y
B
C E2 Z
INTRODUCTION
Solution:
How many did you count? 3?
Wrong, there were 6.
Don't believe it?
Scroll back up and check.
Our brains are trained to overlook the word OF.
If you saw all 6 Fs right away, you're a genius.
Most people see only 3 Fs. Some people see 4.
Closure
If X and Y are in set (0,1)
then operations X+Y and X· Y are also in set (0,1)
Identity
X+0=X
X·1=X
Commutation
X+Y=Y+X
X·Y=Y·X
Association
(A + B) + C = A + (B + C)
(A· B) · C = A· (B · C)
Distribution
A · (B + C + …..) = ( A · B) + (A · C) + ….
A + (B · C . ……) = ( A + B) · (A + C) · ……
Absoption
X (XY) X
X (X Y) X
Note that for each property, one form is the dual of the other;
(0s to 1s, 1s to 0s, ·s to +s, +s to ·s)
November 22, 2 Introduction to Digital Design Page 26
023
Huntington’s Postulates (cont.)
Complement
X X 1
XX 0
Note that for each property, one form is the dual of the other;
(0s to 1s, 1s to 0s, ·s to +s, +s to ·s)
November 22, 2 Introduction to Digital Design Page 27
023
Switching Algebra Operations
Three common Boolean operators are AND, OR, and NOT.
A Boolean operator can be completely described using a Truth Table
Truth Table is a table that specifies all possible values for the inputs, and the resulting output values of the operation for all
possible combinations of these inputs.
X X
0 1 X X
1 0
Sum term. The term that consists solely of the sum of literals.
Involution:
X X
X 11 X0 0
X0X X 1 X
Association:
(A + B) + C = A + (B + C)
(A· B) · C = A· (B · C)
Idempotence:
XX X
XX X
Adjacency:
(Very Powerful Tool)
X Y X Y X
X Y X Y X
November 22, 2 Introduction to Digital Design Page 40
023
Switching Algebra Laws and Theorems
Adjacency:
(Very Powerful Tool)
X Y X Y X
X Y X Y X
PROOF:
XY + XY’ = X(Y + Y’)
=X
The product of Coefficients of Y and Y’ is X
X replaces all the terms that contain X
Absorption:
X X Y X
X X Y X
Simplification Rule:
X XY X Y
X X Y X Y
Simplification:
Proof:
X + X’Y = X(1 + Y) + X’Y
= X + XY + X’Y
= X + Y(X + X’)
= X + Y
Thus X + X’Y = X + Y
Consensus:
Proof:
AB + A’C = AB(BC +1) + A’C(BC + 1)
= ABC + AB + A’BC + A’C
= BC(A + A’) + AB + A’C
= BC + AB + A’C
= AB + A’C + BC
DeMorgan’s Theorem:
X Y XY
X Y X Y
General form:
A Z Z
A
Is equivalent to
B
B
F A F
A Is equivalent to
B B
A F A F
Is equivalent to
B B
Z A Z
A Is equivalent to
B B
A
B
C
D
A
B
C
D
Z Z
I s equivalent to
A
B
C
D
Z Z
I s equivalent to
A
B
C
D
A
B
C
D
A
B F
C
D
A
B
C
D
B
F
C
C
D
A
Y
E
F
G
A
B Y
C
D
F
G