Skip to main content

GATE CSE 2004CO & Architecture › Control Unit & MicroprogrammingVerified

GATE CSE 2004 PYQ: The microinstructions stored in the control memory of a processor have a width of 26 26 26 bits. Each…

The microinstructions stored in the control memory of a processor have a width of 26 bits. Each microinstruction is divided into three fields: a micro-operation field of 13 bits, a next address field (X),(X), and a MUX select field (Y).(Y). There are 8 status bits in the input of the MUX.

GATE CSE 2004 Control Unit & Microprogramming diagram: The microinstructions stored in the control memory of a proc

How many bits are there in the XX and YY fields, and what is the size of the control memory in number of words?

  1. A
    10,3,102410, 3, 1024
    Correct answer
  2. B
    8,5,2568, 5, 256
  3. C
    5,8,20485, 8, 2048
  4. D
    10,3,51210, 3, 512

Answer

(A) 10 , 3 , 1024 10, 3, 1024 10 , 3 , 1024

Approach

The microinstruction has three fields: 13-bit micro-operation field, X-bit next address field, and Y-bit MUX select field. Since there are 8 status inputs to the MUX, Y must be the number of bits needed to select one of 8 inputs, i.e. Y = log2(8) = 3. The total width equation gives 13 + X + Y = 26, so X = 10. The control memory is addressed by X bits, so its size is $2^X$ words = $2^10 = 1024$ words.

The MUX has 8 status inputs, so it requires 3 select bits (Y=3). The 26-bit microinstruction format is 13 + X + Y = 26, giving X=10. Therefore the control memory contains $2^10 = 1024$ words. Option A is correct.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.