riscv-dv icon indicating copy to clipboard operation
riscv-dv copied to clipboard

for debug mode, how to modify link.ld to match debug rom enter addr

Open Van2Jo opened this issue 1 year ago • 1 comments

using spike mode to run debug mode , spike jump to debug rom enter addr . riscv-dv generate debug rom program have random addr, which is not match spike mode. how to modify script/link.ld file for debug rom

Van2Jo avatar Sep 13 '23 08:09 Van2Jo

Hi @Van2Jo, while I am not a riscv-dv developer/maintainer, we do make very extensive use of the SV implementation of riscv-dv. We solve these types of problems by extending the appropriate SV class to either overload a specific code-generating function or to apply constraints that are specific to our testbench.

MikeOpenHWGroup avatar Sep 13 '23 12:09 MikeOpenHWGroup