Professional Documents
Culture Documents
P04-Digital Systems - Lecture - 13-16
P04-Digital Systems - Lecture - 13-16
19CSE203
III Semester
B. Tech. CSE
Amrita School of Engineering,
Chennai
TABULAR METHOD FOR MINIMIZATION
• K-map method of simplification is convenient as long as the number of variables does not
exceed five or six.
• As the number of variables increases it is difficult to make judgement about which
combinations form the minimum expression. (Complexity of K-map simplification process
increases with the increase in the number of variables.(The minimum expression obtained
might not be unique.))
• K-map simplification is manual technique and simplification process is heavily depends on the
human abilities.
• To meet this needs, In 1950s W.V Quine and E.J McCluskey developed an exact tabular
method to simplify the Boolean expression. This method is called the Quine-McCluskey, or
tabular method.
Algorithm for generating minimum prime implicants using
Quine-McCluskey/ Tabular method:
1. List all minterms in the binary form.
2. Arrange the minterms according to number of 1s.
3. Compare each binary number with every term in the adjacent next higher category and if
they differ only by one position, put a tick mark and copy the term in the next column with
‘X’ in the position that they differed.
4. Apply the same process described in step 3 for the resultant column and continue these
cycles until a single pass through cycle yields no further elimination of literals.
5. List all prime implicants.
6. Select the minimum number of prime implicants which must cover all the minterms.
Example 1- F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Solution- Generation of Prime implicants Table-
Example 1- F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Finding Essential Prime implicants (EPIs) (Initial Prime implicant cover table)
Essential prime
implicant is-
= {P6}
= {x3’x4’}
to the table in figure b.
Row Dominance
P2 dominates P1
P5 dominates P3
Delete dominated
rows i.e P1 and P3
Example 3- Use the tabular method to determine the minimum-cost SOP expression for the
function f(x1,x2,x3,x4) = m (4,6,8,10,11,12,15) + D(3,5,7,9)
List 1 List 2 List 3
4 0100
8 1000
3 0 0 1 1
5 0101
6 0110
9 1001
10 1010
12 1100
7 0111 The prime implicants for this function are:
11 1 0 1 1
P = x100, 1x00, 01xx, 10xx, xx11
15 1 1 1 1
= p1,p2,p3,p4,p5
Initial prime implicant cover table
P3 P4 P5
Prime Implicant Minterm
4 6 8 10 11 12 15
Essential prime implicants (EPIs)
are-
P1(4,12) x100
= {P3,P4,P5}
P2(8,12) 1x00 = {x1’x2, x1x2’,x3x4}
P3(4,5,6,7) 01xx
P4(8,9,10,11) 10xx
P5(3,7,11,15) xx11
P2 (0,1,2,3) 00xx
P3 (1,3,5,7) 0xx1
P4 (1,5,9,13) x x 0 1
No Row dominance
Column Dominance
Column 9 dominates 8
Column 13 dominates 5
Delete dominating
columns i.e 9 &13.
Row Dominance
P4 dominates P6
P7 dominates P5
Delete dominated
rows i.e P5 and P6
Example 6 - f(a,b,c,d,e) = m(0,1,2,3,6,8,9,10,11,17,20,21,23,25,28,30,31)
List 1 List 2 List 3 List 4
0 00000 0,1 0000_ 0,1,8,9 0_00_ 0,1,8,9,2,10,3,11 0_0__
0,2 000_0 0,1,2,3 000__
1 00001 0,8 0_000
2 00010 0,2,8,10 0_0_0
8 01000 1,3 0 0 0 _ 1 1,3,9,11 0_0_1
1,9 0 _ 0 0 1 1,9,17,25 __001
3 00011 1,17 _ 0 0 0 1
6 00110 2,6 00_10 2,10,3,11 0_01_
9 01001 2,10 0_010 8,9,10,11 010__
8,9 0100_
10 01010 2,3 0001_
17 10001 8,10 010_0
20 10100
3,11 0 _ 0 1 1 The prime implicants for this function are:
11 01011 9,11 0 1 0 _ 1
21 10101 9,25 _ 1 0 0 1 P = 00x10, 10x01, 1010x, 1x100, 101x1, 111x0, 1x111, 1111x,
25 11001 10,11
17,21
0101_
10_01
xx001, 0x0xx
28 11100 17,25 1_001 = P1,P2,P3,P4,P5,P6,P7,P8,P9,P10
23 1 0 1 1 1 20,21 1010_
20,28 1_100
30 1 1 1 1 0
21,23 1 0 1 _ 1
31 1 1 1 1 1 28,30 1 1 1 _ 0
23,31 1 _ 1 1 1
30,31 1 1 1 1 _
PRIME IMPLICANT MINTERM
0 1 2 3 6 8 9 10 11 17 20 21 23 25 28 30 31
2 P1 = 0 0 x 1 0
Essential Prime
P2 = 1 0 x 0 1 implicants are
= {P10,P1,P9}
4 P3 = 1 0 1 0 x = {a’c’, a’b’de’,
c’d’e }
P4 = 1 x 1 0 0
P5 = 1 0 1 x 1
6 P6 = 1 1 1 x 0 Minimum cost
Cover is-
5 P7 = 1 x 1 1 1 F(a,b,c,d,e) = a’c’ +
a’b’de’ + c’d’e +
P8 = 1 1 1 1 x ab’cd’+ acde +
abce’
3 P9 = x x 0 0 1
1 P10 = 0 x 0 x x
1. f(w,x,y,z) = m(0,3,5,6,7,10,12,13) + d(2,9,15)
Example:
Convert 2570 to binary
(2570)8 = (010101111000)2
Number System
Octal to Binary Conversion
(765.31)8 = (111110101.011001)2
Number System
Binary to Octal Conversion
• Group into 3 bits starting from least significant bit (if the number
of bits is not evenly divisible by 3, then add 0's at the most
significant end).
• Write 1 octal digit for each group.
Example: Convert (1001 1110 0111 0000)2 to Octal.
1 001 111 001 110 000
add two zeros here
001 001 111 001 110 000
1 1 7 1 6 0
(11101111.0011101)2 = (357.164)8
Number System
Hexadecimal to Binary Conversion
• Each hexadecimal digit is simply replaced by four bits that denote the same
value. (Hint: Use 8-4-2-1 code)
Example:
Convert 25A0 to binary
(2570)16 = (0010010110100000)2
Number System
Hexadecimal to Binary Conversion
(B76A.C1)16 = (1011011101101010.11000001)2
Number System
Binary to Hexadecimal Conversion
• Group into 4 bits starting from least significant bit (if the number
of bits is not evenly divisible by 4, then add 0's at the most
significant end)
• Write 1 hexadecimal digit for each group.
(10010100110000)2 = (2530)16
Number System
Binary to Hexadecimal Conversion
(1111101111.0011101)2 = (3EF.3A)16
Number System
Octal to Hexadecimal Conversion
Example: Convert (5763.24)8 to Hexadecimal.
First convert (5763.24)8 to Binary
5 7 6 3 . 2 4
101 111 110 011 . 010 100
(5763.24)8 = (101111110011.010100)2
Now convert Binary number to Hexadecimal by making group of 4 bits.
(5763.24)8 = (BF3.50)16
Number System
Hexadecimal to Octal Conversion
Example: Convert (FA79.C5)16 to Octal.
First convert (FA79.C5)16 to Binary
F A 7 9 . C 5
1111 1010 0111 1001 . 1100 0101
(FA79.C5)8 = (1111101001111001.11000101)2
Now convert Binary number to Octal by making group of 3 bits.
(FA79.C5)16 = (175171.612)16
Number System
Write next two consecutive numbers after given number.
1. (98)10
98 99 100
2. (10)2
10 11 100
3. (76)8
76 77 100
4. (99)16
99 9A 9B
5. (FE)
FE FF 100