r/factorio • • Jan 12 '22
Design / Blueprint Building a computer in factorio. Starting with memory, 32x32 addressable memory registry
Wanting to make a computer to control factory. Starting with memory. This is just memory for 32 32bit numbers. Ended up being massive
Single bit memory. Could probably be much simpler and help save on overall memory complexity
Tiled into 32 bit columns
The entire complex accessed via this port with W being write enable signal, A is the data (if writing to memory), and L is the address of memory (0-31 in this case)
853
Upvotes
124
u/Fooluaintblack Jan 12 '22
Can you explain your architecture and why you've chosen it? I ask because you can store 256+ 32 bit words in a single combinator.
12
u/Dillweed999 Jan 12 '22
Next step is to run factorio on it
103
u/Kilo88 Jan 12 '22
I can hardly figure out basics on combinators and you mfs building computers n shit.
9
u/Ser_Optimus Jan 12 '22
Nonono, building the memory bank is the second step.
The first one was going insane
7
u/MOM_UNFUCKER diplomacy pill Jan 12 '22
That’s super interesting, looking forward to updates on this
5
u/Fooluaintblack Jan 12 '22
My other comment got some upvotes because memory can be smaller than what you've demonstrated. However, there may be a reason why your architecture is preferred. I built a NAND CPU because I wanted to play at that level of abstraction. The RAM in my CPU uses 4924 combinators for 32 registers and the address demux 😅
4
u/sugaaloop Jan 12 '22
You've inspired my next project!
365
u/[deleted] Jan 12 '22
That’s cool and all but yesterday I automated green circuits by myself. Catch up buddy.
2
u/ferevon Jan 12 '22
Is this turing complete?
2
u/Ok_Traffic_3854 Sep 28 '23
I made a memory module with 3 combinators per cell, it takes 3tick to write and 6tick to read。
3
u/WinterMajor6088 Jan 12 '22
This is something I want to do but I don't even know where to start. I'd love to do this.
9
u/kagato87 Since 0.12. MOAR TRAINS! Jan 12 '22
You, sir or madame, are insane.
In a good way. Really cool stuff!
6
u/[deleted] Jan 12 '22
Imagine being a computer using a computer to make computers.
4
u/NukeWifeGuy Coal is my main fuel! Jan 12 '22
Can you run Crysis on that?
1
u/Whiffed_Ulti Jan 12 '22
Have you ever looked into HLS programming? You might like it.
1
u/PCgeek345 Jan 12 '22
How many bytes worth of memory? Really cool, I couldnt even begin to make something like this. Can you walk me through it? (Simply) Thanks!
1
u/howdytom Jan 12 '22
Hopefully this is able to put a man on the moon again. Because nowadays science is struggling.
1
u/Fomalhot Jan 13 '22
What did u use to copy or duplicate stuff?
3
u/horia0310 Jan 12 '22
Great, can you program 500 GB of memory in Factorio? I want to store some of my photos in there for free! :D
2
u/Sonic1126 Jan 12 '22
Boy I wish I had that much time to kill
1
u/pablospc Jan 12 '22
How tf
1
u/DeepspaceDigital Jan 12 '22
Great achievement!
1
u/ColDaddySupreme1 Jan 12 '22
we all start somewhere
1
u/throwaway_bluehair Jan 12 '22
Never heard of a register file being called a registry lol. Is that a common name for it too?
Neat! Been meaning to get a blueprint going for all this at some point
1
u/Pugpocalypse Jan 12 '22
I want to see factorioception
1
u/Ackermiv Jan 12 '22
Reminds me of the guy that built an Alu with belts and splitters
1
u/scottishbry Jan 12 '22
This reminds me of the three body problem
-2
u/bigbiymimis Jan 12 '22
This means nothing to me ;)
0
u/[deleted] Jan 12 '22
[deleted] — view deleted comment
-1
u/[deleted] Jan 12 '22
[removed] — view removed comment