r/coolgithubprojects • u/Zalaso • 1d ago
Tracing a neural network execution from model to RISC-V pipeline stall
https://github.com/zalaso/coresampleI have been working on a project called coresample, which aims to provide a full-stack view of a neural network running on custom hardware. It includes a RISC-V core written in SystemVerilog, a compiler for quantized networks, and a Rust-based simulator. The goal is to follow an input from the model through to the specific pipeline stalls on the CPU, with every cycle accounted for. The inspector is currently live via GitHub Pages. I am looking for feedback on the verification flow or the tracing implementation. You can find the repository here:
https://github.com/zalaso/coresample