From 2b457b34b842e0e2fa6236b304860ad3ba474b16 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 15 Nov 2022 20:02:17 -0600 Subject: Implement sub-word memory accesses --- rtl/core/control/control.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rtl/core/control/control.sv') diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv index 506af2b..adfe9f7 100644 --- a/rtl/core/control/control.sv +++ b/rtl/core/control/control.sv @@ -43,6 +43,7 @@ module core_control alu_b, wr_value, output shifter_control shifter, + output word shifter_base, output logic[7:0] shifter_shift, output ptr mem_addr, output word mem_data_wr, @@ -86,9 +87,10 @@ module core_control .* ); - word mem_offset; + word mem_offset, ldst_read; logic ldst, ldst_next, ldst_writeback, pop_valid; reg_num popped; + logic[1:0] ldst_shift; core_control_ldst ctrl_ldst ( -- cgit v1.2.3