Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

refer to the pipeline design with forwarding and (load-use) hazard detection , shown below, which supports execution any sequence of the following MIPS instructions: add,

refer to the pipeline design with forwarding and (load-use) hazard detection, shown below, which supports execution any sequence of the following MIPS instructions: add, sub, and, or, slt, lw, and sw.

Consider the execution of the following code in this pipeline.

 lw $t1, 0($t2) #1 add $t1, $t1, $t3 #2 lw $t3, 0($t1) #3 add $t2, $t2, $t3 #4

b) Depending on the existence/type of data hazard, the Forwarding Unit controls the two MUXes, which selects the input to the ALU unit. The control signals should be 00 when there is no data hazard; 10 on a EX hazard where we want to forward the date from the EX/MEM interstage buffer; and 01 upon a MEM hazard where we want to forward the date from the MEM/WB interstage buffer.

How much data will be forwarded from the EX/MEM interstage buffer to execute the above sequence of instructions? How much data will be forwarded from the MEM/WB interstage buffer?

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_2

Step: 3

blur-text-image_3

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

When one vehicle is used for mor than one business purpose.

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