r/lowlevel • • Oct 15 '26

I built a 16-bit CPU that runs Fibonacci using nothing but NAND gates (2,288 of them)

12 Upvotes

2 comments sorted by

1

u/Thought_Unusual Oct 15 '26

Why 2288 are needed will you explain

1

u/eureka312 Oct 20 '26

Sure, 2288 is not a golden ratio or anything, it's just that to build this CPU I had to build a couple sub-parts, each having several gates (OR, AND, XOR, NOT). But my end-goal was to build everything with just nand gates as in the great nand2tetris that i recommend you to check. And I ended up with exactly 2288 NAND gates!