From e290956adf94dade4c9c4cd057cca08af1c61aeb Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 18 Dec 2022 18:31:03 -0600 Subject: Implement privileged ldm/stm of user registers --- rtl/core/control/control.sv | 5 ++++- 1 file changed, 4 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 cab47ce..ed0a1e1 100644 --- a/rtl/core/control/control.sv +++ b/rtl/core/control/control.sv @@ -48,7 +48,8 @@ module core_control rb, output ptr branch_target, pc_visible, - output psr_mode reg_mode, + output psr_mode rd_mode, + wr_mode, output alu_op alu, output word alu_a, alu_b, @@ -102,6 +103,8 @@ module core_control .* ); + logic rd_user; + core_control_select ctrl_select ( .* -- cgit v1.2.3