[dbg] Add minimal hardware breakpoint support

- Add the minimum amount of trigger system to support GDB hbreak
- Only a single trigger is implemented
- Only instruction address matching
- Only break into debug mode (no native debug)
- Fixes #382

Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
Tom Roberts 2019-12-04 08:42:36 +00:00 committed by Tom Roberts
parent cd39a31498
commit 088cd11593
11 changed files with 275 additions and 8 deletions

View file

@ -57,4 +57,4 @@ lint_off -msg UNUSED -file "*/rtl/ibex_pmp.sv" -lines 16
// 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 164
lint_off -msg UNOPTFLAT -file "*/rtl/ibex_cs_registers.sv" -lines 166