summaryrefslogtreecommitdiff
path: root/rtl/core/decode/isa.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-01 21:00:50 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-01 23:04:24 -0600
commit735c804c8e8e4bdcbe27c2e8ff74d609d7f45846 (patch)
tree61088394df522dc232b3ba914a45cc26bec6825d /rtl/core/decode/isa.sv
parent41b263bb39478393a302b284643a590779902f6c (diff)
Implement coprocessor instruction decode
Diffstat (limited to 'rtl/core/decode/isa.sv')
-rw-r--r--rtl/core/decode/isa.sv8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtl/core/decode/isa.sv b/rtl/core/decode/isa.sv
index 3d978a9..e69d79f 100644
--- a/rtl/core/decode/isa.sv
+++ b/rtl/core/decode/isa.sv
@@ -167,12 +167,12 @@
`define FIELD_SWP_RD [15:12]
`define FIELD_SWP_RM [3:0]
-// Instrucciones de coprocesador
+// Instrucciones de coprocesador, solo definido para CP15
-`define INSN_MCR 28'b1110_???_0_????_????_????_???_1_????
-`define INSN_MRC 28'b1110_???_1_????_????_????_???_1_????
+`define INSN_MCR 28'b1110_???_0_????_????_1111_???_1_????
+`define INSN_MRC 28'b1110_???_1_????_????_1111_???_1_????
-`define GROUP_CP 28'b1110_???_?_????_????_????_???_1_????
+`define GROUP_CP 28'b1110_???_?_????_????_1111_???_1_????
`define FIELD_CP_OPCODE [23:21]
`define FIELD_CP_LOAD [20]