diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-01 21:00:50 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-01 23:04:24 -0600 |
| commit | 735c804c8e8e4bdcbe27c2e8ff74d609d7f45846 (patch) | |
| tree | 61088394df522dc232b3ba914a45cc26bec6825d /rtl/core/uarch.sv | |
| parent | 41b263bb39478393a302b284643a590779902f6c (diff) | |
Implement coprocessor instruction decode
Diffstat (limited to 'rtl/core/uarch.sv')
| -rw-r--r-- | rtl/core/uarch.sv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index 3e42688..69c5edb 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -65,6 +65,7 @@ typedef struct packed writeback, update_flags, branch, + coproc, ldst, mul; } datapath_decode; @@ -134,6 +135,13 @@ typedef struct packed add; } mul_decode; +typedef struct packed +{ + logic load; + logic[2:0] op1, op2; + reg_num crn, crm; +} coproc_decode; + typedef enum { ISSUE, |
