最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

NVRAM : Non-volatile random access memory 非易失性随机访问存储器【整理】

工作和技术 crifan 3153浏览 0评论

NVRAM最简单的中文解释,就是:

断电之后,所存储的信息不丢失的随机访问存储器。之所以这么说,是因为:

1.与此对应的随机访问存储器:SRAM和DRAM(其又分为SDRAM,DDR SDRAM,DDR2 SDRAM ,RDRAM,Direct RDRAM),断电之后信息就丢失了。

2.可以随机访问。因此有些解释中,说Flash是属于NVRAM,是不准确的。因为Flash严格意义上来说,有两种:nand flash和nor flash。nor属于随机访问,而nand不是真正的随机访问,属于顺序访问。

常见的NVRAM,有两种:

1.带有备用电源的SRAM

2.借助NVM(比如E2PROM)存储SRAM的信息并恢复来实现非易失性

注:摘自《Linux设备驱动开发详解》和网络,并整理如上。

下面是一些参考资料,感兴趣的自己看。

NVRAM

Abbreviation of Non-Volatile Random Access Memory, a type of memory that retains its contents when power is turned off. One type of NVRAM is SRAM that is made non-volatile by connecting it to a constant power source such as a battery. Another type of NVRAM uses EEPROM chips to save its contents when power is turned off. In this case, NVRAM is composed of a combination of SRAM and EEPROM chips.

What is NVRAM?

NVRAM is Non-Volatile Random Access Memory.

NVRAM differs from DRAM and SRAM in that NVRAM retains the contents of its memory when the power is turned off.

NVRAM is typically implemented using flash memory, although pseudo-NVRAM designs consisting of battery backed-up Static RAM have also been utilized.

Non-volatile random access memory

From Wikipedia, the free encyclopedia

   (Redirected from NVRAM)

Non-volatile random access memory (NVRAM) is the general name used to describe any type of random access memory which does not lose its information when power is turned off. This is in contrast to the most common forms of random access 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 memory types, the difference being that NVRAM devices offer random access, like hard disks.

The best-known form of NVRAM memory today is flash memory. Some claim flash memory 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.

Contents

[hide]

[edit] 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 solution, but had the disadvantage of being able to be written to only once, when the chip was initially designed. ROMs consist of a series of diodes permanently wired to return the required data, the diodes being built in this configuration when they are being fabricated.

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.

[edit] 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 EPROM. EPROM consists of a grid of transistors whose 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”). 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, 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 bit are re-set with the application of even higher power through the other terminals of the transistor (source and drain). This high power pulse basically 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 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. Areal 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.

[edit] 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 Ferroelectric RAM, or 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 Magnetoresistive Random Access Memory, or 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.

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 Mb 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, who demonstrated their own PRAM devices at the 2006 Intel Developer Forum in October. One of the most attended sessions in the IEDM December 2006 was the presentation by IBM of their PRAM technology.

Also seeing renewed interest is silicon-oxide-nitride-oxide-silicon (SONOS) memory.

Perhaps one of the more innovative solutions is millipede memory, developed by IBM. Millipede is essentially a punch card rendered using nanotechnology 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², 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.

A number of more esoteric devices have been proposed, including Nano-RAM based on carbon nanotube technology, but these are currently far from commercialization. The advantages that nanostructures such as quantum dots, carbon nanotubes and nanowires offer over their silicon-based predecessors include their tiny size, speed and their density. Several concepts of molecular-scale memory devices have been developed recently.

 

【后记】

别人推荐一个不错的介绍Diode的帖子,感兴趣的可以参考参考:

Diode: Definition, Symbol, and Types | Electrical4U

 

【后记20220321】

相关链接:

https://behavioralcollective.com/tools/best-practice-management-software/

 

转载请注明:在路上 » NVRAM : Non-volatile random access memory 非易失性随机访问存储器【整理】

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
87 queries in 0.188 seconds, using 22.18MB memory