riscv-software-src / riscv-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run ./debug/programs/interrupt.c

Shuangxie0708 opened this issue · comments

I want to compile interrupt.c and run it to observe the wave of how the interrupt process in cva6. But I don't know how to compile and run it. Could you teach me how to do it? Thanks!

It's not a stand-alone test, but is intended to be run as part of the other debug tests. debug/README.md has some general info. InterruptTest in gdbserver.py is the specific test that uses this program.

If you just want the binary, running the test as described there will also show you the command line it uses to build that binary.