git.joshuawise.com
/
firearm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fdecc89
)
Fetch: Allow new queued jumps to take precedence over old queued jumps (i.e., ldm...
author
Joshua Wise
<joshua@rebirth.joshuawise.com>
Thu, 22 Jan 2009 07:58:24 +0000
(
02:58
-0500)
committer
Joshua Wise
<joshua@rebirth.joshuawise.com>
Thu, 22 Jan 2009 07:58:24 +0000
(
02:58
-0500)
Fetch.v
patch
|
blob
|
blame
|
history
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)
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};
{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.01986 seconds
and
4
git commands to generate.