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

computer architecture. A Processor clocked at 1GHZ has 10 pipeline stages. A pro

ID: 3917524 • Letter: C

Question

computer architecture.

A Processor clocked at 1GHZ has 10 pipeline stages. A program running 1000 instruction is executed in this processor. Answer the questions making the following unrealistic assumption: there is no branch or jump instruction and there is no dependence causing a stall.

a. What is the clock cycle time for the pipelined processor?

b. how much time is needed to execute one instruction?

c. how much time is needed to execute the entire program?

d. find the maximum throughput (the number of instructions executed per seconds?

Explanation / Answer

a)

The first instryuction will take 10 clocks but after that all the instructions
will take just one clock.

Number of instructuons = 1000
Total numbet of clocks needed = 999 + 10 = 1009 clocks
CPI = 1009/1000 = 1.009 CPI

b) Time for one instruction = 1.009 * (1/10^9) = 1.009 * 10^-9 seconds

c) Time needed for complete execution = 1009 * 1.009 * 10^-9 = 1.018 * 10^-6 s

d) The maximum throughput. The number of instruction per second is as follows:

   For one instruction the execution time = 1.009 * 10^-9 seconds
   In one second the number of instructions will = 1/ (1.009 * 10^-9)
                                                 = 9.9 * 10^8 instructions