Professional Documents
Culture Documents
Quine McCluskey Tabulation
Quine McCluskey Tabulation
Abstract:
This assignment has three parts. Main part is all about how to minimise Boolean function by
using Quine McCluskey algorithm. And the other two parts are how to write the function in
POS two level (Product of Sum ) and SOP two level (Sum of Product) form, And then to
simulate on multism. And also to show the equivalence of two form. A demonstration of the
working function would be required in the lab.
Introduction:
Quine Mccluskey Tabulation method was developed by W.V.Quine and Edward J.Mccluskey
in 1956. Functionally it is identical to k-map. Karnaugh-map is a graphical representation of
the logic system but only effective up to 6 variables. Function of more than 6 variables can’t
be minimised from k-map. Quine Mccluskey Tabulation method widely used for a function
more than 6 variables. The tabulation form makes it very useful to be used in computer
algorithms. The main part of this method is to find the prime implicants and then use those
prime implicants in a chart to find out the essential prime implicants of the function.
Main Body:
F (UVWXYZ) = ∑ (12,13,14,15,28,29,30,31,44,45,46,47,54,55,60,61,62,63)
A given function with don’t care has to be minimised and simplified in Boolean expression.
First of all the truth table has been formed for a 6 variables function, which gives 64 different
combinations of bits. Quine McCluskey algorithm has two main parts. In first part prime
implicants need to be found and then putting those prime implicants in a chart to identified
an essential prime implicant. Finding prime implicants is very straight forward. To find prime
implicants, all the terms from function have to be separated in sanctions of same numbers of
“1” in those terms. And then to collect all the terms which changes by only one bit. And put a
dash (-) in place of that changing bit to merge both of them. And put the new term in a new
table. The same procedure has to be repeated until all the terms which differ by only one bit
have been collected. The terms which have no pair in the tables are the prime implicants.
Make notes of those prime implicants and then put it in the chart to find out the essential
prime implicants. In the chart if there is only one “X” in a column which cannot be collected
from any other mean, so it does mean that the term representing that “X” in the column is the
essential prime implicant, Mark that term with star. So take out that term from the chart with
all the terms which eliminate with this term. And then look for rows which eliminate the
highest rows and columns together. Combining those terms makes the minimised function.
In this assignment the essential prime implicant is “WX”.
The truth table for function F (UVWXYZ) has been given bellow. With don’t care.
F (UVWXYZ) = ∑ (12,13,14,15,28,29,30,31,44,45,46,47,54,55,60,61,62,63)
With don’t care’s D (UVWXYZ) = ∑ (10, 36, 38, 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1 61 1
1 1 1 1 1 0 62 1
1 1 1 1 1 1 63 1
Step -1: Sort into sections and tabulate according to the number of ‘1’s in each term. At this
stage don’t cares should also be included.
Step -2: Form all possible combinations between section 1 & 2, 2 & 3, 3 & 4 and 4 & 5
Table: 3
0–1111 15,31
–01111 15,47
0111–1 29,31
–11101 29,61
01111– 30,31
–11110 30,62
10–111 39,47
1011–1 45,47
1–1101 45,61
10111– 46,47
1–1110 46,62
11011– 54,55
11–110 54,62
11110– 60,61
1111–0 60,62
Binary 2nd Column
Sec 4 & 5 Combined
–11111 31,63
1–1111 47,63
11–111 55,63
1111–1 61,63
11111– 62,63
Step -3: On completion of 2nd column, a 3rd and 4th column has been formed to combine
terms in adjacent sections of column 2 and then in column 4.
Table: 4
Column - 2 Decimal Column - 3 Decimal Column - 4 Decimal
All terms not ticked are ‘Prime Implicants’ (PI) of the function generate Boolean form of PI’s.
In this function four prime implicants have been identified from the above tables.
Table: 5
If a column has only on ‘X’ then that prime implicant is essential. Column highlighted with red
strips has only one ‘X’ which can’t be collected from any other combination. Prime implicant
‘WX’ is essential, which has been indicated with star. As shown in table: 6
Chart: 1
PI 12 1 14 15 28 2 30 3 44 45 4 47 54 55 6 61 6 63 K-map
3 9 1 6 0 2
/U/VWY/Z X 10,14,
UX/Z X X X X X 36,38,44,46,
52,54,60,62
38,39,46,47,
UXY X X X X X X 54,55,62,63
12,28,13,29,14,
WX * X X X X X X X X X X X X X X X X 15,30,31,44,45,
46,47,60,61,62,
63,
Chart: 2
PI 1 1 1 1 2 2 3 3 4 4 4 4 5 5 6 6 6 6
2 3 4 5 8 9 0 1 4 5 6 7 4 5 0 1 2 3
/U/ X
VWY/Z
UX/Z X X X X X
UXY X X X X X X
WX * X X X X X X X X X X X X X X X X
F = WX + UXY
Part 2:
In second part the function is required to be implemented using AND/OR 2-level form, And
simulation proof need to verify the function is correct. First of write the function in Boolean
expression with all variables included.
F (UVWXYZ) = ∑ (12,13,14,15,28,29,30,31,44,45,46,47,54,55,60,61,62,63)
F = /u/vwx/y/z + /u/vwx/yz + /u/vwxy/z + /u/vwxyz +/uvwx/y/z + /uvwx/yz + /uvwxy/z +
/uvwxyz + u/vwx/y/z + u/vwx/yz + u/vwxy/z + u/vwxyz + uv/wxy/z + uv/wxyz +uvwx/y/z
+uvwx/yz + uvwxy/z + uvwxyz
Part 3:
Conclusion:
References: