Skip to content

Commit

Permalink
AR: Comment itrigger limited to 32 ints if XLEN=32
Browse files Browse the repository at this point in the history
Resolves #904.
  • Loading branch information
timsifive committed Oct 19, 2023
1 parent 51f5a29 commit cc901cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,14 @@
In addition the trigger can be enabled for non-maskable interrupts using
\FcsrItriggerNmi.

\begin{commentary}
If XLEN is 32, then it is not possible to set a trigger for interrupts
with Exception Code larger than 31. A future version of the RISC-V
Privileged Spec will likely define interrupt Exception Codes 32 through
47. Some of those numbers are already being used by the RISC-V Advanced
Interrupt Architecture.
\end{commentary}

Hardware may only support a subset of interrupts for this trigger. A
debugger must read back \RcsrTdataTwo after writing it to confirm the
requested functionality is actually supported.
Expand Down

0 comments on commit cc901cf

Please sign in to comment.