Multivariable K Maps,
CSE 140: Components and Design Techniques for Digital Systems
Diba Mirza
- Dept. of Computer Science and Engineering
University of California, San Diego
1
Multivariable K Maps, CSE 140: Components and Design Techniques for - - PowerPoint PPT Presentation
Multivariable K Maps, CSE 140: Components and Design Techniques for Digital Systems Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego 1 Another 3-Input Corresponding K-map truth table Id a b
Diba Mirza
University of California, San Diego
1
2
0 2 6 4 1 3 7 5
Id a b c f (a,b,c) 0 0 0 0 0 1 0 0 1 0 2 0 1 0 1 3 0 1 1 0 4 1 0 0 1 5 1 0 1 1 6 1 1 0 X 7 1 1 1 1
3
0 2 6 4 1 3 7 5
Id a b c f (a,b,c) 0 0 0 0 0 1 0 0 1 0 2 0 1 0 1 3 0 1 1 0 4 1 0 0 1 5 1 0 1 1 6 1 1 0 X 7 1 1 1 1
4
C 00 01 1 Y 11 10 AB 1 1 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 1 1 Y
5
01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
the value of the function is either 1 or don’t care. In other words a group
6 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
the value of the function is either 1 or don’t care. In other words a group
7 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
the value of the function is either 1 or don’t care. In other words a group of adjacent ‘1’ or ‘X’ cells
implicant.
8 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
9 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
1. Prime Implicant: A group of adjacent ones that cannot be fully covered by any other large group of ones 2. Essential Prime Implicant or Essential Prime: Prime implicants that contain at least one element (a ‘1’ cell) that cannot be covered by any
10 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
1. Prime Implicant: A group of adjacent ones that cannot be fully covered by any other large group of ones 2. Essential Prime Implicant or Essential Prime: Prime implicants that contain at least one element (a ‘1’ cell) that cannot be covered by any
11 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
12 01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y Y = AC + ABD + ABC + BD
13
01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y Y = AC + ABD + ABC + BD
14
Q: Is the blue group a non-essential prime implicant?
Non Essential Prime Implicant : Prime implicant that has no element that cannot be covered by other prime implicant
15
Q: Is the blue group a non-essential prime implicant?
Non Essential Prime Implicant : Prime implicant that has no element that cannot be covered by other prime implicant
16
01 11 1 1 1 1 01 1 1 1 1 1 11 10 00 00 10 AB CD Y
17
C D 1 1 1 1 B 1 1 1 1 1 1 1 1 1 1 1 X 1 1 Y A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X X X X X X 01 11 1 X X X 1 1 01 1 1 1 1 X X X X 11 10 00 00 10 AB CD Y
18
C D 1 1 1 1 B 1 1 1 1 1 1 1 1 1 1 1 X 1 1 Y A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X X X X X X 01 11 1 X X X 1 1 01 1 1 1 1 X X X X 11 10 00 00 10 AB CD Y Y = A + BD + C
19
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10 20
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10
21
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10
22
Are all the Prime implicants also essential?
A. Yes B. No PI Q: Do the E-primes cover the entire on set? A. Yes B. No
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10
23
1. Prime implicants: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14) 2. Essential Primes: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14)
1. Prime implicants: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14) 2. Essential Primes: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14) 3. Min exp: Σ (Essential Primes)=Σm (0, 1, 8, 9) + Σm (0, 2, 8, 10) + Σm (10, 14) f(a,b,c,d) = ?
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10
24
1. Prime implicants: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14) 2. Essential Primes: Σm (0, 1, 8, 9), Σm (0, 2, 8, 10), Σm (10, 14) 3. Min exp: Σ (Essential Primes)=Σm (0, 1, 8, 9) + Σm (0, 2, 8, 10) + Σm (10, 14) f(a,b,c,d) = b’c’ + b’d’+ acd‘
0 4 12 8 1 5 13 9 3 7 15 11 2 6 14 10
25
26
27 0 2 6 4 1 3 7 5
28 0 2 6 4 1 3 7 5
expressions
29
Implicate: A sum term that has non-empty intersection with off-set R and does not intersect with on-set F. Prime Implicate: An implicate that is not a proper subset of any other implicate. Essential Prime Implicate: A prime implicate that has an element in off-set R but this element is not covered by any other prime implicates.
30
31
evaluate to one OR offset is smaller than onset
Given f(a,b,c) = Σm (3, 5)+ Σd (0, 4)
0 2 6 4 1 3 7 5 32
33
Given f(a,b,c) = Σm (3, 5) + Σd (0, 4)
0 2 6 4 1 3 7 5
34
35