Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomverbeure/gdbwave
GDB server to debug CPU simulation waveform traces
https://github.com/tomverbeure/gdbwave
Last synced: about 2 months ago
JSON representation
GDB server to debug CPU simulation waveform traces
- Host: GitHub
- URL: https://github.com/tomverbeure/gdbwave
- Owner: tomverbeure
- License: mit
- Created: 2021-11-11T19:48:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T07:31:24.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T13:39:01.914Z (3 months ago)
- Language: C
- Size: 2.38 MB
- Stars: 40
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GDBWave
GDB server to debug CPU simulation waveform traces.
See [GDBWave - A Post-Simulation Waveform-Based RISC-V GDB Debugging Server](https://tomverbeure.github.io/2022/02/20/GDBWave-Post-Simulation-RISCV-SW-Debugging.html).
# Usage
**Start gdbwave**
```sh
cd ./src
make run
```This does the following:
* Read in an FST file.
* Extract all the instruction addresses with associated simulation timestamp.
* Extract all CPU writes to the CPU register file
* Extract all CPU writes to external memory
* Start a GDB server
* Makes GDB believe that it's dealing with an active or simulated CPU