Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Consider a processor implemented as a six stage pipeline. Suppose that the pipeline is initially empty, what is the number of cycles required to

a) Consider a processor implemented as a six stage pipeline. Suppose that the pipeline is initially empty, what is the number of cycles required to perform a sequence of 40 instructions that do not include any branching instructions? Also, what is the average cycles per instruction (CPI) for this given scenario?

b) Reconsider part a. Suppose that instead, one in 10 of the instructions is a branch instruction and that each branch introduces a penalty of four cycles. For this new scenario calculate the number of cycles required to perform the instructions and the average cycles per instruction (CPI) for this given scenario.

c) Reconsider the part a & b. Suppose the pipeline handles a dependency between calculations by stalling the pipeline for one cycle. Suppose on average one instruction in twenty has a data dependency. For this new scenario calculate the number of cycles required to perform the instructions along with the branches from exercise 2 as well as data dependencies, then calculate the average cycles per instruction (CPI) for this given scenario.

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago