Back to browse
GitHub Repository

8-bit computer from one NAND gate, a live-evolving neural net, and virtual CPU

24 starsPython

An 8-bit computer made from one NAND gate, and live-evolving neural net

by ninjahawk1·May 9, 2026·3 points·1 comment

AI Analysis

●●●BangerWizardryBig BrainRabbit Hole

Training a neural net to play Pong entirely inside a custom NAND-based CPU.

Strengths
  • Building an ALU and CPU strictly from a single NAND gate function is serious constraint craft.
  • Running inference on a quantized neural network in custom assembly is genuinely wild.
  • The entire stack fits in a few files, making the abstraction layers easy to trace.
Weaknesses
  • Python simulation limits the educational value compared to FPGA or Verilog implementations.
  • The custom assembly language has no tooling beyond the included two-pass assembler.
Category
Target Audience

Computer science students and hardware enthusiasts

Similar To

Nand2Tetris · Ben Eater's 8-bit computer

Similar Projects

Open Source●●Solid

SCPN Fusion Core – Tokamak plasma SIM and neuromorphic SNN control

This repo compiles stochastic Petri-net control policies into sub-millisecond spiking LIF networks and pairs them with reduced-order plasma simulators and Rust acceleration — not something you see every day. It ships validation against real equilibria/shot databases and a Streamlit dashboard, so the project feels like a serious research-to-prototype pipeline rather than paper-only ideas; the tradeoff is deliberate reduced-order physics (not a TRANSP/GENE replacement), which is fair for real-time control work.

WizardryNiche GemBold Bet
anulum
204mo ago