GATE Computer ScienceVery hardGATE CSE

Memory has 8 low-order interleaved banks; a bank is busy for 6 clock cycles after starting an access, and at most one new access can be started per cycle, in program order (an access that finds its bank busy stalls the stream). 16 words with addresses 0, 4, 8, …, 60 (stride 4) are read. Starting at cycle 0, at which cycle does the last access finish?

  1. A. 21
  2. B. 49
  3. C. 43
  4. D. 55

Correct answer: B. 49

Stride 4 uses only banks 0 and 4, so each bank can start only one access per 6 cycles (8 per bank, starting at cycles 0, 6, …, 42 and 1, 7, …, 43): the 16 accesses finish at cycle 49 (stride 1 would finish at 21).

More Computer Organization and Architecture questions

Exams that ask this topic