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
(from parent 1:
30066e0
)
Fetch: Also queue up a jump if we are stalled.
author
Joshua Wise
<joshua@rebirth.joshuawise.com>
Wed, 14 Jan 2009 05:57:29 +0000
(
00:57
-0500)
committer
Joshua Wise
<joshua@rebirth.joshuawise.com>
Wed, 14 Jan 2009 05:57:29 +0000
(
00:57
-0500)
Fetch.v
patch
|
blob
|
blame
|
history
diff --git
a/Fetch.v
b/Fetch.v
index
834a0da
..
2a9d69d
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)
{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.018621 seconds
and
4
git commands to generate.