I am working on making a way to be able to cycle through RAM for my CPU, yet I could not find a 4 bit multiplexer schematic that was reasonably compact to save my life. I tried recreating this, and it worked, but I'm sure there is some way to make it much more compact than I had done.
If you could help me turn this schematic into a decently compact redstone device, I would be very appreciative. Or maybe even if you could point me toward a 4-bit multiplexer (2 selector bits, 4 inputs).
How wide do you need the inputs of the multiplexer?
Really anything is fine. Of course, I'll be hooking RAM into this though, so if it is easy to space them so its like 1010101 where 1 is an input and 0 is air/anything else, that may be the best.
Wait you are saying you want a multiplexer yes? A multiplexer takes multiple inputs and selects a specific one, are you sure you don't want the opposite? A demultiplexer? That takes a single input and splits it up into multiple outputs?
What do you need this for specifically? If it is for reading from RAM, isn't it a bit unnecessary because each RAM module has a read function anyway that makes the RAM output its value? If you just have all the RAM write its value to the same line, and have only the selected RAM output its value to the line, shouldn't it work without the need of a multiplexer?
Well, do let me explain. And explain why I feel dumb.
Originally I was thinking that RAM was simply D Flip-Flops and a MUX to select the correct register, thanks to the video linked above. Little did I know that there were also RAM cells that would do most of these operations much more compactly and efficiently.
So yeah. Honest mistake. But this topic is pretty much invalidated for now unless someone wants to do it anyways.
Glad to help :smile.gif: My policy is to not blindly give out circuitry, but to ensure the people I'm helping gain knowledge as well! Good luck in building your RAM! If you need a compact design, I know of a very small one by Hans Lemurson that might be very useful.
(schematic at the beginning)
I am working on making a way to be able to cycle through RAM for my CPU, yet I could not find a 4 bit multiplexer schematic that was reasonably compact to save my life. I tried recreating this, and it worked, but I'm sure there is some way to make it much more compact than I had done.
If you could help me turn this schematic into a decently compact redstone device, I would be very appreciative. Or maybe even if you could point me toward a 4-bit multiplexer (2 selector bits, 4 inputs).
Thanks!
Really anything is fine. Of course, I'll be hooking RAM into this though, so if it is easy to space them so its like 1010101 where 1 is an input and 0 is air/anything else, that may be the best.
Originally I was thinking that RAM was simply D Flip-Flops and a MUX to select the correct register, thanks to the video linked above. Little did I know that there were also RAM cells that would do most of these operations much more compactly and efficiently.
So yeah. Honest mistake. But this topic is pretty much invalidated for now unless someone wants to do it anyways.
Thanks for pointing me in the right direction ;P
However, I cannot read that to save my life. Would you be able to provide a schematic instead?
Here is a link to the original post.