[Priv modes] Add support for U-Mode

- General changes to suport U-mode (fixes #88)
- Update documentation
- Add priv mode flops to CSRs module
- Propagate correct priv mode to PMP module
- Implement CSR priv-mode permission checking
- Implement illegal U-mode instruction checking
- Add extra mstatus bits for U-mode (MPRV and TW)
This commit is contained in:
Tom Roberts 2019-09-09 08:42:48 +01:00 committed by Tom Roberts
parent f54dfe5d4b
commit 2aacd2b98b
10 changed files with 129 additions and 37 deletions

View file

@ -69,9 +69,9 @@ lint_off -msg UNUSED -file "*/rtl/ibex_core.sv" -lines 199
// Signal unoptimizable: Feedback to clock or circular logic:
// ibex_core.id_stage_i.controller_i.ctrl_fsm_cs
// Issue lowrisc/ibex#211
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_controller.sv" -lines 98
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_controller.sv" -lines 100
// Signal unoptimizable: Feedback to clock or circular logic:
// ibex_core.cs_registers_i.mie_q
// Issue lowrisc/ibex#212
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_cs_registers.sv" -lines 149
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_cs_registers.sv" -lines 162