diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-16 16:46:52 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-16 17:55:27 -0600 |
| commit | 683352ce030923bdef3cf4fe90d6cb73f4f74529 (patch) | |
| tree | 09bfdff34626fe90a10d93df2c293f7d87763e44 /rtl/core/arm810.sv | |
| parent | 14a3611e492d2f213e81c9053bf613a5d8ad30a6 (diff) | |
Implement psr read/write logic
Diffstat (limited to 'rtl/core/arm810.sv')
| -rw-r--r-- | rtl/core/arm810.sv | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv index 7fbb895..89a2a68 100644 --- a/rtl/core/arm810.sv +++ b/rtl/core/arm810.sv @@ -76,16 +76,12 @@ module arm810 .* ); - word psr_rd, psr_wr; + word cpsr_rd, spsr_rd, psr_wr; logic psr_write, psr_saved, update_flags, psr_wr_flags, psr_wr_control; psr_mode mode; psr_flags flags; psr_intmask intmask; - //TODO - assign psr_write = 0; - assign psr_saved = 0; - core_psr psr ( .mask(intmask), |
