Skip to content
Official PYQ · 1997

GATE CS 1997 Q5.3 — ALU, Data-path and Control Unit

Explain with AI

A micro instruction is to be designed to specify:

  1. none or one of the three micro operations of one kind and
  2. none or upto six micro operations of another kind

The minimum number of bits in the micro-instruction is:

Choose one option
View worked solution

Answer: C

To find the minimum number of bits in the micro-instruction, we analyze the two parts of the specification separately:

  1. Part (a): None or one of the three micro-operations of one kind
    Since we can select at most one micro-operation out of three, these operations are mutually exclusive. Including the "none" (no operation) case, there are a total of 1+3=41 + 3 = 4 possible states:
    • State 0: No operation
    • State 1: Micro-operation 1
    • State 2: Micro-operation 2
    • State 3: Micro-operation 3
    To encode 44 mutually exclusive states, the number of bits required is: ⌈log⁡2(4)⌉=2 bits\lceil \log_2(4) \rceil = 2 \text{ bits}

  2. Part (b): None or up to six micro-operations of another kind
    The phrase "none or up to six" implies that any combination of these 66 micro-operations can be executed simultaneously (compatible/horizontal microprogramming). Since they can be active independently, we must allocate 11 control bit for each of the 66 micro-operations. Bits required=6 bits\text{Bits required} = 6 \text{ bits}

Total minimum number of bits required:

Total bits=2 bits (from part a)+6 bits (from part b)=8 bits\text{Total bits} = 2 \text{ bits (from part a)} + 6 \text{ bits (from part b)} = 8 \text{ bits}

Hence, the correct option is C.

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

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