My Static RAM Cell I Made over the Weekend

In summary: It's not a good practice to short circuit the output of a logic gate to ground or VCC. Sure it may work if you use switches but it might not work if you use a logic gate instead of switches.
  • #1
LtIvan
40
6
Allo,
Recently, I have been researching RAM, including formats such as DRAM and SRAM.
While I was running simulations on SRAM one week, I realized I could make a 1 bit Static Memory Cell using a simple Schmidt NAND IC.
I ran a draft for it displaying two feed backing NAND gates as inverters, and just one bitline connecting a SPDT to 4.5V and 0V.
I did this as just as an experiment to see if two NAND gates can be used to make a memory cell.

The supply voltage and Vdd is 4.5, (three AA batteries). The IC is 493B Quad Schmidt NAND. The capacitor is used as a safety charge for the CMOS circuitry. the two switches are basic SPDT ones I found lying around. The PCB is a spare Jaycar project I had and is irrelevant to the design.

When SW1 is on and SW2 is connected to 4.5V, you add 1 bit (4.5V) to the the memory cell node. When you turn SW1 off, the NAND node hold 1 bit. The same can be said vice versa when storing 0 bit when SW2 is connected to ground.

In fig.5, the multi-meter measures 4.44V (≈4.5, accepted tolerance of accuracy) across the node between IC1a output and SW2 to ground, when there is 1 bit stored; similar testing has shown 0V when 0bit is stored.

The figures attached show several examples of typical SRAM, (fig.1, fig.2); another figure shows a draft design on AutoCAD, (fig.3); other figures show photos of the actual design.

I'll be soon uploading a PCB design.

Hopefully with this, I could make an array of several memory cells.

Please reply feedback,

Thanks in advance,
 

Attachments

  • sram.png
    sram.png
    2.6 KB · Views: 410
  • sram1.png
    sram1.png
    2.5 KB · Views: 434
  • NANDSRAM.png
    NANDSRAM.png
    26.5 KB · Views: 419
  • WIN_20161010_13_13_11_Pro.jpg
    WIN_20161010_13_13_11_Pro.jpg
    22.6 KB · Views: 424
  • WIN_20161010_13_16_08_Pro.jpg
    WIN_20161010_13_16_08_Pro.jpg
    31.1 KB · Views: 464
Engineering news on Phys.org
  • #2
It's not good practice to short circuit the output of a logic gate to ground or VCC. Sure it may work if you use switches but it might not work if you use a logic gate instead of switches.

Take a look at an SR latch.
 
  • #3
CWatters said:
It's not good practice to short circuit the output of a logic gate to ground or VCC. Sure it may work if you use switches but it might not work if you use a logic gate instead of switches.

Take a look at an SR latch.

Thanks for thy feedback,

You are correct; it is not a good practice to connect the voltage supply to any other nodes. Since it can short the circuit, and damage some of the components.
However, this was an experiment to see Schmidt NAND gates can be used for a SRAM latch or memory cell. Also, the application of this will be an array of these, and the voltage supply will be separated with a suitable set of buffers.

The reason I do not want to use SR latch or a flip flop bistable latch is I want to research some of the conventional memory cell types of RAM.

I am hoping to make a small model of an array of SRAM cells; however, I want to know should I use the typical inverters or FETs as the configuration of a SRAM cell. For example, in my case, FETs on a PCB will take up room.

Please reply feedback,

Thanks in advance,
 
  • #4
LtIvan said:
I want to know should I use the typical inverters or FETs as the configuration of a SRAM cell.

It's hard to give feedback without knowing your purpose and objectives for doing this project. What do you mean by "research"? Seems like a lot of work for potentially little reward? What do you hope to learn that can't be learned by reading the wiki page on SRAMs?

There are several of ways to make a simple bistable using transistors, FETs or logic gates. These are available in a wide range of different packages some of which are very small. Which ends up smallest might depend on what tools you have to assemble the PCBs. The switches could well take up more space than the electronics.
 
  • #6
Firstly, I have not had the time to purchase a breadboard yet; I was going to the other day when I was in Jaycar, but hesitated at the price and my spending budget.

One question I have might seem simple, but want to make sure, there is no need to bolt the tab/body/substrate to ground for the access MOSFETs connecting the wordline and the bitline? I thought there wasn't any need to until I stubble across this diagram.

In the attachment, notice the body is connected to ground?

Does this mean the hole needs to be bolted to a ground terminal?

Thanks in advance,
 

Attachments

  • mosfet.png
    mosfet.png
    1.8 KB · Views: 389
  • #7
Check the data for the FET you plan to use.

Frequently the heat sink tab is connected to either the drain or source inside the device. This can sometimes cause problems if multiple FETs are bolted to the same heat sink. The heat sink can end up shorting one part of the circuit to another. Means you sometimes need insulating mica washers between the tab and heat sink .

However you don't really need a power device for this. Perhaps look at a lower power "logic level" FET in a smaller package?
 

1. What is a static RAM cell?

A static RAM cell is a type of memory storage device that uses a flip-flop circuit to store and retrieve data. It is called "static" because it does not require refreshing like dynamic RAM cells do.

2. How does a static RAM cell work?

A static RAM cell stores data in a flip-flop circuit, which is made up of four transistors. Two of these transistors hold the data in the cell, while the other two control the read and write operations. When a voltage is applied, the stored data is latched onto the output of the flip-flop and can be accessed.

3. What are the advantages of a static RAM cell?

Static RAM cells have faster access times and lower power consumption compared to dynamic RAM cells. They also do not require refreshing, making them more efficient for certain applications.

4. What are the limitations of a static RAM cell?

One limitation of static RAM cells is their larger size compared to dynamic RAM cells, which limits the amount of memory that can be stored on a single chip. They also tend to be more expensive to manufacture.

5. What are some common uses for static RAM cells?

Static RAM cells are commonly used in processor caches, as they provide fast access to frequently used data. They are also used in networking devices and other applications that require fast and efficient data storage and retrieval.

Similar threads

  • Computing and Technology
Replies
14
Views
3K
Back
Top