This project is my first attempt at designing and building a CPU from scratch, completed during 5th grade. I was inspired by the book Code by Charles Petzold. I wanted to learn how a CPU works by making and designing a simple 4-bit CPU.
The CPU includes a basic ALU, 4 registers, 12 bit wide program counter, instruction decoder, and control logic.
This CPU isn't really a microprocessor but more like a microcontroller. It can't access RAM and and it needs some delays here and there. But overall, it works and can do 15 different instructions.
This project laid the foundation for my later 8-bit CPU in another one of my projects and future 16-bit and 32-bit CPU that I am currently designing.
If you want more hardware info, check out my github link and my youtube video down below. Logic designs simulated using Digital by H. Neemann.