I created a CPU. From scratch.
Check it out on GitHub or read more about how I built it here.
My article explains how it works.