GATE Computer ScienceEasyGATE CS (PYQ pattern)

A control unit has 48 control signals partitioned into 6 groups of mutually exclusive signals of sizes 12, 10, 9, 8, 5 and 4. In a vertically encoded microinstruction each group is encoded separately, with the all-zero code meaning 'no signal of the group'. The word also has a 3-bit condition field and a 9-bit next-address field. How many bits wide is a microinstruction, and how many bits does the full 512-word control store hold?

  1. A. 60 bits wide; 30720 bits
  2. B. 34 bits wide; 17408 bits
  3. C. 28 bits wide; 14336 bits
  4. D. 35 bits wide; 17920 bits

Correct answer: B. 34 bits wide; 17408 bits

Group widths ⌈log₂(n+1)⌉ = 4, 4, 4, 4, 3, 3 = 22; plus 3 + 9 = 34. 512 × 34 = 17408. Using ⌈log₂ n⌉ misses the no-op code (n = 8 would need 4 bits, not 3, etc.).

More Computer Organization and Architecture questions

Exams that ask this topic