1
Lecture 2: Combinational Logic
CSE 140: Components and Design Techniques for Digital Systems Spring 2014 CK Cheng, Diba Mirza
- Dept. of Computer Science and Engineering
Lecture 2: Combinational Logic CSE 140: Components and Design - - PowerPoint PPT Presentation
Lecture 2: Combinational Logic CSE 140: Components and Design Techniques for Digital Systems Spring 2014 CK Cheng, Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego 1 Outline What is a
1
2
3
4
5
6
7
A B Y 0 0 0 0 1 0 1 0 0 1 1 1 AND
8
Two-input operator AND (˄, · )
A B Y 0 0 0 0 1 0 1 0 0 1 1 1 AND
A B Y 0 0 0 0 1 1 1 0 1 1 1 1 OR
A Y 0 1 1 0 NOT
Two-input operator OR (˅, + ) One-input operator NOT (Complement, ` )
9
10
1-<11> 1-<11>
George Boole: 1815 - 1864
<12>
<13>
BB Boolean Algebra Switching Algebra
14
15
a b carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
16
a b carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
17
18
19
20
21
22
23
24
25
26
27
a b sum a b carry
A B carry sum 0 0 0 0 1 0 1 0 0 1 1 1
28
1-<29>
30
31
1-<32>
1-<33>
34
A B Y A B Y A B Y A B Y
1-<35>
36
37
38
<39>
<40>
<41>
<42>
<43>
<44>
1-<45>
1-<46>
47
48
49
Id a b cin carry sum 0 0 0 0 0 0 1 0 0 1 0 1 2 0 1 0 0 1 3 0 1 1 1 0 4 1 0 0 0 1 5 1 0 1 1 0 6 1 1 0 1 0 7 1 1 1 1 1
Cin
50
Id a b cin carryout 0 0 0 0 0 a+b+c 1 0 0 1 0 a+b+c’ 2 0 1 0 0 a+b’+c 3 0 1 1 1 a’ b c 4 1 0 0 0 a’+b+c 5 1 0 1 1 a b’c 6 1 1 0 1 a b c’ 7 1 1 1 1 a b c minterm maxterm
51
52
53
54
55