CSE 140: Components and Design Techniques for Digital Systems
Lecture 3: Incompletely Specified Functions and K Maps
CK Cheng
- Dept. of Computer Science and Engineering
University of California, San Diego
1
Lecture 3: Incompletely Specified Functions and K Maps CK Cheng - - PowerPoint PPT Presentation
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science and Engineering University of California, San Diego 1 Outlines Definitions
University of California, San Diego
1
2
3
4
5
6
Id a b f (a, b) 0 0 0 1 1 0 1 0 2 1 0 1 3 1 1 X (don’t care)
7
How to completely specify the truth table in canonical form? We have three types of output which divides the input space into three sets: On-set F: All the input conditions for which the output is 1 Off-set R: All the input conditions for which the output is 0 Don’t care set D: All the input conditions for which the output is a ‘don’t care’
8
9
10
11
Flow 1: Boolean Algebra 1. Specification 2. Truth table 3. Sum of products (SOP) or product of sums(POS) canonical form 4. Reduced expression using Boolean algebra 5. Schematic diagram of two level logic Flow 2: K Map 1. Specification 2. Truth Table 3. Karnaugh Map (truth table in two dimensional space) 4. Reduce using K’Maps 5. Reduced expression (SOP or POS) 6. Schematic diagram of two level logic
12
13
14
15
16
17
I D A B f(A,B) 1 1 1 2 1 1 3 1 1 1
18
I D A B f(A,B) 1 1 1 2 1 1 3 1 1 1
19
20
(0,1,1,1) (0,1,1,0) (0,0,0,0) (0,0,0,1) (1,0,0,1) (1,1,1,1) (1,1,0,1) (1,0,0,0) (0,0,1,0) (1,1,1,0) (0,0,1,1) (1,0,1,1) (0,1,0,1) (1,0,1,0) D C B A
21
Id a b c f (a,b,c) 0 0 0 0 1 1 0 0 1 0 2 0 1 0 1 3 0 1 1 0 4 1 0 0 1 5 1 0 1 0 6 1 1 0 1 7 1 1 1 0
22
C 00 01 1 Y 11 10 AB 1 1 C 00 01 1 Y 11 10 AB ABC ABC ABC ABC ABC ABC ABC ABC B C 1 1 1 1 A 1 1 1 1 1 1 1 1 1 1 Y
23
24
C 00 01 1 Y 11 10 AB 1 1
B C 1 1 1 1 A 1 1 1 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