hwacha
hwacha copied to clipboard
Does Hwacha support GDB?
1.Does Hwacha support GDB for debugging?
2.Use“spike -H --rbb-port=9824 --extension=hwacha vec-vvadd.riscv”,this program doesn‘t start halted,not allowing a debugger to connect。why?how to solve the problem for debugging Hwacha instructions?
You can use GDB to debug programs that include Hwacha instructions but you won't be able to set breakpoints in the middle of vector fetch blocks or read out Hwacha's register state. I haven't tried using it with spike but it shouldn't be any different with respect to how the program starts.