Hacker News new | ask | show | jobs
by cryptonector 2 days ago
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
2 comments

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.