5.8Vertical microinstruction
The idea
Vertical micro-instructions encode signals into small fields: narrow, but each field needs a decoder, and fewer signals fire at once.
Think of it like this: Instead of one switch per light, a dial with positions: fewer controls but slower to read.
Why it exists
It saves control-store space.
How it works
- Group mutually exclusive signals into a field.
- Field bits = ⌈log2(options + 1)⌉ (+1 for "none").
- Add up the field widths.
- A decoder expands each field into signals.
Worked example: Same signals as before
ALU 8 → 4 bits, source 6 → 3, dest 6 → 3, memory 3 → 2. Total 12 bits vs 23 horizontal.
Now play with it
- →Switch to the Vertical tab and compare totals.
Total 12 bits. Click a field for details.
Horizontal: 1 bit per signal, many signals can fire together, no decoder. Vertical: encoded fields, one signal per field, needs decoders (slower).
Check yourself
A field selects one of 7 mutually exclusive sources or none. Minimum bits?
Exam notes (the dense version)
Encoded fields. Narrow, small store, needs decoders → slower, less parallelism.
Previous year questions: ALU, Datapath & Control Unit (3)
PYQs are grouped by topic, so this is the full set for ALU, Datapath & Control Unit; try the ones that match this subtopic. Open all 3 on the topic page.