Question: please explain part c Problem_3. Assume that we have a MIPS code with the following number of instructions: a) Calculate the exccution time when running

 please explain part c Problem_3. Assume that we have a MIPS

please explain part c

Problem_3. Assume that we have a MIPS code with the following number of instructions: a) Calculate the exccution time when running the code on a single-cycle CPU with clock period 10ns. (1 point) CPIICCPCPU+time=1=10+2+5+2+1=20=10ns=CPIICCP=12010ns=200ns b) Calculate the execution time when running the code on a multi-cycle CPU with clock period 2ns. ( 2 points) HofclocksnumbercPutime={IiCPIi104+23+55+24+13=40+6+25+8+3=82=#HofclocksCP=822ns=164ns c) Calculate the execution time when running the code on the 5 -stage pipeline discussed in chapter 4 with clock period 2 ns. Assume that there are NO data hazards. And all beq are not taken 2 they are predrcid lalkeys not take. (2 points) 15 5 instinction interstis cyales then eacu frllowivininstinction trkes 1 cycle do rompletely so #ofdectcs5+191=24cyclecpotime=242ns=484s

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!