Explanation
This section is about reasoning, not procedure. For hands-on routes, see the tutorials and guides.
Start here
Section titled “Start here”With no background at all, begin with “What is a neural network, really?”. If you’ve done machine learning before, “What is a DLGN” alone is enough.
What is a DLGN, and how does it differ from an NN?You learn which logic gate each neuron becomes, not a weight matrix. The soft/hard phases, and why inference reduces to bitwise ops.
What is a neural network, really?Perceptron → gradient descent → why differentiability is non-negotiable. The shortest path from zero background.
Digging into the mechanism
Section titled “Digging into the mechanism”DLGN taxonomy and lineageThe three families — arithmetic DLGN, native DLGN, 6-LUT DLGN — and where hybrids sit.
LutLayer internalsDeriving y = Σ w_k · basis_k(x), the butterfly basis, the five parameterizations, and the soft→hard collapse.
Learning rules (BP/AP/DFA/ES)How backprop, Akiho Propagation, DFA, and EGGROLL assign credit differently — and how to mix them per layer.
Architecture overviewThe 8-stage dataflow from training → IR extraction → validation → lowering → HDL, and why the pieces are kept loosely coupled.
Background and vocabulary
Section titled “Background and vocabulary”Design decisionsSeven decisions that pay off later — such as making the IR the source of truth — recorded in ADR form.
GlossaryDLGN, LUT, soft/hard, discretization gap, and the other terms this site and the code use identically.