Skip to content
Official PYQ · 2006

GATE CS 2006 Q38 — Minimization (K-Maps etc.)

Explain with AI

Consider a Boolean function f(w,x,y,z)f(w,x,y,z). Suppose that exactly one of its inputs is allowed to change at a time. If the function happens to be true for two input vectors i1=⟨w1,x1,y1,z1⟩i_{1}=\left \langle w_{1}, x_{1}, y_{1},z_{1}\right \rangle and i2=⟨w2,x2,y2,z2⟩i_{2}=\left \langle w_{2}, x_{2}, y_{2},z_{2}\right \rangle , we would like the function to remain true as the input changes from i1i_{1} to i2i_{2} (i1i_{1} and i2i_{2} differ in exactly one bit position) without becoming false momentarily. Let f(w,x,y,z)=∑(5,7,11,12,13,15)f(w,x,y,z)=\sum (5,7,11,12,13,15) . Which of the following cube covers of ff will ensure that the required property is satisfied? 

Choose one option
View worked solution

Answer: D

To prevent a static-1 hazard (where the output momentarily drops to 0 when a single input changes between two adjacent 1-minterms), every pair of adjacent minterms must be covered by at least one common product term (cube) in the Boolean expression.

Step 1: Represent the minterms in binary

The given function is f(w,x,y,z)=∑(5,7,11,12,13,15)f(w,x,y,z) = \sum(5, 7, 11, 12, 13, 15). Let's write their 4-bit binary representations:

  • 5=010125 = 0101_2
  • 7=011127 = 0111_2
  • 11=1011211 = 1011_2
  • 12=1100212 = 1100_2
  • 13=1101213 = 1101_2
  • 15=1111215 = 1111_2

Step 2: Identify adjacent pairs and their covering cubes

Two minterms are adjacent if they differ by exactly one bit. Let's find all adjacent pairs and the corresponding simplified product term that covers them:

  1. (5,7)(5, 7): 01010101 and 01110111 differ in yy   ⟹  \implies covered by w‾xz\overline{w}xz
  2. (5,13)(5, 13): 01010101 and 11011101 differ in ww   ⟹  \implies covered by xy‾zx\overline{y}z
  3. (7,15)(7, 15): 01110111 and 11111111 differ in ww   ⟹  \implies covered by xyzxyz
  4. (11,15)(11, 15): 10111011 and 11111111 differ in xx   ⟹  \implies covered by wyzwyz
  5. (12,13)(12, 13): 11001100 and 11011101 differ in zz   ⟹  \implies covered by wxy‾wx\overline{y}
  6. (13,15)(13, 15): 11011101 and 11111111 differ in yy   ⟹  \implies covered by wxzwxz

Step 3: Determine the required cover

To ensure hazard-free transitions between all adjacent 1-minterms, the cover must include all 6 of these product terms:

{w‾xz,  xy‾z,  xyz,  wyz,  wxy‾,  wxz}\{\overline{w}xz, \; x\overline{y}z, \; xyz, \; wyz, \; wx\overline{y}, \; wxz\}

Comparing this with the given options, Option D contains exactly these 6 product terms.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Minimization (K-Maps etc.) questions