Question: Consider this code, which has a RAW hazard: ( a ) When we can add data forwarding hardware in the system, is any stalling required
Consider this code, which has a RAW hazard:
a When we can add data forwarding hardware in the system, is any stalling required for this
combination? If so: how many cycles of stalling are required, and what Boolean expression is
needed in the pipeline interlock logic to detect the need to stall in the first cycle, if multiple stalls
are needed
b What data forwarding hardware must be added to the variation MIPS to provide data to the second
instruction without stalling? Show the required hardware by drawing it in a different color on a
diagram of the variation MIPS pipeline.
c The data is being forwarded from where to where, and replacing what? Also, what Boolean
expression can be used to decide whether to activate the path that forwards the data in a given clock
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
