RustingPU
A complete AI accelerator, from the processing element to the DMA and the Rust driver. An N×N INT8 systolic array runs a RustingBrain network, and every result is checked bit for bit against a software reference. Simulated in Verilator today; a Tang Mega 60K FPGA is next.
use rusting_pu::{quant, Rpu, TILE};
let mut rpu = Rpu::new()?;
let c = rpu.run_tile_i8(&a, &b)?;
assert_eq!(c, quant::matmul_nt_i8(&a, &b, TILE, TILE, TILE));
println!("{} cycles", rpu.cycles());Read the docs
RustingPU is an 8x8 INT8 systolic-array accelerator in SystemVerilog, driven from Rust. It runs a RustingBrain MNIST MLP at 97.25% test accuracy, identical to the CPU int8 reference and 0.01 pp from f32, in 1624.3 cycles per image at 98.50% array utilization. The array size is a build parameter; at 16x16 the same network takes 406.2 cycles per image at 98.47%.
ReferenceDesignThis is the engineering reference for the RPU. It describes the active code, how the simulation is wired, and the rules that keep Rust and RTL in agreement. It started as Hint.md (the BF16 design) and was rewritten for the int8 design of milestone 1. The plan is docs/plan-milestone-1.md; measured numbers per phase are in docs/progress.md.
ReferencePerformance logLoop: loop-prompts/rpu-perf.md, branch rpu-perf (from milestone-1 at 924f884). Every row is measured with examples/mnist.rs on the 10k MNIST test images, using the same trained network (data/mnist/mnist-784-128-10.json, MD5 82d91856abb13afa577d5e0b28fa1756), batch 64, memory read latency 1. Host-link words are 64-bit words per image: written counts every host bus write (memory and registers), read counts memory words only (status and counter polls are left out, because how often a real host polls depends on the transport).
ReferenceMilestone 1 resultsMeasured 2026-10-14 on branch milestone-1: RTL and driver at commit da4e054, plus examples/mnist.rs from the phase 9 commit that adds this file. Verilator 5.052, memory read latency 1 cycle.
ReferenceChangelogThe first public release. Every number below comes from Verilator, not silicon; the measurements and their commits are in docs/perf-log.md.