Skip to content

Commit

Permalink
fixed missing hartsel reference when determining HARTSELLEN
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-codasip committed Apr 15, 2024
1 parent f11e076 commit 14d2735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug_module.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Up to latexmath:[$2^{20}$] harts can be connected to a single DM.
Commands issued to the DM only apply to the currently selected harts.

To enumerate all the harts, a debugger must first determine `HARTSELLEN`
by writing all ones to (assuming the maximum size) and reading back the
by writing all ones to {hartsel} (assuming the maximum size) and reading back the
value to see which bits were actually set. Then it selects each hart
starting from 0 until either {dmstatus-anynonexistent} in {dm-dmstatus} is 1, or the highest index (depending on `HARTSELLEN`) is reached.

Expand Down

0 comments on commit 14d2735

Please sign in to comment.