Closed lz-bro closed 11 months ago
If I'm correct, replacing
foreach t [target names] {
targets $t
riscv set_mem_access progbuf
riscv expose_csrs 776,1984
}
with:
foreach t [target names] {
$t riscv set_mem_access progbuf
$t riscv expose_csrs 776,1984
}
in the first config (with expose_csrs
before init
) should work.
Solved, thank you!!!
my config is as follows
log show that TAP riscv.cpu is disabled, can't be the current target
so I changed the config to
log show that the 'riscv expose_csrs' command must be used before 'init'.
I hope someone can give me some help. Thanks!