You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the riscv-probe with spike simulator. I cloned riscv-probe and then ran the make command, to generate object files.
Then I ran the command
Succesfully getting all the CSR, but I wasn't able to run any of the examples, since I am new to spike simulator I couldn't find steps or commands in your documentation to run any of your examples.
Still I tried running the examples as,
1)
$ spike build/obj/rv64imac/examples/hello/hello.o
warning: tohost and fromhost symbols not in ELF; can't communicate with target
$ spike build/obj/rv64imac/examples/hello/hello.o
warning: tohost and fromhost symbols not in ELF; can't communicate with target
$ spike $(which pk) build/obj/rv64imac/examples/hello/hello.o --isa=RV64IMAFDC build/bin/rv64imac/spike/probe
z 0000000000000000 ra 0000000000000000 sp 000000007f7e9af0 gp 0000000000000000
tp 0000000000000000 t0 0000000000000000 t1 0000000000000000 t2 0000000000000000
s0 0000000000000000 s1 0000000000000000 a0 0000000000000000 a1 0000000000000000
a2 0000000000000000 a3 0000000000000000 a4 0000000000000000 a5 0000000000000000
a6 0000000000000000 a7 0000000000000000 s2 0000000000000000 s3 0000000000000000
s4 0000000000000000 s5 0000000000000000 s6 0000000000000000 s7 0000000000000000
s8 0000000000000000 s9 0000000000000000 sA 0000000000000000 sB 0000000000000000
t3 0000000000000000 t4 0000000000000000 t5 0000000000000000 t6 0000000000000000
pc 0000000000000000 va 0000000000000000 insn ffffffff sr 8000000200046020
User fetch segfault @ 0x0000000000000000
Unfortunately I am not able to run any of your example code's object file using spike or even with spike-pk It would be great if you could help me out, in running the riscv-probe properly, since my application requires to run and probe the CSR registers.
It would be also great if you could include it in README file, for everyone to use.
The text was updated successfully, but these errors were encountered:
I am trying to use the riscv-probe with spike simulator. I cloned riscv-probe and then ran the
make
command, to generate object files.Then I ran the command
Succesfully getting all the CSR, but I wasn't able to run any of the examples, since I am new to spike simulator I couldn't find steps or commands in your documentation to run any of your examples.
Still I tried running the examples as,
1)
Unfortunately I am not able to run any of your example code's object file using spike or even with spike-pk It would be great if you could help me out, in running the riscv-probe properly, since my application requires to run and probe the CSR registers.
It would be also great if you could include it in
README
file, for everyone to use.The text was updated successfully, but these errors were encountered: