pulp-platform / riscv-dbg

RISC-V Debug Support for our PULP RISC-V Cores
Other
225 stars 76 forks source link

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

Closed creinwar closed 2 years ago

creinwar commented 2 years 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.