Skip to content
Official PYQ · 1996

GATE CS 1996 Q2.25 — ALU, Data-path and Control Unit

Explain with AI

A micro program control unit is required to generate a total of 2525 control signals. Assume that during any micro instruction, at most two control signals are active. Minimum number of bits required in the control word to generate the required control signals will be:

Choose one option
View worked solution

Answer: C

To find the minimum number of bits required in the control word, we can analyze the problem using two different design perspectives: the practical field-based encoding (which matches the given options) and the theoretical minimum encoding.

Method 1: Practical Field-Based Encoding (Standard Interpretation)

Since at most two control signals can be active during any microinstruction, we can divide the control word into two identical control fields. Each field is responsible for activating at most one control signal.

  • Each field must be able to select any of the 2525 control signals, or represent an "inactive" (no signal) state.
  • Therefore, each field needs to represent 25+1=2625 + 1 = 26 distinct states.
  • The number of bits required for one field is: ⌈log⁡2(26)⌉=5 bits\lceil \log_2(26) \rceil = 5 \text{ bits}
  • Since there are two such fields, the total number of bits required is: 5+5=10 bits5 + 5 = 10 \text{ bits}

This matches Option C.


Method 2: Theoretical Minimum Encoding (Fully Compressed)

If we encode all valid combinations of active signals directly into a single binary value, we calculate the total number of valid states:

  • 0 signals active: (250)=1\binom{25}{0} = 1
  • 1 signal active: (251)=25\binom{25}{1} = 25
  • 2 signals active: (252)=25×242=300\binom{25}{2} = \frac{25 \times 24}{2} = 300

Total valid states = 1+25+300=3261 + 25 + 300 = 326.

The minimum number of bits required to represent 326326 states is: ⌈log⁡2(326)⌉=9 bits\lceil \log_2(326) \rceil = 9 \text{ bits}

Since 99 is not present in the options, the question assumes the practical field-based design (Method 1), which requires 10 bits.

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

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