pulp-platform / riscv-dbg

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

[dm_mem] Addressing does not take strobes into account #144

Closed creinwar closed 1 year ago

creinwar commented 1 year ago

The read/write logic in dm_mem.sv only looks at the request address and does not take the byte strobes into account which causes problems when trying to write the Halted, Going, Resuming and Exception locations from a bus that is larger than 32 bit as that would require misaligned requests.

This is patched in #145 by realigning the relevant addresses to 64 bits.