Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It takes 84ns to process a task on a pipelined CPU. The same task can be process

ID: 3554550 • Letter: I

Question

It takes 84ns to process a task on a pipelined CPU. The same task can be processed in a 6 - stage pipelined CPU with a clock cycle of 29 nanoseconds. What is the speedup ratio of the pipelined CPU for 96 tasks? What is the theoretical speedup of the pipelined CPU? A CPU has a 5 - stage pipeline; Instruction fetch (IF), Instruction decode (ID). Execute (EX), Memory access (MEM), and Write back (WB). How many clock cycles does it take to fill the pipeline? How many instructions have been executed at the end of the 3rd clock cycle? How many instructions have been executed at the end of the 16th clock cycle? What is the pipeline stage of the first four instructions at the 6th clock cycle?

Explanation / Answer

a) time = 84+95*29=2839 ns

time without pipeline= 29*6*96=16704 ns

speed up =5.88

b)speed up=29*6/84=2.07

8

a 5

b 0

c 11

d 1 instr == executd

2 instr ==wb

3 instr==mem

4 instr==ex

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote