1. The stage delays in a 4-stage pipeline are 800, 500, 400 and 300 picoseconds. The first stage is replaced with a functionally equivalent design involving two stages with respective delays 220 and 350 picoseconds. If the delay due to register is 20 picoseconds, calculate:
(a)(i)Pipeline cycle time, non-pipeline execution time and speed-up ratio in stage 1
(ii)Pipeline time for 1000 tasks, sequential time for 1000 tasks and throughput in stage 1
(iii)Pipeline cycle time, non-pipeline execution time and speed-up ratio in stage 2
(iv)Pipeline time for 1000 tasks, sequential time for 1000 tasks and throughput in stage 2 (15 marks)
(b)(i)Explain 3 causes of pipeline conflicts
(ii)Explain 2 ways of resolving pipeline conflicts (6 marks)
(c)Define start, stop and character bit. (4 marks)
2.
(a)Explain the following terms: (i) Programmed I/O (ii) Direct Memory Access (iii) Interrupt-initiated I/O (6 marks)
(b)Explain strobe and handshaking signal (6 marks)
(c)Define any 3 kinds of control command (3 marks)
3.
(a)Perform 3 I-type MIPS instructions coding. (6 marks)
(b)Perform 3 R-type MIPS instructions coding. (5 marks)
(c)Assume 40% of the instructions are data-accessing instructions. Let a hit take 3 clock cycles and the miss penalty be 200 clock cycles. Assume the instruction miss rate is 24% and the data access miss rate is 38%. What is the average memory access time? (4 marks)
(Note: in questions 3a and 3b above use a, b, c, r1, r2, r3 and 32.)
4.
(a)Explain the following terms: (i) Direct mapping (ii) Associative mapping (iii) Set-associative mapping (5 marks)
(b)Differentiate between temporal and spatial locality (4 marks)
(c)Explain the characteristics of memory hierarchy (6 marks)
5.
(a)Give 5 differences between computer architecture and computer organization (5 marks)
(b)Define virtual memory and list 5 characteristics to consider when designing a bus (5 marks)
(c)Define the following terms: (i) Machine cycle (ii) Fetch (iii) Decode (iv) Execute (5 marks)
6.
(a)Define the following data streams: (i) SIMD (ii) SISD (iii) MISD (iv) MIMD (5 marks)
(b)Explain the following: (i) Primary storage (ii) Secondary storage (5 marks)
(c)List five (5) differences between RISC and CISC (5 marks)
