Beruflich Dokumente
Kultur Dokumente
Youngsoo Shin
KAIST Spring 2007
2.1 Introduction
Basic mathematics for logic design: Boolean algebra Switching algebra: two-valued Boolean algebra Boolean Variable: X, Y, can have only two Variable state values (0, 1) Boolean Operations
Binary op: AND (), OR (+) Unary op: NOT (`)
Youngsoo Shin/EE/KAIST 2
0 = 1 X = 1 if X = 0
and and
1 = 0 X = 0 if X = 1
Gate Symbol
X
Youngsoo Shin/EE/KAIST
X
3
00 = 0
Truth Table
0 1 = 0
A B 0 0 1 1 0 1 0 1
10 = 0
C=AB 0 0 0 1
1 1 = 1
Gate Symbol
Youngsoo Shin/EE/KAIST
0+0 =0
Truth Table
0 +1 = 1
A B 0 0 1 1 0 1 0 1
1+0 =1
C=A+B 0 1 1 1
1 +1 = 1
Gate Symbol
Youngsoo Shin/EE/KAIST
Youngsoo Shin/EE/KAIST
AB + C
Youngsoo Shin/EE/KAIST
[A(C+D)] + BE
Youngsoo Shin/EE/KAIST
Youngsoo Shin/EE/KAIST
F = A + B
A B 0 0 1 1 0 1 0 1
A 1 1 0 0
F = A + B 1 1 0 1
Youngsoo Shin/EE/KAIST
10
AB
AB + C
A+C
B + C
(A + C) (B + C)
Youngsoo Shin/EE/KAIST
f = [A(C+D)] + BE
Youngsoo Shin/EE/KAIST
12
Synthesis
Physical Design
Technology Mapping
Fabrication
Youngsoo Shin/EE/KAIST
13
X X = 0
Youngsoo Shin/EE/KAIST
14
X 0 0 0 0 1 1 1 1
Youngsoo Shin/EE/KAIST
Y 0 0 1 1 0 0 1 1
Z 0 1 0 1 0 1 0 1
XY
YZ
(XY)Z
X(YZ)
15
ABC = 1
iff
A = B = C = 1
3-input OR gate
A + B + C = 0
Youngsoo Shin/EE/KAIST
iff
A = B = C = 0
16
Proof
Youngsoo Shin/EE/KAIST
17
XY + XY = X X + XY = X (X + Y)Y = XY
(X + Y)(X + Y) = X X(X + Y) = X XY + Y = X + Y
Proof
Youngsoo Shin/EE/KAIST
18
F = A(A + B) = AB
Youngsoo Shin/EE/KAIST
19
(A + BC)(A + D + E)
Youngsoo Shin/EE/KAIST
20
A + BCD AB + CD
Youngsoo Shin/EE/KAIST
21
(X + Y) = XY (XY) = X + Y
F = AB + AB
Youngsoo Shin/EE/KAIST
F =
22
Youngsoo Shin/EE/KAIST
23
Boolean Algebra
Boolean space: BN = {0, 1}N
N-dimensional cube (N-hypercube)
Boolean algebra
Boolean space Operations (+, )
B3={0,1}{0,1} {0,1} ={000, 001, 010, 011, 100, 101, 110, 111}
c 001 010 011 111
101 110
B4
000 b
Youngsoo Shin/EE/KAIST
100
24
Boolean Algebra
Consider Boolean expression f = ab + ac + bc + abc What do we want to achieve?
c 011 111
001 010
101 110
000
100
25
Summary
2.1 Boolean algebra, switching algebra 2.2 Boolean operations: NOT, AND, OR 2.3 Boolean expressions 2.4 Basic theorems
Operations w/ 0 and 1, idempotent laws, involution law, complementarity
2.5 Commutative, Associative, and Distibutive Laws 2.6 Simplification theorems 2.7 SOP, POS 2.8 DeMorgans laws
Youngsoo Shin/EE/KAIST
26