summaryrefslogtreecommitdiff
path: root/rtl/core/control/select.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-06 15:56:06 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-06 15:56:06 -0600
commit8d590a8a7178659278ea44424d8456be16a006ad (patch)
tree4b27c164ba3d17f2b398a772d277e82861680aae /rtl/core/control/select.sv
parent6e6e7a1add425af55f2f64f84cc312c231f9db45 (diff)
Clean-up control.sv
Diffstat (limited to 'rtl/core/control/select.sv')
-rw-r--r--rtl/core/control/select.sv5
1 files changed, 4 insertions, 1 deletions
diff --git a/rtl/core/control/select.sv b/rtl/core/control/select.sv
index a073e24..ea9850b 100644
--- a/rtl/core/control/select.sv
+++ b/rtl/core/control/select.sv
@@ -16,11 +16,14 @@ module core_control_select
final_rd,
output reg_num ra,
- rb
+ rb,
+ output psr_mode reg_mode
);
reg_num r_shift;
+ assign reg_mode = `MODE_SVC; //TODO
+
always_ff @(posedge clk)
unique0 case(next_cycle)
ISSUE: