Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions