Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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=484sStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started