Control Unit Design Mistakes: 6 Mark-Losing Errors and How to Fix Them

Repair six common control-unit errors with one consistent datapath, exact timing traces, signal equations and a complete microinstruction sizing example.

KnowledgeGate Team

Exam prep & CS education

Updated 25 Nov 20265 min read
Control Unit Design Mistakes: 6 Mark-Losing Errors and How to Fix Them

Control-unit answers can look plausible even when two sources drive one bus, a memory response is used before it arrives, or a control-word field is one bit short. These are model and timing errors, not failures of memorisation. A shared single-bus datapath exposes six recurring errors and makes each value checkable. Use CS Fundamentals for the wider subject path, then practise with Control Unit Design questions.

1. Control Unit Design mistake 1: solving before fixing the datapath model

Why it happens: A register-transfer sequence is copied before checking the buses, ALU paths and temporary registers.

What goes wrong: A three-bus schedule is declared legal on one bus, or two-read-port hardware is forced into extra cycles.

What to do instead: Record bus count, legal bus drivers, temporary latches, and memory handshake. This model uses one shared bus; registers R1, R2, R3; input latch Y; ALU A from Y, B from the bus; output latch Z; MAR; MDR; and MFC.

For ADD R1,R2,R3, take R2=9, R3=4, initial R1=0. The operands cannot drive together, so Y retains the first. Only the required ports permit another schedule. Control Unit Design in COA: Hardwired vs Microprogrammed, with Worked Examples is the canonical baseline for fetch sequencing, control generation and general microinstruction sizing; the six errors are single-bus legality, memory waits, timing-qualified signals, comparison axes and field sizing.

2. Control Unit Design mistake 2: placing two sources on one bus

Single-bus ADD diagram contrasts an invalid two-driver cycle with valid T0-T2 execution ending R1=13.

Why it happens: The expression R1 <- R2 + R3 is mistaken for a one-cycle control list.

What goes wrong: T0: R2out, R3out, Add, R1in enables two shared-bus drivers. The bus value is undefined, so R1 cannot reliably receive 13.

What to do instead: Drive one source per cycle and use the supplied latches.

Time

Asserted controls

State after the edge

T0

R2out, Yin

Y=9

T1

R3out, Add, Zin

Z=9+4=13

T2

Zout, R1in, End

R1=13

Each cycle has at most one bus driver. The final architectural state is R1=13, while R2=9 and R3=4 remain unchanged.

Single-bus datapath with R1=0, R2=9 and R3=4, contrasting an invalid two-driver ADD with a valid T0-T2 sequence that produces R1=13.

3. Control Unit Design mistake 3: treating memory as a zero-latency unit

Why it happens: A memorised LOAD sequence assumes memory completes before the next clock.

What goes wrong: MDRout or R1in is asserted before the returned word is valid, so stale data may be written.

What to do instead: Separate the read request from completion. Exit the wait state only when MFC=1.

For LOAD R1,8(R2), take R2=1000 and Memory[1008]=37.

Time

Action and result

T0

R2out,Yin -> Y=1000

T1

Offset8out,Add,Zin -> Z=1008

T2

Zout,MARin,Read -> MAR=1008

T3

WMFC, first sample MFC=0, so remain in T3

T3

WMFC, next sample MFC=1, so memory places 37 in MDR

T4

MDRout,R1in,End -> R1=37

The effective address is 1000+8=1008, and final R1=37. Repeat T3 for an unknown delay. Other memories may handshake differently.

4. Control Unit Design mistake 4: deriving hardwired signals from the opcode alone

Why it happens: Instruction-decode lines are treated as though they also identify the clock step.

What goes wrong: R1in = ADD + LOAD would load the destination throughout both instructions, not just at write-back.

What to do instead: Combine decode with timing state, adding conditions such as MFC where needed:

  • Yin = ADD.T0 + LOAD.T0

  • Zin = ADD.T1 + LOAD.T1

  • R1in = ADD.T2 + LOAD.T4

  • Read = LOAD.T2

A dot means logical AND; plus means logical OR. At LOAD T3, MFC=0 loops and MFC=1 advances to T4. Signals now occur only at legal times.

5. Control Unit Design mistake 5: mixing two comparison axes

Why it happens: hardwired, microprogrammed, horizontal and vertical are memorised on one ranking.

What goes wrong: Horizontal control is called an alternative to hardwired control, and RISC or CISC associations become universal laws.

What to do instead: Separate the axes and name the trade-off.

Axis

Correct distinction

Control generation

Hardwired logic generates signals directly but is harder to modify. Microprogrammed control reads a control store but is easier to change.

Inside microprogrammed design

Horizontal words allow direct parallel control but are wider. Vertical words are narrower, need decoding, and obey grouping constraints.

RISC-hardwired and CISC-microprogrammed are associations, not laws.

6. Control Unit Design mistake 6: sizing fields before counting choices

Why it happens: Learners apply ceil(log2 signals) once, omit no-op codes, or flatten parallel groups.

What goes wrong: The word is too narrow or loses simultaneous group selection.

What to do instead: Include each no-op and size every field separately.

Independent groups A=8, B=16, C=5 and D=3 each select at most one signal and need separate no-op codes:

  • A needs ceil(log2(8+1)) = 4 bits.

  • B needs ceil(log2(16+1)) = 5 bits.

  • C needs ceil(log2(5+1)) = 3 bits.

  • D needs ceil(log2(3+1)) = 2 bits.

The control portion is 4+5+3+2=14 bits. Selecting one of six conditions needs ceil(log2 6)=3 bits. A 512=2^9 word control store needs 9 address bits. Total width is 14+3+9=26 bits, and capacity is 512 x 26 = 13,312 bits.

Ignoring the two power-of-two no-op codes gives the tempting 24-bit answer. Flattening 32 signals plus one no-op gives 6 control bits and an apparent 18-bit word, but destroys parallel selection. Hardwired vs Microprogrammed Control Unit for GATE: Microinstruction Sizing Numericals Solved has a fuller sizing drill.

7. Control Unit Design mistakes: the 30-second check and next step

Before accepting an answer, ask: datapath resources stated?; one legal driver per bus?; every temporary value traced?; memory completion honoured?; control equations include decode and time?; every encoded field counts choices, no-op and parallel groups?.

Rebuild the three-cycle ADD to reach R1=13, explain why LOAD waits for MFC=1 before writing 37, recover R1in = ADD.T2 + LOAD.T4, and recompute 26 bits with 13,312 control-store bits. Computer Architecture and Organisation is the route whose curriculum includes Control Unit Design. Use these checks on any valid datapath.