Skip to content

Commit

Permalink
Better description of how etrigger matches.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdonahue-ventana committed Nov 20, 2024
1 parent bcd05b7 commit b7df37d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1252,11 +1252,13 @@ same project unless stated otherwise.

This register is accessible as {csr-tdata1} when {tdata1-type} is 5.

This trigger may fire on up to XLEN of the Exception Codes defined in
`mcause` (described in the Privileged Spec, with Interrupt=0). Those
causes are configured by writing the corresponding bit in {csr-tdata2}.
(E.g. to trap on an illegal instruction, the debugger sets bit 2 in
{csr-tdata2}.)
This trigger can match when a trap is taken due to an exception.

The trigger may be configured to match on up to XLEN of the Exception
Codes defined in `mcause` (described in the Privileged Spec, with
Interrupt=0). Those causes are configured by writing the corresponding
bit in {csr-tdata2}. (e.g. to have etrigger match on an illegal
instruction trap, the debugger sets bit 2 in {csr-tdata2}.)

[NOTE]
====
Expand Down

0 comments on commit b7df37d

Please sign in to comment.