GATE Computer ScienceHardGATE CS (PYQ pattern)
A control store holds 1024 microinstructions. In horizontal form each word has one bit for each of 60 control signals, a 10-bit next-address field and a 4-bit condition-select field. In vertical form the 60 signals are encoded in 7 groups of mutually exclusive signals of sizes 15, 12, 10, 8, 7, 5 and 3, each group's all-zero code meaning 'none'; the address and condition fields stay. How many bits of control store does vertical encoding save?
- A. 37,888
- B. 36,864
- C. 51,200
- D. 35,840
Correct answer: B. 36,864
Group widths ⌈log₂(n + 1)⌉ = 4, 4, 4, 4, 3, 3, 2 = 24 bits. Horizontal word = 60 + 14 = 74 bits; vertical = 24 + 14 = 38. Saving = 36 × 1024 = 36,864. Using ⌈log₂ n⌉ forgets the 'none' code (the 8-signal group then needs only 3 bits): 37,888. Dropping the address and condition fields from the vertical word gives 51,200.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 5-stage pipeline has forwarding from EX/MEM and MEM/WB to the ALU inputs and also from MEM/WB to the data input of a store in MEM. The…
- A process has three segments of 102,400 B (code), 61,440 B (data) and 20,780 B (stack). Each segment is allocated separately in whole…
- A 16 KB direct-mapped write-back cache has 32-byte blocks; every line stores its data, its tag, one valid bit and one dirty bit, and…
- In a 32-bit ripple-carry adder every full adder produces its carry-out 2 gate delays after its carry-in (inputs a and b are available at t…
- A classic 5-stage pipeline (IF, ID, EX, MEM, WB) runs: I1: ADD R1, R2, R3; I2: LW R4, 8(R1); I3: AND R5, R4, R1; I4: OR R6, R5, R4; I5: LW…
- A virtually indexed, physically tagged L1 cache has 64-byte blocks, 4 KB pages and must avoid synonym (aliasing) problems with no OS help…