]> Joshua Wise's Git repositories - firearm.git/blobdiff - Fetch.v
BigBlockRAM: Remove excess F.
[firearm.git] / Fetch.v
diff --git a/Fetch.v b/Fetch.v
index 834a0da5c931a78923312c7691e0c74799f662e3..918e53c7faa2a8d2a93bf675a8716374a8015541 100644 (file)
--- a/Fetch.v
+++ b/Fetch.v
@@ -17,9 +17,9 @@ module Fetch(
        reg qjmp = 0;   /* A jump has been queued up while we were waiting. */
        reg [31:0] qjmppc;
        always @(posedge clk)
-               if (rd_wait && jmp && !qjmp)
+               if ((rd_wait || stall) && jmp)
                        {qjmp,qjmppc} <= {jmp, jmppc};
-               else if (!rd_wait && qjmp)      /* It has already been intoed. */
+               else if (!rd_wait && !stall && qjmp)    /* It has already been intoed. */
                        {qjmp,qjmppc} <= {1'b0, 32'hxxxxxxxx};
        
        reg [31:0] reqpc;
This page took 0.022518 seconds and 4 git commands to generate.