How i-am-somasai/scalable-8x8-int8-systolic-array-accelerator-with-axi4-stream-ping-pong-memory works
This repository presents a parameterized INT8 systolic-array matrix-multiplication accelerator, with Python tools for vector generation and result checking. The documented user flow is to provide matrices, stream data through double-buffered storage and the compute array, then compare results with a NumPy golden model. The tree contains generated Verilator C++ and Python utilities, but not the documented RTL, testbench, or build files; hardware capabilities and their connections are therefore based on the README and sampled generated code, not inspection of the original RTL.
Main entry points: Vsystolic_pe___024root__DepSet_h67cc2236__1.cpp Accelerator model · Vsystolic_pe_systolic_pe__DepSet_h13405d25__1.cpp Systolic PE · Vsystolic_pe_array_feeder.h Array feeder · generate_vectors.py Vector generator
Components 11
Compute model
- Accelerator model
obj_dir/Vsystolic_pe___024root__DepSet_h67cc2236__1.cpp - Systolic PE
obj_dir/Vsystolic_pe_systolic_pe__DepSet_h13405d25__1.cpp - Array feeder
obj_dir/Vsystolic_pe_array_feeder.h - Ping-pong buffers
obj_dir/Vsystolic_pe_ping_pong_buffer__A3.h - AXI stream I/O
obj_dir/Vsystolic_pe___024root__DepSet_h67cc2236__1.cpp
Python verification
- Vector generator
python/generate_vectors.py - Golden model
python/golden_model.py - Result comparison
python/compare_results.py
Trace analysis
- VCD parsers
parse_vcd.py - Trace utilities
trace_hier.py
Other components
- Matrix user
Connections 12
- Matrix user → Accelerator model: streams matrices
README.md - Accelerator model → Ping-pong buffers: reads data
README.md - Accelerator model → Array feeder: feeds array
README.md - Array feeder → Systolic PE: supplies operands
README.md - Systolic PE → Accelerator model: accumulates results
README.md - Accelerator model → AXI stream I/O: streams output
README.md - Matrix user → Vector generator: requests vectors
README.md - Vector generator → Golden model: generates reference
README.md - Accelerator model → Result comparison: provides results
README.md - Golden model → Result comparison: provides reference
README.md - Accelerator model → VCD parsers: emits waveforms
README.md - VCD parsers → Trace utilities: supports inspection