GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 49

Essential prime implicants with don’t cares

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

GATE 2018, Q49 2 marks · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 49, GATE 2018: F(P,Q,R,S) has on-minterms {0,2,5,7,9,11} and don’t-cares {3,8,10,12,14}. All other minterms are off. How many essential prime implicants exist?
Tap to enlarge
Answer & solution

Official answer: 3

Step through it (13 steps)

Method

A prime implicant is a maximal Boolean cube containing no off-cell; don’t-cares may enlarge it but need not be covered. Essential means at least one required on-cell has no alternative prime covering it. In dash notation, the five primes cover required cells as follows: 01-1→{5,7}; 0-11→{7}; 10--→{9,11}; -01-→{2,11}; -0-0→{0,2}. Therefore 5,9,0 respectively force three primes. A prime that covers only redundantly covered on-cells is not essential, even if it appears in a possible cover.

Solution

Enumerating maximal cubes that contain an on-minterm and no off-minterm gives five prime implicants: 01-1, 0-11, 10--, -01-, -0-0 in P, Q, R, S order, where a dash means that variable is absent. Minterm5 is covered only by 01-1; minterm 9 only by 10--; minterm 0 only by-0-0. These three primes are essential. The remaining on-minterms 2, 7, 11 each have more than one covering prime. Therefore exactly 3 prime implicants are essential. The enumeration checks all 81 four-variable cubes and treats only the listed d entries as don’t cares.

Original paper, page 20 · Answer key