Skip to content
Snippets Groups Projects
Commit 2d5cf5ec authored by Roberto Hexsel's avatar Roberto Hexsel
Browse files

SC-nop-branch forwarding was fixed, with thanks to Rafael Soares

parent 15af2070
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,9 @@ ffffffff ...@@ -22,6 +22,9 @@ ffffffff
ffffffff ffffffff
ok ok
55555555
ok
ok ok
ok ok
...@@ -988,6 +988,9 @@ begin ...@@ -988,6 +988,9 @@ begin
elsif MM_is_MFC0 then -- non-LW elsif MM_is_MFC0 then -- non-LW
eq_fwd_A <= MM_cop0_val; eq_fwd_A <= MM_cop0_val;
rs_stall := FALSE; rs_stall := FALSE;
elsif MM_is_SC then
eq_fwd_A <= x"00000000";
rs_stall := FALSE;
else else
eq_fwd_A <= MM_result; eq_fwd_A <= MM_result;
rs_stall := FALSE; rs_stall := FALSE;
...@@ -1013,6 +1016,9 @@ begin ...@@ -1013,6 +1016,9 @@ begin
elsif MM_is_MFC0 then -- non-LW elsif MM_is_MFC0 then -- non-LW
eq_fwd_B <= MM_cop0_val; eq_fwd_B <= MM_cop0_val;
rt_stall := FALSE; rt_stall := FALSE;
elsif MM_is_SC then
eq_fwd_B <= x"00000000";
rs_stall := FALSE;
else else
eq_fwd_B <= MM_result; eq_fwd_B <= MM_result;
rt_stall := FALSE; rt_stall := FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment