Non-volatile random-access memory (NVRAM) is
random-access memory that retains data without applied power. This is in contrast to
dynamic random-access memory
Dynamic random-access memory (dynamic RAM or DRAM) is a type of random-access semiconductor memory that stores each bit of data in a memory cell, usually consisting of a tiny capacitor and a transistor, both typically based on metal-oxide ...
(DRAM) and
static random-access memory (SRAM), which both maintain data only for as long as power is applied, or forms of
sequential-access memory such as
magnetic tape
Magnetic tape is a medium for magnetic storage made of a thin, magnetizable coating on a long, narrow strip of plastic film. It was developed in Germany in 1928, based on the earlier magnetic wire recording from Denmark. Devices that use magne ...
, which cannot be randomly accessed but which retains data indefinitely without electric power.
Read-only memory devices can be used to store system
firmware
In computing, firmware is a specific class of computer software that provides the low-level control for a device's specific hardware. Firmware, such as the BIOS of a personal computer, may contain basic functions of a device, and may provide h ...
in
embedded systems such as an automotive ignition system control or home appliance. They are also used to hold the initial processor instructions required to
bootstrap a computer system. Read-write memory can be used to store calibration constants, passwords, or setup information, and may be integrated into a
microcontroller
A microcontroller (MCU for ''microcontroller unit'', often also MC, UC, or μC) is a small computer on a single VLSI integrated circuit (IC) chip. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable i ...
.
If the main memory of a computer system were non-volatile, it would greatly reduce the time required to start a system after a power interruption. Current existing types of semiconductor non-volatile memory have limitations in memory size, power consumption, or operating life that make them impractical for main memory. Development is going on for the use of non-volatile memory chips as a system's main memory, as
persistent memory. A standard for persistent memory known as
NVDIMM-P has been published in 2021.
Early NVRAMs
Early computers used core and drum memory systems which were non-volatile as a byproduct 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. Other memory types required constant power to retain data, such as
vacuum tube or solid-state
flip-flops,
Williams tubes, and semiconductor memory (static or dynamic RAM).
Advances in
semiconductor fabrication in the 1970s led to a new generation of
solid state
Solid state, or solid matter, is one of the four fundamental states of matter.
Solid state may also refer to:
Electronics
* Solid-state electronics, circuits built of solid materials
* Solid state ionics, study of ionic conductors and their u ...
memories that magnetic-core memory could not match on cost or density. Today dynamic RAM forms the vast majority of a typical computer's
main memory
Computer data storage is a technology consisting of computer components and recording media that are used to retain digital data. It is a core function and fundamental component of computers.
The central processing unit (CPU) of a computer ...
. Many systems require at least some non-volatile memory. Desktop computers require permanent storage of the instructions required to load the operating system. Embedded systems, such as an engine control computer for a car, must retain their instructions when power is removed. Many systems used a combination of RAM and some form of ROM for these roles.
Custom
ROM integrated circuits were one solution. The memory contents were stored as a pattern of the last mask used for manufacturing the integrated circuit, and so could not be modified once completed.
PROM improved on this design, allowing the chip to be written 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 facilitated prototyping and small volume manufacturing. Many semiconductor manufacturers provided a PROM version of their mask ROM part, so that development
firmware
In computing, firmware is a specific class of computer software that provides the low-level control for a device's specific hardware. Firmware, such as the BIOS of a personal computer, may contain basic functions of a device, and may provide h ...
could be tested before ordering a mask ROM.
Currently, the best-known form of both NV-RAM and
EEPROM
EEPROM (also called E2PROM) stands for electrically erasable programmable read-only memory and is a type of non-volatile memory used in computers, usually integrated in microcontrollers such as smart cards and remote keyless systems, or as a ...
memory is
flash memory
Flash memory is an electronic non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for the NOR and NAND logic gates. Both us ...
. Some drawbacks to flash memory include the requirement to write it in larger blocks than many computers can automatically address, and the relatively limited longevity of flash memory due to its finite number of write-erase cycles (as of January 2010 most consumer flash products can withstand only around 100,000 rewrites before memory begins to deteriorate). Another drawback is the performance limitations preventing flash from matching the response times and, in some cases, the random addressability offered by traditional forms of RAM. 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. As of June 2018 these alternatives have not yet become mainstream.
Those who required real RAM-like performance and non-volatility typically have had to use conventional RAM devices and a battery backup. For example, IBM PC's and successors beginning with the
IBM PC AT used
nonvolatile BIOS memory, often called ''CMOS RAM'' or ''parameter RAM'', and this was a common solution in other early microcomputer systems like the original
Apple Macintosh, which used a small amount of memory powered by a battery for storing basic setup information like the selected boot volume. (The original IBM PC and PC XT instead used DIP switches to represent up to 24 bits of system configuration data; DIP or similar switches are another, primitive type of programmable ROM device that was widely used in the 1970s and 1980s for very small amounts of data—typically no more than 8 bytes.) Before industry standardization on the IBM PC architecture, some other microcomputer models used battery-backed RAM more extensively: for example, in the
TRS-80 Model 100/Tandy 102, all of the main memory (8 KB minimum, 32 KB maximum) is battery-backed SRAM. Also, in the 1990s many video game software cartridges (e.g. for consoles such as the
Sega Genesis
The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Syst ...
) included battery-backed RAM to retain saved games, high scores, and similar data. Also, some arcade video game cabinets contain CPU modules that include battery-backed RAM containing keys for on-the-fly game software decryption. Much larger battery backed memories are still used today as
caches for high-speed
databases that require a performance level newer NVRAM devices have not yet managed to meet.
Floating-gate MOSFET
A huge advance in NVRAM technology was the introduction of the
floating-gate MOSFET transistor, which led to the introduction of ''erasable programmable read-only memory'', or
EPROM. EPROM consists of a grid of transistors whose ''gate'' terminal (the "switch") is protected by a high-quality insulator. By "pushing" electrons onto the base with the application of higher-than-normal voltage, the electrons become trapped on the far side of the insulator, thereby permanently switching the transistor "on" ("1"). EPROM can be re-set to the "base state" (all "1"s or "0"s, depending on the design) by applying
ultraviolet light (UV). The UV
photons have enough energy to push the electrons through the insulator and return the base to a ground state. At that point the EPROM can be re-written from scratch.
An improvement on EPROM,
EEPROM
EEPROM (also called E2PROM) stands for electrically erasable programmable read-only memory and is a type of non-volatile memory used in computers, usually integrated in microcontrollers such as smart cards and remote keyless systems, or as a ...
, soon followed. The extra "E" stands for ''electrically'', referring to the ability to reset EEPROM using electricity instead of UV, making the devices much easier to use in practice. The bits are re-set with the application of even higher power through the other terminals of the transistor (''source'' and ''drain''). This high power pulse, in effect, sucks the electrons through the insulator, returning it to the ground state. This process has the disadvantage of mechanically degrading the chip, however, so memory systems based on floating-gate transistors in general have short write-lifetimes, on the order of 10
5 writes to any particular bit.
One approach to overcoming the rewrite count limitation is to have a standard
SRAM where each bit is backed up by an EEPROM bit. In normal operation the chip functions as a fast SRAM and in case of power failure the content is quickly transferred to the EEPROM part, from where it gets loaded back at the next power up. Such chips were called NOVRAMs by their manufacturers.
The basis of
flash memory
Flash memory is an electronic non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for the NOR and NAND logic gates. Both us ...
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.
Memory storage 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. Although fabrication limits are starting to come into play, new
"multi-bit" techniques appear to be able to double or quadruple the density even at existing linewidths.
Commercialized Alternatives
Flash and EEPROM's limited write-cycles are a serious problem for any real RAM-like role. In addition, 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.
Ferroelectric RAM
To date, the only such system to enter widespread production is
ferroelectric RAM, or F-RAM (sometimes referred to as FeRAM). F-RAM is a
random-access memory similar in construction to
DRAM
Dynamic random-access memory (dynamic RAM or DRAM) is a type of random-access semiconductor memory that stores each bit of data in a memory cell, usually consisting of a tiny capacitor and a transistor, both typically based on metal-oxid ...
but (instead of a
dielectric layer like in DRAM) contains a thin ferroelectric film of
lead zirconate titanate [], commonly referred to as PZT. The Zr/Ti atoms in the PZT change polarity in an electric field, thereby producing a binary switch. Unlike RAM devices, F-RAM retains its data memory when power is shut off or interrupted, due to the PZT crystal maintaining polarity. Due to this crystal structure and how it is influenced, F-RAM offers distinct properties from other nonvolatile memory options, including extremely high endurance (exceeding 10
16 access cycles for 3.3 V devices), ultra low power consumption (since F-RAM does not require a charge pump like other non-volatile memories), single-cycle write speeds, and gamma radiation tolerance.
Ramtron International has developed, produced, and licensed
ferroelectric RAM (F-RAM), and other companies that have licensed and produced F-RAM technology include
Texas Instruments,
Rohm, and
Fujitsu
is a Japanese multinational information and communications technology equipment and services corporation, established in 1935 and headquartered in Tokyo. Fujitsu is the world's sixth-largest IT services provider by annual revenue, and the la ...
.
Magnetoresistive RAM
Another approach to see major development effort is
magnetoresistive random-access memory, or MRAM, which uses magnetic elements and in general operates in a fashion similar to core, at least for the first-generation technology. Only one MRAM chip has entered production to date:
Everspin Technologies' 4 Mbit part, which is a first-generation MRAM that utilizes cross-point field induced writing. Two second-generation techniques are currently in development:
Thermal Assisted Switching
Crocus Technology, founded in 2006, is a venture capital, venture-capital-backed semiconductor startup company developing magnetoresistive random-access memory (MRAM) technology. The company's products originated in a Grenoble-based Spintec labor ...
(TAS), which is being developed by
Crocus Technology, and
spin-transfer torque (STT) on which Crocus,
Hynix,
IBM, and several other companies are working. STT-MRAM appears to allow for much higher densities than those of the first generation, but is lagging behind flash for the same reasons as FeRAM – enormous competitive pressures in the flash market.
Phase-change RAM
Another solid-state technology to see more than purely experimental development is
Phase-change RAM, or PRAM. 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. Considered a "dark horse" for some time, in 2006
Samsung announced the availability of a 512 Mbit part, considerably higher capacity than either MRAM or FeRAM. The areal density of these parts appears to be even higher than modern flash devices, the lower overall storage being due to the lack of multi-bit encoding. This announcement was followed by one from
Intel and
STMicroelectronics
STMicroelectronics N.V. commonly referred as ST or STMicro is a Dutch multinational corporation and technology company of French-Italian origin headquartered in Plan-les-Ouates near Geneva, Switzerland and listed on the French stock market. ST ...
, who demonstrated their own PRAM devices at the 2006
Intel Developer Forum in October.
Intel and
Micron Technology
Micron Technology, Inc. is an American producer of computer memory and computer data storage including dynamic random-access memory, flash memory, and USB flash drives. It is headquartered in Boise, Idaho. Its consumer products, including ...
had a joint venture to sell PRAM devices under the names
3D XPoint
3D XPoint (pronounced ''three-D cross point'') is a discontinued non-volatile memory (NVM) technology developed jointly by Intel and Micron Technology. It was announced in July 2015 and is available on the open market under the brand name Optane ...
, Optane and QuantX, which was discontinued in July 2022.
STMicroelectronics
STMicroelectronics N.V. commonly referred as ST or STMicro is a Dutch multinational corporation and technology company of French-Italian origin headquartered in Plan-les-Ouates near Geneva, Switzerland and listed on the French stock market. ST ...
manufactures phase-change memory devices for automotive applications.
Researched Alternatives
Millipede memory
Perhaps one of the more innovative solutions is
millipede memory, developed by
IBM. Millipede is, in essence, a
punched card rendered using
nanotechnology
Nanotechnology, also shortened to nanotech, is the use of matter on an atomic, molecular, and supramolecular scale for industrial purposes. The earliest, widespread description of nanotechnology referred to the particular technological goal o ...
in 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/in² (≈155 Gbit/cm
2), greater than even the best
hard drive technologies currently in use (
perpendicular recording offers 636 Gbit/in² (≈98.6 Gbit/cm
2) as of Dec. 2011
), but future
heat-assisted magnetic recording and
patterned media together could support densities of 10 Tbit/in²
(≈1.55 Tbit/cm
2). 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.
FeFET memory
An alternative application of (hafnium oxide based)
ferroelectrics is
Fe FET based memory, which utilises a ferroelectric between the gate and device of a
field-effect transistor. Such devices are claimed to have the advantage that they utilise the same technology as
HKMG (high-L metal gate) based lithography, and scale to the same size as a conventional FET at a given
process node. As of 2017 32Mbit devices have been demonstrated at
22 nm
The 22 nm node is the process step following 32 nm in CMOS MOSFET semiconductor device fabrication. The typical half-pitch (i.e., half the distance between identical features in an array) for a memory cell using the process is around 22 nm. ...
.
See also
*
NOVA (filesystem)
*
Spin-transfer torque
*
Spintronics
*
UEFI
References
External links
Supporting filesystems in persistent memory LWN.net, September 2, 2014, by Jonathan Corbet
{{DEFAULTSORT:Non-Volatile Random-Access Memory
Non-volatile memory
Computer memory