Skip to content

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Apr 22, 2025

  • ✨ Add a new top generic to enable/disable the hardware-assisted breakpoint (RISC-V Sdtrig ISA extenion). A future PR might update this generic to specify a variable number of hardware triggers.
OCD_HW_BREAKPOINT : boolean := false; -- implement on-chip-debugger hardware breakpoint
  • ⚠️ only allow debug-mode to use the trigger module; write accesses from machine_mode are ignore (tdata1.dmode CSR bit is hardwired to 1; simplifies trigger logic)
  • ⚠️ the trigger action is constrained to "debug-mode entry" only (tdata1.action CSR bits are hardwired to 0001; simplifies trigger logic)

@stnolting stnolting added the HW Hardware-related label Apr 22, 2025
@stnolting stnolting self-assigned this Apr 22, 2025
@stnolting stnolting marked this pull request as ready for review April 22, 2025 15:46
@stnolting stnolting merged commit a05d36b into main Apr 22, 2025
10 checks passed
@stnolting stnolting deleted the hw_breakpoints branch April 22, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant