Claude writes a working GPU in 121 lines of Verilog with 100% pixel-perfect validation
IgorCarron · x · 2026-11-27
A user asked Claude to design a GPU, and it produced a real rendering pipeline in just 121 lines of Verilog: vertex rotation, perspective division with its own hardware divider, backface culling, per-face lighting, and pixel filling via edge functions and a depth buffer.
The design was simulated in Icarus Verilog with a 3D shape of 2,400 triangles, cycle by cycle — 64 frames for a full rotation across 35 million clock cycles. Claude then verified itself: a separate Python model of the same math matched all 1,228,800 pixels in the chip's frame buffer exactly.
More from coding & agent
- 'Agents Don't Crash, They Go Quiet': Agent Ops Needs Heartbeats and Output Checks — alvelda · 2026-11-28
- Free Open-Source Agentic AI Course: 163 Lessons Building Agents From a Raw While-Loop — adnan_hashmi · 2026-11-28
- Two Skill Edits Made Haiku Match Opus on Coding Tasks at ~5% of the Cost — InterestingCarrot997 · 2026-11-28
- Chip Huyen Launches Good AI List, a Curated Open-Source AI Tool Tracker — Zachly · 2026-11-28
- Infinitty Terminal adds HTML artifact extensions with interpretted Swift and native compilation — jasonkneen · 2026-11-28
- GPUI dev pushes back: his pipeline is quads and text vs Chromium's 12-stage renderer — zack_overflow · 2026-11-28