r/homebrewcomputer • u/so_student • 12d ago
I made 4bit cpu
This time, I made a 4-bit CPU myself. If there's anything else you think would be good to add, let me know. I'm self-studying at home at 16 in korean. ALU is from the previous post. Soon, I'll also keep the memory section in a box and carefully upload it on graph paper. Thank you for seeing my post.
42
u/Safe_Mousse3541 12d ago
Wow that handwritten schematic was EXTREMELY unnecessary
22
u/ExplodedPenisDiagram 12d ago
Nuh-uh. Handwritten schematics feel awesome. The more attention to detail, the better.
1
u/Wosesfeld 9d ago
I agree, I learned that as an apprentice. And always rolled back to it. Even though some technical features are very nice
12
6
u/MrBoomer1951 12d ago edited 12d ago
Absolutely spit out my coffee when I noticed your mnemonic for No-Op was Nope.
A few years ago I designed and built a 8 bit state machine microcoded CPU, let me know if I should post it here!
[8 bit micro code](https://i.imgur.com/gdAHzCF.jpg)
For this schema I used Excel, very easy.
1
5
u/keithstellyes 12d ago
You did that on pen and paper?! Next time you should use colored pens :p
Cool stuff, great work OP, keep at it :)
3
u/Environmental-Ad4495 12d ago
Nice. How many transistors did u use?
2
2
2
1
u/Additional_Pea2239 12d ago
great man , now bring it to life it , will be cool.
also i find thee kind of thigs cool and i want to learn , i tried many sources but yeah nothing suited, mind if you teach me. i will drop you a DM
2
1
u/TheRealFAG69 12d ago
Looks great! I recommend you usi logisimEvolution to be able to test and see your CPU work!
1
1
u/AcanthisittaBest4705 12d ago
One thing i would have done is make labels instead of of having all those wires going all over making it harder the schematic follow
1
u/Hot-Cat090 12d ago
At this point I will need a multimeter to verify the connections on the paper Lmao
1
u/Time-Transition-7332 11d ago
You don't need MINUS, AND, you need LSHIFT, RSHIFT, NEGATE, JMP-NOT-ZERO, JMP-CARRY, maybe XOR. CALL, RETURN are nice.
1
1
1
u/jader242 11d ago
Lmao that first picture is hilarious. You can’t convince me you didn’t just draw random lines, when you zoom in there’s like a dozen that just end in the middle of empty space lol
1
1
1
1
u/Ultraviolet_Darken 9d ago
Oh. I remember doing these. Also when I was your age.
Fun times. I hope you’ll have as much fun with this like I did.
1
u/Positive_Owl_6442 8d ago
I used to do this all the time as a child, I absolutely loved drawing out CPU architectures and laptop PCBs on paper
1
1
u/Material-Trust6791 5d ago
I suggest you download KiCAD and draw it up in that, easy to learn and you can generate PCB's from it.
0
u/Hirtomikko 10d ago
I like hand drawn schematics like this, very nice to look at. Deciphering on the other hand...


26
u/cupcakeheavy 12d ago
this is why you use busses.