Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

600 lb 20 0.5 ft 30 30 5 ft

Answered: 1 week ago