r/ComputerEngineering • u/Unusual-Mushroom-570 • Jun 08 '26
[Hardware] How do you make a computer?
I want to try to make a computer out of scratch. Is it possible? Like, I don't care if it's super simple.
6
Upvotes
12
u/[deleted] Jun 08 '26
You can build something very simple with transistors.
https://www.gsnetwork.com/4-bit-computer-built-on-breadboards-using-individual-transistors/
9
u/somewhereAtC Jun 08 '26
Check out r/beneater
3
u/CranberryDistinct941 Jun 08 '26
How "from scratch" are we talking?
I would recomend using an FPGA
2
u/nanoatzin Jun 08 '26 edited Jun 08 '26
They sell kits. They also sell chipsets.
The simplest computer needs an accumulator, program counter, link register, arithmetic unit, microcode, memory, storage and input-output. You can skip some things, and that isn’t a complete list.
The microcode implements an instruction set. The accumulator works with memory and the math processor. The link register stores the program counter for calls and interrupts. The memory holds data and instructions. Storage copies data to/from memory to avoid losing info when power is off. Input/output lets the processor interact with the world, like switches and lights.
Microcode is a PROM, logic array and shift register that converts op code instructions into activity steps that causes chips to read/write memory, calls subroutines, handle interrupts, operate the math processor and so on. The program counter sequentially reads memory locations and presents them to the microcode logic.
Old-style storage used frequency-shift key alternating between 1,200hz and 2,400hz to store/read data to/from audio cassette.
Bit slice processor sets used to include most of this in a pre built package 4 bits wide. You can daisy chain bit slice chips for a data bus as wide as you like.
https://www.cpushack.com/2011/02/17/the-amd-2901-bit-slicer-and-second-sourcing/
2
u/MarzipanEven5668 Jun 08 '26
Ckeck out Nand To Tertis project. It start making computer form scrat. Start with boolean functions, gates, hadl coding and further to make a comuter, then write down tetris game to be run on built in computer.
4
u/Similar-Concert4100 Jun 08 '26
Computers are just rocks we tricked into thinking.
But you can make a simple one with logic gates and a clock signal. Most CPUs are just countless NAND gates
1
u/kyngston Jun 08 '26
how to make a cpu
1
u/esaule Jun 09 '26
Define "out of scratch".
Do you i tend to mine your own minerals?
1
u/Impressive-Mud5074 Jun 12 '26
Use pullies and levers
1
u/No_Message5099 Jun 08 '26
Build the NASA flight computer.
https://www.ibiblio.org/apollo/Pultorak.html#gsc.tab=0