From 7fe23c697af81c08b69c0b30f1db48ed16493662 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 27 Sep 2022 15:12:02 -0600 Subject: Implement branching in fetch stage --- rtl/core/arm810.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rtl/core/arm810.sv') 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), -- cgit v1.2.3