summaryrefslogtreecommitdiff
path: root/nqcpu.v
diff options
context:
space:
mode:
authorNick McKinney <nick@kmonkey.net>2016-12-29 17:14:54 -0600
committerNick McKinney <nick@kmonkey.net>2016-12-29 17:14:54 -0600
commit7dbdb22c04ab8cb0302b7093ae1bfed976f262b8 (patch)
treeb72dde7eef78836ae796214cc01d15a5e6844b83 /nqcpu.v
parent32edc0eea4ea03239cfa083fb85693191cda240b (diff)
replace fetch_ready with a "wait needed" input line
Diffstat (limited to 'nqcpu.v')
-rw-r--r--nqcpu.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/nqcpu.v b/nqcpu.v
index a818587..ffb5f31 100644
--- a/nqcpu.v
+++ b/nqcpu.v
@@ -150,7 +150,7 @@ module nqcpu (
control_unit control_unit_inst (
.clk(clk),
- .fetch_ready(fetch_ready),
+ .needWait(fetch_en & !fetch_ready),
.fetch_en(fetch_en),
.decode_en(decode_en),