summaryrefslogtreecommitdiff
path: root/rtl
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-11 23:00:37 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 16:29:10 -0600
commit0284628a47d5b4797c89f6846b9efee3f1243b94 (patch)
treef287cb931e7bba24a7953eacaf2769d0a80cf789 /rtl
parentd006be2e89aa493237f212811ee880ed8b54241b (diff)
Implement register writes from gdb
Diffstat (limited to '')
-rw-r--r--rtl/core/fetch/fetch.sv4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/core/fetch/fetch.sv b/rtl/core/fetch/fetch.sv
index c024e7d..ba9d677 100644
--- a/rtl/core/fetch/fetch.sv
+++ b/rtl/core/fetch/fetch.sv
@@ -7,7 +7,7 @@ module core_fetch
rst_n,
stall,
fetched,
- explicit_branch,
+ explicit_branch /*verilator public*/ /*verilator forceable*/,
wr_pc,
prefetch_flush,
input ptr branch_target,
@@ -24,7 +24,7 @@ module core_fetch
fetch_head
);
- ptr hold_addr, target;
+ ptr target /*verilator public*/ /*verilator forceable*/, hold_addr;
logic branch, prefetch_ready, fetched_valid, discard, pending, next_pending;
assign fetch = prefetch_ready && !discard;