Hacker News new | ask | show | jobs
by lewdwig 3 days ago
I’m confused how a cell stores a charge with no dedicated capacitor. Parasitic capacitance of the cell itself? But those are usually tiny, too tiny to work reliably with practically.
3 comments

It's IGZO DRAM, with two transistors. The trace between the output of the write transistor and the gate of the read transistor acts as the capacitor.

Indium Gallium Zinc Oxide is a semiconductor material (silicon alternative), which is much slower to switch than silicon, but is interesting for memory for two features:

1. It has much lower leakage. The leakage can be made so low that even though the capacitance is absolutely tiny (0.05-0.001 of normal DRAM!), the refresh interval can be days.

2. It doesn't need to be pre-manufactured like epitaxial silicon, it can be deposited on silicon dioxide (and many other materials). This opens up many interesting opportunities with 3d integration.

Hm seems not very good security wise for a lot of applications then? Unless it can be wiped by overriding all ones or something.
How is this a security issue compared to NAND flash which retains data for months and years? You just treat it similar to NAND flash when it comes to end of life decomissioning.

And just like SSDs for high security environments they can probably implement transparent encryption and just reset the key.

It's the same risk as any memory -- nation-state attackers already have tools to steal data from DRAM (thermal, capturing during early boot, plain old DMA via "trusted" ports, ...). Since mainstream modern CPUs already have support for encrypted memory built into their DRAM controllers, there is no special additional effort needed to mitigate.
SRAM does it without a capacitor. You should look at logic flipflops https://en.wikipedia.org/wiki/Flip-flop_(electronics) and SRAM https://en.wikipedia.org/wiki/Static_random-access_memory
False.

The retention of the state of an SRAM cell depends in an essential manner of the input capacitance of the component transistors, which stores an electric charge corresponding to the state of the cell.

If the input capacitance of the transistors were too small, the ubiquitous Johnson–Nyquist electric noise would toggle continuously the state of the SRAM cell, so the retention of information would be impossible.

For ideal logical gates, where the noise is ignored, positive feedback is sufficient to maintain the state, but in real logical gates, storing enough electric charge to not be affected by noise is strictly necessary.

The role of the positive feedback in an SRAM cell is less for keeping the state, than for refreshing continuously the stored electric charge, avoiding its discharge by leakage currents. Thus in SRAM the refresh of the electric charge is continuous, unlike in DRAM where it happens periodically during refresh cycles, when the positive feedback loop is closed through an external transistor, instead of being closed inside the memory cell.

Normal SRAM cells are symmetric, because they have separate bit lines for writing a "0" and for writing a "1", so they store equal electric charges in the inputs of the 2 inverters. Nonetheless, it is possible to have an asymmetric SRAM cell, with a single bit line for writing, where only one of the 2 inverters closed in a positive feedback loop is big, and its input capacitance stores an electric charge great enough, which completely determines the state of the cell. In that case, the second inverter can be much weaker, only strong enough to be able to sink the leakage currents, so it is a "keeper inverter", whose only role is to refresh the electric charge stored by the main inverter.

Because the electric charge stored in an SRAM cell is much smaller than the electric charge stored in a DRAM cell, because it does not need to persist for a long time between refresh cycles, SRAM memories are far more sensitive to radiation than DRAM memories, because even a low-energy particle can discharge the input capacitances of the transistors.

Therefore the SRAM caches of CPUs always use ECC to correct the frequent errors, even when they are used in computers for "consumers", where the vendors do not provide ECC DRAM, assuming that for "consumers" it does not matter if their computers experience memory errors a few times per year.

They said without a capacitor, not without capacitance.
Right, or at least that was how I took it.
Z2RAM is not like that, SRAM has the logic level held up or down by external source, Z2RAM is DRAM.