Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer system architecture Given a benchmark code that contained 10M lw, 5M sw, 80M arithmetic, 4M branch, 1M jump instructions respectively. Assume memory access takes

Computer system architecture image text in transcribed
Given a benchmark code that contained 10M lw, 5M sw, 80M arithmetic, 4M branch, 1M jump instructions respectively. Assume memory access takes 3 cycles, register writes 2, ALU operations 1 cycle. All other operations are negligible. al) For a non-pipelined CPU calculate the CPI for this code. b) Calculate the CPl for a pipelined CPU assuming no hazards (all types). c) Calculate the speedup from non-pipelined CPU to the pipelined CPU d) Assuming 10% of instructions have RAW hazards instruction after it. If hazards are resolved through stalls alone; calculate the best case and worst case CP e) Repeat (d) assume data forwarding alone is used to resolved hazards. f) Repeat (d) assume branch and data forwarding used to resolve hazards

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