Question: please answer part c and explain the answer Probitem 3. Assume that we have a MipS code with the following number of instructions: a) Calculate

 please answer part c and explain the answer Probitem 3. Assume

please answer part c and explain the answer

Probitem 3. Assume that we have a MipS code with the following number of instructions: a) Calculate the execution time when nunning the code on a single-cyele CPU with clock period 10ns. (i point) CPIICCPCPUtime=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) Hofclocks=ICiCPIinumber=104+23+55+24+1=40+6+25+8+3=82CPUtime=ttofclocksxCP=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 (2 points)

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!