diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-15 20:02:17 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-15 20:56:48 -0600 |
| commit | 2b457b34b842e0e2fa6236b304860ad3ba474b16 (patch) | |
| tree | 6068a578722ae89a453e504db6b6c3688dea1d30 /rtl/core/control/control.sv | |
| parent | a055bc85bc50897644e7ed62699abff46d818d5f (diff) | |
Implement sub-word memory accesses
Diffstat (limited to 'rtl/core/control/control.sv')
| -rw-r--r-- | rtl/core/control/control.sv | 4 |
1 files changed, 3 insertions, 1 deletions
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 ( |
