How to Implement a Random Access Memory at the Transistor Level

I don't know if this is the right forum to post this to. If there's a forum that would be more appropriate for a question like this, please let me kno w.

Let's say for a moment that I need to build a Random Access Memory that con sists of 256 nybbles. An eight-bit address bus and a four-bit data bus conn ect the CPU to each of the 256 nybbles. To make things simple, let's assume that one control bit is also sent from the CPU to each of the 256 nybbles; if that bit is set, then the CPU writes to one of the nybbles; if that bit is not set, then one of the nybbles gets read by the CPU. So in the former case, whichever nybble has its address (a number from 0 to 255) match the contents of the address bus, reads the contents of the data bus to its inte rnal storage, and it's easy enough to imagine how I would do that. In the l atter case, each of the 255 nybbles whose address does NOT match the value on the address bus writes high impedance to the data bus, and the nybble th at DOES match the value on the address bus writes its contents to the data bus. How does it do that? How does it do that on the transistor level? An N

-channel MOSFET can write high impedance to a bus, but the only logical val ue it is any good at writing to a bus is a zero. And a P-channel MOSFET can write high impedance to a bus, but the only logical value is is any good a t writing to a bus is a one. So how can one of the mentioned nybbles be abl e to use MOSFETs of either or both variety to write to a bus when it might need to write any of those three values, a logical one, a logical zero, or high impedance?

Reply to
Kevin Simonson
Loading thread data ...

On 2021-12-27 Kevin Simonson wrote in comp.arch.fpga:

This is probably not the right group, but to get you started.

Did you use a search engine to try and find some answers? You will find documents like this one that tell you memory cells are not simple single on/off transistors. And that the construction varies with type of memory.

formatting link

--
Stef 

How comes it to pass, then, that we appear such cowards in reasoning, 
 Click to see the full signature
Reply to
Stef

There's always Ben Eater's design/description as well.

formatting link

Reply to
Doug McIntyre

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.