Breakpoint unit.
Definitions of the breakpoint trigger control (tdata1, mcontrol).
- Field definition
name | type | description |
---|---|---|
ttype | UInt | trigger type (currently fixed to address/data match) |
dmode | Bool | whether M can write trigger data (0 for yes) |
maskmax | UInt | address alignment used in match |
action | Bool | action when trigger matches (incompliant) |
chain | Bool | match triggers sequentially |
tmatch | UInt | match mode (incompliant) |
m | Bool | enable this trigger in M |
h | Bool | enable this trigger in H |
s | Bool | enable this trigger in S |
u | Bool | enable this trigger in U |
x | Bool | fire this trigger on EX |
w | Bool | fire this trigger on store |
r | Bool | fire this trigger on load |
Breakpoint unit
- I/O, type and parameters
name | type | direction | description |
---|---|---|---|
p | Parameters | param | configuration |
status | MStatus | I | system status |
bp | Vec[BP] | I | breakpoint configuration from CSR |
pc | UInt | I | pc from IF |
ea | UInt | I | load/store address |
xcpt_if | Bool | O | breakpoint triggered from mtaching pc |
xcpt_ld | Bool | O | breakpoint triggered from load addr |
xcpt_st | Bool | O | breakpoint triggered from store addr |
debug_if | Bool | O | debug action for IF |
debug_ld | Bool | O | debug action for load |
debug_st | Bool | O | debug action for store |
Last updated: 08/07/2017
CC BY-NC-SA 4.0, © (2017) Wei Song
Apache 2.0, © (2016-2017) SiFive, Inc
BSD, © (2012-2014, 2016) The Regents of the University of California (Regents)