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

Suppose that, due to a manufacturing defect, the InhibitWrite control signal from the Load-Use Hazard Detection unit suffers a stuck-at-0 error. That is, the InhibitWrite control signal is always set to 0, so that it does not alter the operation of any other components, regardless of circumstances. Assume that the rest of the hardware operates as designed.

Suppose that, initially, $t1=0x1000, $t2=0x2000, and $t3=0x3000. Suppose that all the memory states are initialized to be 0x0000. Consider the execution of the above code in this buggy pipeline. Determine the final values of the $t1, $t2, and $t3 registers after all the instruction leave the 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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions