summaryrefslogtreecommitdiff
path: root/rtl/core/decode/isa.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-06 19:43:51 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-06 19:43:56 -0600
commit3576202083fb46fb755ceaefb5efe228afa9e2de (patch)
treeb629a968d588908d1629f8db0268c1cf229fac2a /rtl/core/decode/isa.sv
parent177c8a0f0cff07010d01ead3f072777d94ebd97d (diff)
Implement decode for mrs, msr
Diffstat (limited to 'rtl/core/decode/isa.sv')
-rw-r--r--rtl/core/decode/isa.sv16
1 files changed, 5 insertions, 11 deletions
diff --git a/rtl/core/decode/isa.sv b/rtl/core/decode/isa.sv
index e69d79f..4bd2dea 100644
--- a/rtl/core/decode/isa.sv
+++ b/rtl/core/decode/isa.sv
@@ -190,17 +190,11 @@
`define GROUP_MSR 28'b0_0_?_1_0_?_1_0_????_1111_0000_0000_????
-`define FIELD_MRS_R [24]
-`define FIELD_MRS_RD [15:12]
-`define FIELD_MSR_I [25]
-`define FIELD_MSR_R [22]
-`define FIELD_MSR_F [19]
-`define FIELD_MSR_S [18]
-`define FIELD_MSR_X [17]
-`define FIELD_MSR_C [16]
-`define FIELD_MSR_ROTATE [11:8]
-`define FIELD_MSR_IMM [7:0]
-`define FIELD_MSR_RM [3:0]
+`define FIELD_MRS_R [24]
+`define FIELD_MRS_RD [15:12]
+`define FIELD_MSR_I [25]
+`define FIELD_MSR_R [22]
+`define FIELD_MSR_MASK [19:16]
// System call