1
Lecture 2: Combinational Logic
CSE 140: Components and Design Techniques for Digital Systems 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 Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego 1 Outline What is a combinational circuit?
1
2
3
a b carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
4
a b carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
5
a b carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
SOP Draw the circuit
6
7
Minterm A B Carry Sum A’B’ A’B 1 1 AB’ 1 1 AB 1 1 1
8
A B Y 1 1 1 1 1 1
9
For the SOP expression we considered the combinations for which the output is 1 For the POS expression we will consider the combinations for which the output is 0
Max term A B Carry Sum 1 1 1 1 1 1 1
10
Max term A B Carry Sum 1 1 1 1 1 1 1
11
a b sum a b carry
A B carry sum 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
1-<12>
13
14
15
A B Y A B Y A B Y A B Y
1-<16>
A B Y A B Y
17
Y= (((A+B)’ . C)’ . D)’ After bubble pushing Y= A’B’C+ D’
18
Venn Diagrams
1-<19>
1-<20>
21
22
23
Id a b cin carryout 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
24
Id a b cin carrryout 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
25
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
PI Q: Is f1 = f2? A.Yes B.No
26
Id a b cin carryout 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
27
28
The SOP and POS forms don’t usually give the
expression of the switching function