CPU design simulated from code

Rina

A whole CPU, designed by Fable 5.2 from 147 lines of code. It started with 147 lines of code that describe a CPU, and those turned into 6,258 logic gates and 1,023 memory cells. The chip was then checked against a reference model on 242,400 random instructions, with zero mismatches. Then it placed all 7,281 cells across the chip and drew the wiring, which came out 5.5 times shorter than a random layout. When it powers on, every single gate is simulated on every clock tick, and the processor prints text on its own and runs Game of Life on a tiny 32×32 screen. 300 generations later, still zero mismatches. It’s never been printed in real silicon, but the design holds up down to the last gate.
View original post