git.joshuawise.com
/
firearm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a .gitattributes file to force hex files to be binary-like.
[firearm.git]
/
Fetch.v
diff --git
a/Fetch.v
b/Fetch.v
index
5255647
..
918e53c
100644
(file)
--- a/
Fetch.v
+++ b/
Fetch.v
@@
-14,12
+14,12
@@
module Fetch(
output reg [31:0] insn = 0,
output reg [31:0] pc = 32'hFFFFFFFC);
output reg [31:0] insn = 0,
output reg [31:0] pc = 32'hFFFFFFFC);
- reg qjmp = 0; /* A jump has been queued up while we were
stalled
. */
+ reg qjmp = 0; /* A jump has been queued up while we were
waiting
. */
reg [31:0] qjmppc;
always @(posedge clk)
reg [31:0] qjmppc;
always @(posedge clk)
- if (
stall && jmp && !q
jmp)
+ if (
(rd_wait || stall) &&
jmp)
{qjmp,qjmppc} <= {jmp, jmppc};
{qjmp,qjmppc} <= {jmp, jmppc};
- else if (!
stall && qjmp) /* It has already been handl
ed. */
+ else if (!
rd_wait && !stall && qjmp) /* It has already been into
ed. */
{qjmp,qjmppc} <= {1'b0, 32'hxxxxxxxx};
reg [31:0] reqpc;
{qjmp,qjmppc} <= {1'b0, 32'hxxxxxxxx};
reg [31:0] reqpc;
This page took
0.018458 seconds
and
4
git commands to generate.