GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 5(b)

Minimum sum of products with don’t-cares

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 1991 paper

GATE 1991, Q5(b) 4 marks · Descriptive
Report issue

Logic Minimization & Karnaugh Maps

Question 5(b), GATE 1991: Find a minimum SOP for f(A,B,C,D)=Σm(0,2,8,10,15)+Σd(3,11,12,14), with A the most significant bit.
Question 5(b), GATE 1991: Find a minimum SOP for f(A,B,C,D)=Σm(0,2,8,10,15)+Σd(3,11,12,14), with A the most significant bit.
Tap to enlarge
Answer & solution

Answer: f = B′D′ + AC (two products, four literals). (no official key was published)

Step through it (12 steps)

Place the mandatory ones at 0,2,8,10,15 in the four-variable Karnaugh map, mark 3,11,12,14 as optional, and treat all other cells as zeros. The group {0,2,8,10} fixes B=0,D=0 while A,C vary, producing B′D′. The group {10,11,14,15} fixes A=1,C=1, producing AC; its cells 11 and 14 are permitted don’t-cares. The union covers every mandatory one and no mandatory zero.

For minimality, a single implicant containing both 0=0000 and 15=1111 would leave all four bits free and cover forbidden zeros. Therefore at least two product terms are necessary. No one-literal implicant is legal: each half of the truth table contains at least one mandatory zero. Hence each nonzero product needs at least two literals, and two products need at least four literals. Our expression meets both lower bounds.

Don’t-cares are permissions to choose values that simplify the implementation, not required ones. For example this solution sets 3 and 12 to zero, which is allowed. Check the seven mandatory-zero cells as well as the five mandatory-one cells; checking only the specified ones would not establish equivalence.

Original paper, page 5