Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Consider executing the following code on the MIPS pipelined datapath with forwarding (text Figure 4.60, p. 316) add $2, $3, $1 sub $4, $3,
3. Consider executing the following code on the MIPS pipelined datapath with forwarding (text Figure 4.60, p. 316) add $2, $3, $1 sub $4, $3, $5 add $5, $3, $7 add $7, $6, $1 add $8, $2, $6 During the fifth cycle of execution, which registers will be read, and which register will be written? a. b. During the fifth cycle of execution, what is the forwarding unit doing? List any comparisons it makes, even if results are not forwarded. During the fifth cycle of execution, what is the hazard detection unit doing? List any comparisons it makes, even if there is no hazard that requires a stall c. 3. Consider executing the following code on the MIPS pipelined datapath with forwarding (text Figure 4.60, p. 316) add $2, $3, $1 sub $4, $3, $5 add $5, $3, $7 add $7, $6, $1 add $8, $2, $6 During the fifth cycle of execution, which registers will be read, and which register will be written? a. b. During the fifth cycle of execution, what is the forwarding unit doing? List any comparisons it makes, even if results are not forwarded. During the fifth cycle of execution, what is the hazard detection unit doing? List any comparisons it makes, even if there is no hazard that requires a stall c
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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