Fetch: Allow new queued jumps to take precedence over old queued jumps (i.e., ldm...
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Thu, 22 Jan 2009 07:58:24 +0000 (02:58 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Thu, 22 Jan 2009 07:58:24 +0000 (02:58 -0500)
Fetch.v

diff --git a/Fetch.v b/Fetch.v
index 2a9d69d..918e53c 100644 (file)
--- a/Fetch.v
+++ b/Fetch.v
@@ -17,7 +17,7 @@ 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 || stall) && jmp && !qjmp)
+               if ((rd_wait || stall) && jmp)
                        {qjmp,qjmppc} <= {jmp, jmppc};
                else if (!rd_wait && !stall && qjmp)    /* It has already been intoed. */
                        {qjmp,qjmppc} <= {1'b0, 32'hxxxxxxxx};
This page took 0.019696 seconds and 4 git commands to generate.