pulp-platform / riscv-dbg

RISC-V Debug Support for our PULP RISC-V Cores
Other
218 stars 72 forks source link

dm_mem: Clear state of hart upon ndmreset #140

Closed andreaskurth closed 2 years ago

andreaskurth commented 2 years ago

As described in #118, the debug module currently considers a halted hart that is being reset with ndmreset to remain halted. However, after a reset, the hart is no longer halted.

This PR feeds ndmreset into dm_mem, where it clears the state of the hart and sets it to neither halted nor resuming.