[RTL] Fix ebreak behaviour in U-mode

Fixes #370

Whether EBREAK enters debug mode is controlled by the
ebreaku and ebreakm dcsr fields. Which is relevant depends upon the
privilege level.
This commit is contained in:
Greg Chadwick 2019-10-15 13:23:48 +01:00
parent 7aa87156d3
commit b94961402c
5 changed files with 19 additions and 4 deletions

View file

@ -57,9 +57,9 @@ lint_off -msg UNUSED -file "*/rtl/ibex_pmp.sv" -lines 16
// 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 100
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_controller.sv" -lines 101
// 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 162
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_cs_registers.sv" -lines 163