summaryrefslogtreecommitdiff
path: root/rtl/core/cp15
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-01 22:28:17 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-01 23:04:24 -0600
commit45efe8bf6148d9d1cd7127a5d245d5e3cd6b4647 (patch)
treeabd47c8d792bbe9c9c061167d76f9bcf7081484c /rtl/core/cp15
parentc14209fa2a72d62e06a5480b3652fe4680978349 (diff)
Add cp15 primary register map
Diffstat (limited to '')
-rw-r--r--rtl/core/cp15/map.sv17
1 files changed, 17 insertions, 0 deletions
diff --git a/rtl/core/cp15/map.sv b/rtl/core/cp15/map.sv
new file mode 100644
index 0000000..0c0add5
--- /dev/null
+++ b/rtl/core/cp15/map.sv
@@ -0,0 +1,17 @@
+`ifndef CORE_CP15_MAP_SV
+`define CORE_CP15_MAP_SV
+
+`define CP15_CRN_CPUID 4'd0
+`define CP15_CRN_SYSCFG 4'd1
+`define CP15_CRN_TTBR 4'd2
+`define CP15_CRN_DOMAIN 4'd3
+`define CP15_CRN_FSR 4'd5
+`define CP15_CRN_FAR 4'd6
+`define CP15_CRN_CACHE 4'd7
+`define CP15_CRN_TLB 4'd8
+`define CP15_CRN_CACHE_LCK 4'd9
+`define CP15_CRN_TLB_LCK 4'd10
+`define CP15_CRN_DMA 4'd11
+`define CP15_CRN_PID 4'd13
+
+`endif