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

6. Given a nonpipelined processor A that requires 50 units of time to complete a

ID: 3734160 • Letter: 6

Question

6. Given a nonpipelined processor A that requires 50 units of time to complete an instruction and a pipelined processor B that requires the 4 stages as shown in the table below (assume any pipeline overhead has already been added to the stage times, so they add up to more than 50 units of time) to complete an instruction but allows for overlaping execution. Give an equation in the boxes below that details how many units of time Processor A and Processor B require to execute 100 instructions assuming no stalls. (10 points, 5 points each equation) Stage 4 Time Units 12 15 13 13 Proc A Proc B

Explanation / Answer

Proc A = 100*50 = 5000 time units since each instruction takes 50 units of time.

Proc B:

First instruction will take 53 time units, however, because of pipelining, 2 instructions will take 53+15 = 68 time units. Similarly, 100 instructions will take 53+99*15 = 1538 time units.

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