Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The implementation of register forwarding in pipelined CPUs may increase the clock cycle time. Assume the clock cycle time is (i) 250ps if we do

The implementation of register forwarding in pipelined CPUs may increase the clock cycle time. Assume the clock cycle time is (i) 250ps if we do not implement register forwarding at all, (ii) 290ps if we only implement the EX/MEM.register-to-ID/EX.register forwarding (i.e., the case #1 shown on slide 12 in lecture note Session12.pdf), and (iii) 300ps if implement the full register forwarding (i.e., both EX/MEM.register-to-ID/EX.register and MEM/WB.register-to-ID/EX.register forwarding). Given the following instruction sequence:

or r1,r2,r3

or r2,r1,r4

or r1,r1,r2

a) Assume there is no forwarding in this pipelined processor. Indicate hazards and add nop instructions to eliminate them.

b) Assume there is full forwarding. Indicate hazards and add nop instructions to eliminate them.

c) What is the total execution time of this instruction sequence without forwarding and with full forwarding? What is the speedup achieved by adding full forwarding to a pipeline that had no forwarding?

d) Add nop instructions to this code to eliminate hazards if there is EX/MEM.register-toID/EX.register forwarding only.

e) What is the total execution time of this instruction sequence with only EX/MEM.registerto-ID/EX.register forwarding? What is the speedup over a no-forwarding pipeline?

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

Influences on Nonverbal Communication?

Answered: 1 week ago