F(A,B,C,D) = Σm(1,3,5,7,9,11,13,15) — Karnaugh map

edge caseone 8-cell group; answer is D

Answer

D

Why this example is worth doing

Every odd minterm, which is exactly the set of rows where D is 1, so the whole function collapses to a single literal and the circuit is a wire. It is the cleanest illustration of what minimisation is for: the canonical form has eight terms of four literals, the minimal form has one literal, and the two are the same function. It also gives the tool's group-grading a clean test, because the eight cells form one octet and any attempt to cover them as four pairs is valid, complete and four times too expensive.

Try your own input in the Karnaugh map solver. Group a 2- to 6-variable map yourself and have every group marked right or wrong.

How the answer is reached

Quine–McCluskey

Prime implicants — Quine–McCluskey
#Term
1D
Minimum cover — Quine–McCluskey
#Cover
1D
Warning:

1 term(s), 1 literal(s); 1 essential prime implicant(s).

Truth table

Truth table — columns #, A, B, C, D, F
#ABCDF
000000
100011
200100
300111
401000
501011
601100
701111
810000
910011
1010100
1110111
1211000
1311011
1411100
1511111

Compare with

Open this example in the Karnaugh map solver

The field arrives filled in with this example’s input.

Note:

Notation this page assumes

  • Symbols: · is AND, + is OR, ⊕ is XOR, a prime or an overline is NOT. The field also takes ∧ ∨ ¬ ~ ! & | and the words.
  • Operator precedence, tightest first: NOT, then AND (including juxtaposition), then XOR/XNOR, then NAND/NOR, then OR, then IMPLIES, then IFF.
  • In a minterm index the first variable is the most significant bit, so over [A, B, C] minterm 5 is A·B̄·C.

Sources

  • Karnaugh, “The Map Method for Synthesis of Combinational Logic Circuits” (1953)
  • Veitch, “A Chart Method for Simplifying Truth Functions” (1952)