Why do we take 4,5 and 5,13 instead of 4,6 and 13,15?

  • Thread starter tomekrx
  • Start date
  • Tags
    Method Qm
In summary, the Quine–McCluskey algorithm chooses 4,5 and 5,13 rather than 4,6 and 13,15 because they share more common bits in their middle bits.
  • #1
tomekrx
1
0
Homework Statement
Quine McCluskey (QM) Method
Relevant Equations
little problem
Hello,
can anyone tell me why do we take 4,5 and 5,13 instead of 4,6 and 13,15?Thats QM method
241172
 
Physics news on Phys.org
  • #3
The wikipedia article summarizes it pretty well:

https://en.wikipedia.org/wiki/Quine–McCluskey_algorithm

Not really understanding how it works yet, could the choices be due to fewer bit variations?

basically 4,5 is ##(0 1 0 -)## and 5,13 is ##(- 1 0 1)## with the middle bits ##(-10-)## in common to both?

whereas 4,6 which is ##(01-0)## and 13,15 is ##(11-1)## only have the ##(-1--)## bit in common.

from the wikipedia article above:
Step 2: prime implicant chart[edit]
None of the terms can be combined any further than this, so at this point we construct an essential prime implicant table. Along the side goes the prime implicants that have just been generated, and along the top go the minterms specified earlier. The don't care terms are not placed on top—they are omitted from this section because they are not necessary inputs.

4810111215ABCD
m(4,12)*
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
100
m(8,9,10,11)
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
10
m(8,10,12,14)
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
10
m(10,11,14,15)*
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
13px-Dark_Red_x.svg.png
11
To find the essential prime implicants, we run along the top row. We have to look for columns with only 1 "X". If a column has only 1 "X", this means that the minterm can only be covered by 1 prime implicant. This prime implicant is essential.

For example: in the first column, with minterm 4, there is only 1 "X". This means that m(4,12) is essential. So we place a star next to it. Minterm 15 also has only 1 "X", so m(10,11,14,15) is also essential. Now all columns with 1 "X" are covered.

The second prime implicant can be 'covered' by the third and fourth, and the third prime implicant can be 'covered' by the second and first, and neither is thus essential. If a prime implicant is essential then, as would be expected, it is necessary to include it in the minimized boolean equation. In some cases, the essential prime implicants do not cover all minterms, in which case additional procedures for chart reduction can be employed. The simplest "additional procedure" is trial and error, but a more systematic way is Petrick's method. In the current example, the essential prime implicants do not handle all of the minterms, so, in this case, one can combine the essential implicants with one of the two non-essential ones to yield one equation:

{\displaystyle f_{A,B,C,D}=BC'D'+AB'+AC\ }
f_{A,B,C,D} = BC'D' + AB' + AC \
[11]
or

{\displaystyle f_{A,B,C,D}=BC'D'+AD'+AC\ }
{\displaystyle f_{A,B,C,D}=BC'D'+AD'+AC\ }

Both of those final equations are functionally equivalent to the original, verbose equation:

{\displaystyle f_{A,B,C,D}=A'BC'D'+AB'C'D'+AB'C'D+AB'CD'+AB'CD+ABC'D'+ABCD'+ABCD.\ }
f_{A,B,C,D} = A'BC'D' + AB'C'D' + AB'C'D + AB'CD' + AB'CD + ABC'D' + ABCD' + ABCD. \
 

1. What is the Quine McCluskey (QM) Method?

The Quine McCluskey (QM) Method is a logical technique used to simplify Boolean algebra expressions. It is named after its developers, Willard Van Orman Quine and Edward J. McCluskey.

2. How does the QM Method work?

The QM Method uses a systematic approach to identify and eliminate redundant terms in a Boolean expression. It starts by creating a truth table and then uses a process of combining terms and eliminating duplicates to create a simplified expression.

3. What are the advantages of using the QM Method?

The QM Method offers several advantages, including the ability to handle large and complex Boolean expressions, the guarantee of finding the most simplified expression, and the potential to reduce the number of terms and variables in the expression.

4. When is the QM Method typically used?

The QM Method is commonly used in digital electronics, specifically in the design and optimization of logic circuits. It is also used in software engineering for simplifying Boolean expressions in programming languages.

5. Are there any limitations to the QM Method?

While the QM Method is a powerful tool for simplifying Boolean expressions, it does have some limitations. It can only be used for expressions with a limited number of variables, and it may not always produce the most efficient result. Additionally, the process can be time-consuming for complex expressions.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
5
Views
824
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Quantum Interpretations and Foundations
Replies
16
Views
522
  • Quantum Interpretations and Foundations
Replies
26
Views
2K
  • Differential Equations
Replies
23
Views
2K
Replies
3
Views
309
  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Quantum Interpretations and Foundations
4
Replies
127
Views
9K
  • Other Physics Topics
Replies
4
Views
2K
Back
Top