Skip to main content

K-map Σ(1,3,7,11,15)+d, NAND

Short answer

K-map simplification gives F = CD + A'D = D(C + A'). Realized with NAND gates: one inverter for A', two 2-input NANDs for CD and A'D, and one output NAND.

Simplify the function using K-map F = Σ(1,3,7,11,15) and D = Σ(0,2,5,8,14). Also realize the simplified circuit using NAND Gates.

Given F(A,B,C,D)=Σm(1,3,7,11,15)+d(0,2,5,8,14)F(A,B,C,D) = \Sigma m(1,3,7,11,15) + d(0,2,5,8,14).

K-map simplification

        CD
AB      00  01  11  10
      +---+---+---+---+
 00   | X | 1 | 1 | X |
      +---+---+---+---+
 01   | 0 | X | 1 | 0 |
      +---+---+---+---+
 11   | 0 | 0 | 1 | X |
      +---+---+---+---+
 10   | X | 0 | 1 | 0 |
      +---+---+---+---+
  • Quad m(3,7,11,15) → CDCD
  • Quad m(1,3,5,7) → A‾D\overline{A}D
F=CD+A‾D=D(C+A‾)F = CD + \overline{A}D = D(C + \overline{A})

Check: 3, 7, 11, 15 by CDCD; 1 (with 3, 5, 7) by A‾D\overline{A}D. Don't-care 5 helps form the A‾D\overline{A}D quad. (A‾ B‾\overline{A}\,\overline{B} in place of A‾D\overline{A}D is an equally small alternative.)

Realization using NAND gates

F=CD+A‾D‾‾=CD‾⋅A‾D‾‾\begin{aligned} F &= \overline{\overline{CD + \overline{A}D}} \\ &= \overline{\overline{CD}\cdot\overline{\overline{A}D}} \end{aligned}
A ──[NAND]── A'   (inputs tied)

C, D  ──[NAND]── P1  ─┐
                      ├──[NAND]── F
A', D ──[NAND]── P2  ─┘

Gates: one NAND inverter for A‾\overline{A}, two 2-input NANDs and one 2-input output NAND: 4 NAND gates.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 3 questions →