Electrical · real student question

Simplify the Boolean function F = A′B′C′D′ + A′B′CD′ + A′BC′D + A′BCD′ + AB′C′D′ + AB′C′D + ABC′D′ + ABCD to a minimal sum-of-products form.

Question

Simplify to a minimal sum-of-products form:

F=ABCD+ABCD+ABCD+ABCD+ABCD+ABCD+ABCD+ABCDF = A'B'C'D' + A'B'CD' + A'BC'D + A'BCD' + AB'C'D' + AB'C'D + ABC'D' + ABCD

Step-by-step solution

  1. Convert the expression to a minterm list. Reading each product as a 44-bit pattern ABCDABCD (a primed literal is 00):

    ABCD=m0, ABCD=m2, ABCD=m5, ABCD=m6A'B'C'D' = m_0, \ A'B'CD' = m_2, \ A'BC'D = m_5, \ A'BCD' = m_6

    ABCD=m8, ABCD=m9, ABCD=m12, ABCD=m15AB'C'D' = m_8, \ AB'C'D = m_9, \ ABC'D' = m_{12}, \ ABCD = m_{15}

    so

    F=Σm(0,2,5,6,8,9,12,15)F = \Sigma m(0, 2, 5, 6, 8, 9, 12, 15)

    The starting cost is 88 terms and 3232 literals.

  2. Enumerate the prime implicants. Combining adjacent minterms (those differing in exactly one bit) and keeping only the maximal groups gives seven prime implicants:

    ABD(0,2),ACD(2,6),BCD(0,8),ACD(8,12)A'B'D'\,(0,2), \quad A'CD'\,(2,6), \quad B'C'D'\,(0,8), \quad AC'D'\,(8,12)

    ABC(8,9),ABCD(5),ABCD(15)AB'C'\,(8,9), \quad A'BC'D\,(5), \quad ABCD\,(15)

    Every group has only two cells — there is no 44-cell block anywhere, because no set of four of these minterms forms a K-map square.

  3. Identify the essential terms. Minterm m5m_5 is covered only by ABCDA'BC'D and m15m_{15} only by ABCDABCD, so those two full minterms are essential and must appear. Similarly m6m_6 appears only in ACDA'CD', m9m_9 only in ABCAB'C', and m12m_{12} only in ACDAC'D' — three more essential prime implicants.

  4. Cover what is left. The five essential terms ABCDA'BC'D, ABCDABCD, ACDA'CD', ABCAB'C', ACDAC'D' together cover {2,5,6,8,9,12,15}\{2,5,6,8,9,12,15\}, leaving only m0m_0. It can be picked up by either ABDA'B'D' or BCDB'C'D', both of size two, so there are exactly two minimal covers of equal cost.

  5. Write the minimal SOP. Choosing ABDA'B'D':

    F=ABD+ACD+ABCD+ABC+ACD+ABCDF = A'B'D' + A'CD' + A'BC'D + AB'C' + AC'D' + ABCD

    The equally minimal alternative replaces ABDA'B'D' with BCDB'C'D'. Either way the cost is 66 terms and 2020 literals, down from 88 terms and 3232 literals.

  6. Verify against the full truth table. Evaluating the minimised expression at all 1616 input combinations reproduces 11 exactly on {0,2,5,6,8,9,12,15}\{0,2,5,6,8,9,12,15\} and 00 elsewhere. The reason the reduction is modest is structural: minterms such as m5m_5 (01010101) and m15m_{15} (11111111) have no neighbour in the set, so they survive as full four-literal products no matter how the map is grouped.

Answer

F=ABD+ACD+ABCD+ABC+ACD+ABCD(6 terms,20 literals)F = A'B'D' + A'CD' + A'BC'D + AB'C' + AC'D' + ABCD \quad (6 \text{ terms}, 20 \text{ literals})

Need to solve a different problem like this? Open the solver →