- 2082 Shrawan · 2+4+2 marks
Minterms/maxterms; K-map Σm(0,1,2,4,5,9,12,15)+d, NAND
Short answer
A minterm is an AND term with every variable (e.g., A'B'C'D'), and a maxterm is an OR term with every variable (e.g., A+B+C+D'), each corresponding to a single input combination. K-map simplification yields Y = A' B' D' + B C' + C' D + B D. NAND implementation uses NAND inverters for complements, four first-level NAND gates for the product terms, and a final NAND to produce Y.
What are the minterms and the maxterms? Simplify the following logic function using K-map and implement the result using NAND gates only. Y(A,B,C,D) = Σm(0,1,2,4,5,9,12,15) + d(7,10,13)
Minterms and maxterms
A minterm is a product (AND) term that contains every variable of the function exactly once, in true or complemented form. It equals 1 for exactly one input combination. A variable is written true if its value is 1 and complemented if it is 0; e.g. for ABC = 101 the minterm is . A function in canonical SOP is a sum of minterms: .
A maxterm is a sum (OR) term that contains every variable exactly once, in true or complemented form. It equals 0 for exactly one input combination. A variable is written true if its value is 0 and complemented if it is 1; e.g. for ABC = 101 the maxterm is . A function in canonical POS is a product of maxterms: .
, and a function's minterm list and maxterm list are complementary (together they hold all numbers).
K-map simplification
CD
AB 00 01 11 10
+---+---+---+---+
00 | 1 | 1 | 0 | 1 |
+---+---+---+---+
01 | 1 | 1 | X | 0 |
+---+---+---+---+
11 | 1 | X | 1 | 0 |
+---+---+---+---+
10 | 0 | 1 | 0 | X |
+---+---+---+---+
- Pair m(0,2) →
- Quad m(4,5,12,13) →
- Quad m(1,5,9,13) →
- Quad m(5,7,13,15) →
Check: 0, 2 by ; 4, 5, 12 by ; 1, 9 by ; 15 by (with don't-cares 7, 13). Don't-care 10 is not used.
NAND-only implementation
An SOP expression maps directly to a two-level NAND-NAND circuit (De Morgan: ). Each product term becomes a first-level NAND and the output NAND replaces the OR gate. Complemented inputs are made with NAND gates whose inputs are tied.
A ──[NAND]── A' (inputs tied)
B ──[NAND]── B' (inputs tied)
C ──[NAND]── C' (inputs tied)
D ──[NAND]── D' (inputs tied)
A', B', D' ──[NAND]── P1 ─┐
B, C' ──[NAND]── P2 ─┤
├──[NAND]── Y
C', D ──[NAND]── P3 ─┤
B, D ──[NAND]── P4 ─┘
Gates: 4 NAND inverters, 4 first-level NANDs and one 4-input output NAND.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Minterms/maxterms; K-map Σm(0,1,2,4,6,8,9,12,13,14) · Digital Logic, chapter 3
- Minterms/maxterms; K-map Σm(2,4,5,13,14)+d, universal gates · Digital Logic, chapter 3
- K-map Σ(0,1,4,8,10,11,12)+d, NAND-only · Digital Logic, chapter 3
- Minterms/maxterms; K-map Σm(0,1,2,5,8,14)+d, NOR · Digital Logic, chapter 3
- K-map Σm(0,1,2,4,7,8,9,10,12,15)+d, NOR-only · Digital Logic, chapter 3
- K-map Σm(7,9,12,13,14,15)+d, NOR-only · Digital Logic, chapter 3
- K-map with don't cares, NAND only · Basic Electronics Engineering, chapter 6
- X-OR gate using NAND gates only · Basic Electronics Engineering, chapter 6