Non-volatile random-access memory
Non-Volatile Random Access Memory (NVRAM) is the general name used to describe any form of high-speed computer memory which does not lose its information when power is turned off. This is in contrast to the most common forms of memory today, DRAM and SRAM, which both require continual power in order to maintain their data. NVRAM is a subgroup of the more general class of non-volatile memories, the difference being that NVRAM devices need to offer RAM-like speeds, as opposed to hard drive-like performance.
The best-known form of NVRAM today is Flash RAM, which is found in a wide variety of consumer electronics, including digital music players, digital cameras and cell phones. Several newer technologies are attempting to replace Flash in certain roles, and some even claim to be a truly "universal memory", offering the performance of the best SRAM devices with the non-volatility of Flash. To date these alternatives have not yet become mainstream.
Early NVRAMs
Early computers used a variety of memory systems, some of which happened to be non-volatile, although not typically by design but simply as a side effect of their construction. The most common form of memory through the 1960s was magnetic core memory, which stored data in the polarity of small magnets. Since the magnets held their state even with the power removed, core memory was also non-volatile.
Rapid advances in semiconductor fabrication in the 1970s led to a new generation of solid state memories that core simply could not compete with. Relentless market forces have dramatically improved these devices over the years, and today the low-cost and high-performance DRAM forms the vast majority of a typical computer's main memory. However there are many roles where non-volatility is important, either in cases where the power will be removed for periods of time, or alternately where the constant power needs of DRAM conflicts with low power devices. For many years there was no practical RAM-like device to fill this niche, and many systems used a combination of RAM and some form of ROM for these roles.
Custom ROM was the earliest such solution, but had the disadvantage of being able to be written to only once, when the chip was initially designed. ROMs consisted of a series of diodes permanently wired to return the correct data. PROM improved on this design, allowing the chip to be written to electrically by the end-user. PROM consists of a series of diodes that are initially all set to a single value, "1" for instance. By applying higher power than normal, a selected diode can be "burned out" (like a fuse), thereby permanently setting that bit to "0". PROM was a boon to companies who wished to update the contents with new revisions, or alternately produce a number of different products using the same chip. For instance, PROM was widely used for game console cartridges in the 1980s.
For those who required real RAM-like performance and non-volatility typically have to use conventional RAM devices and a battery backup. This was a common solution in earlier computer systems like the original Apple Macintosh, which used a small amount of memory powered by a watch "button" battery for storing basic setup information like the selected boot volume. Much larger battery backed memories are still used today as caches for high-speed databases, requiring a performance level newer NVRAM devices have not yet managed to meet.
The Floating Gate Transistor
A huge advance in NVRAM technology was the introduction of the floating gate transistor, which led to the introduction of erasable programmable read-only memory, or EEPROM. EEPROM consists of a grid of transistors who's base terminal (the "switch") is protected by a high-quality insulator. By "pushing" electrons onto the base with the application of higher-than-normal power, the electrons become trapped on the far side of the insulator, thereby permanently switching the transistor "on" ("1"). The bit can be re-set with the application of even higher power through the other terminals of the transistor (emitter and collector). This process has the disadvantage of mechanically degrading the chip, however, so memory systems based on floating gate transistors generally have short write-lifetimes, on the order of 105 writes to any particular bit.
The basis of Flash RAM is identical to EEPROM, and differs largely in internal layout. Flash allows its memory to be written only in blocks, which greatly simplifies the internal wiring and allows for higher densities. Density is the main determinant of cost in most computer memory systems, and due to this Flash has evolved into one of the lowest cost solid-state memory devices available. Starting around 2000, demand for ever-greater quantities of Flash have driven manufacturers to use only the latest fabrication systems in order to increase density as much as possible, and "multi-bit" techniques appear to double or quadruple this figure.
Newer Approaches
Flash and EEPROM's limited write-cycles are a serious problem for any real RAM-like role, however. Additionally, the high power needed to write the cells is a problem in low-power roles, where NVRAM is often used. The power also needs time to be "built up" in a device known as a charge pump, which makes writing dramatically slower than reading, often as much as 1,000 times. A number of new memory devices have been proposed to address these shortcomings.
To date, the only such system to enter widespread production is FeRAM. FeRAM uses a ferroelectric layer in a cell that is otherwise similar to conventional DRAM, this layer holding the charge in a 1 or 0 even with the power removed. To date, FeRAM has been produced on very old fabs, and even the most advanced research samples are still twice the linewidth of most Flash devices. Although this difference might be addressable under normal circumstances, as Flash moves to multi-bit cells the difference in memory density appears to be growing, rather than shrinking.
Another approach to see major development effort is MRAM, which uses magnetic elements and generally operates in a fashion similar to core. Only one MRAM chip has entered production to date, Freescale Semiconductor's 4 Mbit part, and using the techniques in this particular design it is unlikely to grow any time soon. Another technique, known as STT-MRAM, appears to allow for much higher densities, but is falling behind Flash for the same reasons as FeRAM – enormous competitive pressures in the Flash market.
Perhaps one of the more unique solutions is millipede memory, developed by IBM. Millipede is essentially a punch card rendered using nanotechnology in order to order to dramatically increase areal density. Although it was planned to introduce millipede as early as 2003, unexpected problems in development delayed this until 2005, by which point it was no longer competitive with Flash. In theory the technology offers storage densities on the order of 1 Tbit per square inch, far greater than even the best hard drive technologies currently in use (perpendicular recording offers about 230 Gbit/in²) . However, slow read and write times for memories this large seem to limit this technology to hard drive replacements as opposed to high-speed RAM-like uses, although to a very large degree the same is true of Flash as well. It remains to be seen if this technology will ever become practical.
The only other technology to see anything other than purely experimental development is Phase-change RAM, or PRAM (a rather overloaded acronym). PRAM is based on the same storage mechanism as writable CDs and DVDs, but reads them based on their changes in electrical resistance rather than changes in their optical properties. To date, no PRAM device has been produced commercially.
A number of more esoteric devices have been proposed, including Nano-RAM based on carbon nanotube technology, but these are currently far from commercialization.
See also
- RAM
- Static RAM (SRAM)
- Dynamic RAM (DRAM)
- MRAM