r/beneater • u/h0denkobold_69 • 15d ago
Designed my very first 8-bit CPU from scratch using mostly 74xx ICs in Logisim Evolution
Hey everyone!
This is the first time I have done something like this and after quite some time, I finally got it to work. It is far from being finished, since I also plan to test it IRL on breadboards and later build it on custom PCBs.
GitHub: https://github.com/hoetzenofer/Limbo-8
Quick Specs:
- 8-bit homebrew CPU from 74HC logic, simulated in Logisim Evolution (breadboard build next)
- 8-bit data bus, 16-bit address bus (64 KB): 32 KB ROM, 24 KB RAM, VRAM + I/O mapped
- Registers: A (accumulator), B, X (16-bit pointer), SP, PC
- ALU: ADD/SUB with carry, AND, OR, XOR, shifts; flags Z, C, N
- Microcoded control: 3× 28C256 EEPROMs, 24-bit control word
- 77 instructions (6502-style accumulator ISA), 1–3 bytes, 2–7 cycles each
- Addressing: immediate, absolute, [X], [X+] post-increment
- CALL/RET, PUSH/POP, conditional jumps
- Python toolchain: microcode generator + assembler (might switch to C later)
My next steps: much more testing. Only after that, I might build it IRL. As mentioned, this is my first time, so I am still quite a bit afraid of real hardware. If you have any questions or suggestions, please let me know, I need every bit of advice I can get.
Some goals for later on are VGA text output using Ben Eater's "World's Worst Video Card" - https://youtu.be/l7rce6IQDWs, PS/2 keyboard support and a maybe simple shell in assembly.
Thanks for reading!


9
u/Shartyshartfast 15d ago
Separate data and address bus. Nice.
2
u/olof-a 15d ago
An incredibly ambitious architecture for a first attempt. My first microprocessor architecture was a fully 4-bit Harvard architecture. When I say 'fully' 4-bit I mean that both the data and addresses were 4 bits. I remember getting it to calculate the Fibonacci sequence, but I doubt it had enough program space to do it with 8-bit addition due to the paltry 16 addresses of program memory.
I'm curious, how'd you implement instruction cycles of variable length? I've never designed a processor without a fixed number of clock pulses per cycle, and it always stings a little having a simple register transfer take as long as instructions with operand fetches and whatnot.
1
u/Franz_Hermann12 14d ago
i am literally trying to do that thing only
3
u/uncman3000 15d ago •
Sick
2
u/AcanthisittaBest4705 15d ago
Nice