fpga-neuron

stable

A neural network from first principles to FPGA hardware.

Indexed from a public source and curated by LibFPGA. This is one of our own reference listings.

LicenseMIT
Languagesverilog, python
Targetsdevice-agnostic
Categoryexample

Verification

Signals earned by running the open toolchain. This is the registry's whole point: know it works before you clone it.

✓ Lints clean ✓ Testbench passes ✓ Synthesizes Formally proven Converts to RTL

About

An educational walkthrough: train a tiny MLP to solve XOR in dependency-free Python, quantize it to Q4.4 fixed point, and synthesize a fully combinational network (832 LUT4s, zero flip-flops) proven correct against a bit-exact software model on all 293 test vectors. Includes schematics, a training-loss plot, and float-vs-fixed decision-boundary heatmaps. The building blocks behind libfpga's neural micro-kit, shown by hand.

neural-networkeducationalquantizationfixed-pointmlp