diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-01 22:28:17 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-01 23:04:24 -0600 |
| commit | 45efe8bf6148d9d1cd7127a5d245d5e3cd6b4647 (patch) | |
| tree | abd47c8d792bbe9c9c061167d76f9bcf7081484c /rtl/core/uarch.sv | |
| parent | c14209fa2a72d62e06a5480b3652fe4680978349 (diff) | |
Add cp15 primary register map
Diffstat (limited to 'rtl/core/uarch.sv')
| -rw-r--r-- | rtl/core/uarch.sv | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index 69c5edb..b6dfc76 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -5,6 +5,7 @@ `define NOP 32'd0 typedef logic[3:0] reg_num; +typedef logic[2:0] cp_opcode; typedef logic[15:0] reg_list; typedef logic[31:0] word; typedef logic[29:0] ptr; @@ -137,9 +138,9 @@ typedef struct packed typedef struct packed { - logic load; - logic[2:0] op1, op2; - reg_num crn, crm; + logic load; + cp_opcode op1, op2; + reg_num crn, crm; } coproc_decode; typedef enum |
