]> Joshua Wise's Git repositories - firearm.git/blobdiff - Execute.v
Execute: Fix outbubble on multiplier so that it remembers to flush, fixing ldm_bonehe...
[firearm.git] / Execute.v
index 66a63e5a3575124c4c1b887e57e8ae8bd07b5f37..ac828a5ea5f1111c0fba6a0af766c888ae0d9000 100644 (file)
--- a/Execute.v
+++ b/Execute.v
@@ -121,8 +121,8 @@ module Execute(
                                mult_in1 = op2 /* Rs */;
                                $display("New MUL instruction");
                        end
-                       outstall = stall | ((!prevstall | !mult_done) && !inbubble);
-                       next_outbubble = inbubble | !mult_done | !prevstall;
+                       outstall = outstall | ((!prevstall | !mult_done) && !inbubble);
+                       next_outbubble = next_outbubble | !mult_done | !prevstall;
                        next_outcpsr = insn[20] /* S */ ? {mult_result[31] /* N */, mult_result == 0 /* Z */, 1'b0 /* C */, cpsr[28] /* V */, cpsr[27:0]} : cpsr;
                        next_write_reg = 1;
                        next_write_num = insn[19:16] /* Rd -- why the fuck isn't this the same place as ALU */;
This page took 0.026174 seconds and 4 git commands to generate.