Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider this code, which has a RAW hazard: DADDI DSUB R6, R8, R6, R2, #10 R6 (a) Is any stalling required for this combination?
Consider this code, which has a RAW hazard: DADDI DSUB R6, R8, R6, R2, #10 R6 (a) 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 1 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 1 MIPS pipeline. (You do not have to include all the details of the standard pipeline, but give enough to see how the new hardware fits in.) (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 cycle?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
a Stalling is required for this combination because the DSUB instruction depends on the result of th...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started