From: Joshua Wise Date: Thu, 22 Jan 2009 07:59:16 +0000 (-0500) Subject: Execute: Branches allow somebody else to take precedence by not branching if outstall... X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/04281f327495d65a89aaae133be469dbef7c5638 Execute: Branches allow somebody else to take precedence by not branching if outstall is asserted. outstall must be low for at least one clock cycle, so the branch is guaranteed to eventually happen if it is in fact legitimate and not shot down. --- diff --git a/Execute.v b/Execute.v index 7dcc4b9..289ffbb 100644 --- a/Execute.v +++ b/Execute.v @@ -188,7 +188,7 @@ module Execute( begin end `DECODE_BRANCH: begin - if(!inbubble && !flush && !delayedflush) begin + if(!inbubble && !flush && !delayedflush && !outstall /* Let someone else take precedence. */) begin jmppc = pc + op0 + 32'h8; if(insn[24]) begin next_write_reg = 1;