summaryrefslogtreecommitdiff
path: root/rtl/core/arm810.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-09-27 15:12:02 -0600
committerAlejandro Soto <alejandro@34project.org>2022-09-27 15:12:02 -0600
commit7fe23c697af81c08b69c0b30f1db48ed16493662 (patch)
tree63a8678c5da7a974b8be3c455aaec0fadf86f419 /rtl/core/arm810.sv
parent47b3b68aa25fb571a14cba9f5cc788ae500a9e84 (diff)
Implement branching in fetch stage
Diffstat (limited to '')
-rw-r--r--rtl/core/arm810.sv3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
index b344836..5ba1a11 100644
--- a/rtl/core/arm810.sv
+++ b/rtl/core/arm810.sv
@@ -18,7 +18,8 @@ module arm810
core_fetch #(.PREFETCH_ORDER(2)) fetch
(
- .flush(explicit_branch | wr_pc),
+ .branch(explicit_branch | wr_pc),
+ .flush(0), //TODO
.target(wr_pc ? wr_value[29:0] : branch_target),
.addr(bus_addr),
.fetched(bus_ready),