Question: How does a RISCV know if forwarding or stalling is necessary? How does it figure out which forwarding flag to mark and what value needs

How does a RISCV know if forwarding or stalling is necessary? How does it figure out which forwarding flag to mark and what value needs to be forwarded, or in the case of stalls, which instructions need to be delayed, and which do not? For example, forwarding when an r-type instruction uses a register as an input that was the output of an i-type instruction 2 cycles prior.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!