m6502, a 6502 CPU for FPGAs and Tiny Tapeout
Cycle-accurate 6502 core at ~950 LUTs, shipping to real silicon via Tiny Tapeout.
A 16-bit 2-cycle RISC-V-inspired CPU in the same footprint as a 65c02. For the SKY130 process Tiny Tapeout.
Proves RISC beats 6502 in 1970s constraints with 1.0-2.6x speedup, same transistor count.
Computer architecture enthusiasts, retrocomputing engineers, Tiny Tapeout participants, hardware designers
6502 reimplementation projects · Femtocore CPU · RISC-V reference implementations
Highlights:
8x 16-bit general-purpose registers (vs 3x 8-bit on 6502) 2-stage pipeline (Fetch/Execute) with speculative fetch 61 fixed 16-bit instructions 2-cycle interrupt entry (vs 7 on 6502) 13,844 SRAM-adjusted transistors (vs 13,176 for 6502 on same process) 1.0-2.6x faster than 6502 across common routines
GDS viewer: https://mysterymath.github.io/riscyv02-sky Tiny Tapeout Shuttle Entry: https://app.tinytapeout.com/projects/3829
Cycle-accurate 6502 core at ~950 LUTs, shipping to real silicon via Tiny Tapeout.
Zero-cycle matrix multiplication in combinatorial logic on Lattice ECP5 is genuinely wild.
Pure SQL 6502 emulation with opcodes as stored procedures—no external code anywhere.
Hardwired control unit from AND/OR gates skips the usual microcode ROM approach.
Working 32-bit computer in cellular automata with assembler, emulators, and full documentation.
4500 FPS edge detection on CPU via bitwise hacking; clever but unclear practical advantage over GPU.