Skip to content
Official PYQ · 2004

GATE CS 2004 Q67 — ALU, Data-path and Control Unit

Explain with AI

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

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

Choose one option
View worked solution

Answer: A

We are given that the total width of each microinstruction is 2626 bits, divided into three fields:

  • Micro-operation field: 1313 bits
  • Next address field (XX): xx bits
  • MUX select field (YY): yy bits

This gives us the relation:
Total Width=13+x+y=26  ⟹  x+y=13\text{Total Width} = 13 + x + y = 26 \implies x + y = 13

The multiplexer (MUX) has 88 status bits as inputs. To select one of these 88 inputs, the MUX select field (YY) must have:
y=log⁡2(8)=3 bitsy = \log_2(8) = 3\text{ bits}

Substituting y=3y = 3 into the relation:
x=13−3=10 bitsx = 13 - 3 = 10\text{ bits}

Since the next address field (XX) is 1010 bits wide, the control memory can address up to 210=10242^{10} = 1024 words. Thus, the size of the control memory is 10241024 words.

Therefore, the values of XX, YY, and the control memory size are 10,3,102410, 3, 1024 respectively.

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

Published
Report a correction
Keep exploringMore ALU, Data-path and Control Unit questions