Awesome
RISC-V Debug Specification
You may be looking for one of the following pre-built PDFs:
- Latest release candidate
- Latest release (This is outdated at this point, and only of historical interest.)
Build Instructions
sudo apt-get install git make python3 python3-sympy graphviz texlive-full
make
There are two other interesting make targets:
make debug_defines
creates a C header and implementation files containing constants for addresses and fields of all the registers and abstract commands, as well as function and structures used to decode register values. An implementation of such decoder can be seen indebug_reg_printer.c/h
.make chisel
creates scala files for DM registers and abstract commands with the same information.
Contributing
There are various ways to contribute to this spec. You can use a combination of them to get your idea across. Please note that pull requests will only be reviewed/accepted from RISC-V Foundation members.
- Make a PR. This is the best way to deal with minor typos and edits.
- File an issue with something that you want to know or see.
- Discuss higher-level questions or ideas on the riscv-debug-group mailing list: https://lists.riscv.org/g/tech-debug
For More Information
Additional information can be found at https://github.com/riscv/debug-taskgroup