Skip to content

Commit

Permalink
dscratch[01] are DXLEN bits wide.
Browse files Browse the repository at this point in the history
  • Loading branch information
timsifive committed Sep 26, 2023
1 parent f546ddf commit 182beaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xml/core_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,13 @@
Optional scratch register that can be used by implementations that need
it. A debugger must not write to this register unless \RdmHartinfo
explicitly mentions it (the Debug Module may use this register internally).
<field name="dscratch0" bits="DXLEN-1:0" access="R/W" reset="0" />
</register>

<register name="Debug Scratch Register 1" short="dscratch1" address="0x7b3">
Optional scratch register that can be used by implementations that need
it. A debugger must not write to this register unless \RdmHartinfo
explicitly mentions it (the Debug Module may use this register internally).
<field name="dscratch1" bits="DXLEN-1:0" access="R/W" reset="0" />
</register>
</registers>

0 comments on commit 182beaa

Please sign in to comment.