A micro program control unit is required to generate a total of 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:
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 control signals, or represent an "inactive" (no signal) state.
- Therefore, each field needs to represent distinct states.
- The number of bits required for one field is:
- Since there are two such fields, the total number of bits required is:
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:
- 1 signal active:
- 2 signals active:
Total valid states = .
The minimum number of bits required to represent states is:
Since 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.
