Built with Hotwright's Agentic Technology
From soft CPUs to evolvable hardware.
A sample of the accelerators in the repo's example suite — every control plane below is compiled C, not hand-written state machine RTL.
RISC-V
RV32IM CPU family
A complete RV32IM core with a PicoRV32-compatible PCPI coprocessor
interface — plus a 4-wide superscalar variant with hazard detection and
branch redirect, and a dual-lane lockstep SIMD variant. All three control
planes are compiled from C.
RISC-V · CFU-LI
VexRiscv accelerator coprocessors
Attaches sort and matrix-multiply engines to a Linux-capable VexRiscv
CPU over the CFU Lightweight Interface — custom RISC-V instructions
dispatched straight from the pipeline, handled by a compiled hotstate
dispatcher.
Machine learning
Tsetlin Machine inference
A trained Tsetlin Machine MNIST classifier: clause masks extracted from
training and stored in ROM, evaluated by a byte-serial hardware engine
sequenced by a compiled clause controller.
Machine learning
On-chip Tsetlin Machine training
The Tsetlin Automaton update rule — including the Fuzzy Pattern TM
variant — described in C and compiled to hotstate microcode directly, with
no hand-written training RTL at all.
Machine learning
Spiking neural network
A leaky integrate-and-fire SNN for MNIST digits, now reaching 96.2% accuracy
with Poisson-encoded spike trains. A sparse-input variant processes only active
pixels per timestep for a ~5.6× speedup, validated bit-exact against a
quantized Python reference model.
Evolvable hardware
Genetic algorithm accelerators
Hardware GA engines evolve cellular automata and Cartesian Genetic
Programming LUT-DAG circuits to learn boolean functions — tournament
selection, crossover, and mutation running entirely on-chip.
Language
Word-level TM-LLM
A hardware ASCII tokenizer feeds a bank of per-bit Tsetlin Machines for
next-word prediction — a full text pipeline, from raw bytes to prediction,
sequenced by compiled C.
Cryptography
Post-quantum encryption
A 71-word hand-assembled microcode program sequences a lattice datapath
through a full ML-KEM-512 (FIPS 203) encrypt/decrypt — bit-exact against a
Python reference model, recovering plaintext from hardware-produced
ciphertext.
And more
Forth machine, HDMI/GPU pipeline, systolic arrays…
The example suite covers 90+ designs, from a five-machine Forth
interpreter wired together with --system to a wavefront
systolic array and a hardware-accelerated web server. Browse
examples/ in the repo.