ArticleslgStudy

computer science

Non-volatile memory

Non-volatile memory is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Non-volatile memory rather than just read about it. In short: Non-volatile memory (NVM) or non-volatile storage is a type of computer memory that can retain stored information even after power is removed. In contrast, volatile memory needs constant power in order to retain data.

Key takeaways

  • Non-volatile memory belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Non-volatile memory to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Non-volatile memory from memory before moving on to harder problems.

Reference excerpt

Non-volatile memory (NVM) or non-volatile storage is a type of computer memory that can retain stored information even after power is removed. In contrast, volatile memory needs constant power in order to retain data. Non-volatile memory typically refers to storage in memory chips, which store data in floating-gate memory cells consisting of floating-gate MOSFETs (metal–oxide–semiconductor field-effect transistors), including flash memory storage such as NAND flash and solid-state drives (SSD). Other examples of non-volatile memory include read-only memory (ROM), EPROM (erasable programmable ROM) and EEPROM (electrically erasable programmable ROM), ferroelectric RAM, most types of computer data storage devices (e.g. disk storage, hard disk drives, optical discs, floppy disks, and magnetic tape), and early computer storage methods such as punched tape and cards.

Overview Non-volatile memory is typically used for the task of secondary storage or long-term persistent storage. The most widely used form of primary storage today is a volatile form of random access memory (RAM), meaning that when the computer is shut down, anything contained in RAM is lost. However, most forms of non-volatile memory have limitations that make them unsuitable for use as primary storage. Typically, non-volatile memory costs more, provides lower performance, or has a limited lifetime compared to volatile random access memory. Non-volatile data storage can be categorized into electrically addressed systems, for example, flash memory, and read-only memory) and mechanically addressed systems (hard disks, optical discs, magnetic tape, holographic memory, and such). Generally speaking, electrically addressed systems are expensive, and have limited capacity, but are fast, whereas mechanically addressed systems cost less per bit, but are slower.

Electrically addressed

Electrically addressed semiconductor non-volatile memories can be categorized according to their write mechanism.

Read-only and read-mostly devices Mask ROMs are factory programmable only and typically used for large-volume products that are not required to be updated after the memory device is manufactured. Programmable read-only memory (PROM) can be altered once after the memory device is manufactured using a PROM programmer. Programming is often done before the device is installed in its target system, typically an embedded system. The programming is permanent, and further changes require the replacement of the device. Data is stored by physically altering (burning) storage sites in the device. An EPROM is an erasable ROM that can be changed more than once. However, writing new data to an EPROM requires a special programmer circuit. EPROMs have a quartz window that allows them to be erased with ultraviolet light, but the whole device is cleared at one time. A one-time programmable (OTP) device may be implemented using an EPROM chip without the quartz window; this is less costly to manufacture. An electrically erasable programmable read-only memory EEPROM uses voltage to erase memory. These erasable memory devices require a significant amount of time to erase data and write new data; they are not usually configured to be programmed by the processor of the target system. Data is stored using floating-gate transistors, which require special operating voltages to trap or release electric charge on an insulated control gate to store information.

Flash memory

Flash memory is a solid-state chip that maintains stored data without any external power source. It is a close relative of EEPROM; it differs in that erase operations must be done on a block basis, and its capacity is substantially larger than that of an EEPROM. Flash memory devices use two different technologies—NOR and NAND—to map data. NOR flash provides high-speed random access, reading and writing data in specific memory locations; it can retrieve as little as a single byte. NAND flash reads and writes sequentially at high speed, handling data in blocks. However, it is slower at reading when compared to NOR. NAND flash reads faster than it writes, quickly transferring whole pages of data. Less expensive than NOR flash at high densities, NAND technology offers higher capacity for the same-sized silicon.

Ferroelectric RAM (F-RAM)

Ferroelectric RAM (FeRAM, F-RAM or FRAM) is a form of random-access memory similar in construction to DRAM; both use a capacitor and transistor but instead of using a simple dielectric layer in the capacitor, an F-RAM cell contains a thin ferroelectric film of lead zirconate titanate [Pb(Zr,Ti)O3], commonly referred to as PZT. The Zr/Ti atoms in the PZT change polarity in an electric field, thereby producing a binary switch. Due to the PZT crystal maintaining polarity, F-RAM retains its data memory when power is shut off or interrupted. Due to this crystal structure and how it is influenced, F-RAM offers distinct properties from other nonvolatile memory options, including extremely high, although not infinite, endurance (exceeding 1016 read/write 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.

Magnetoresistive RAM (MRAM)

Magnetoresistive RAM stores data in magnetic storage elements called magnetic tunnel junctions (MTJs). The first generation of MRAM, such as Everspin Technologies' 4 Mbit, utilized field-induced writing. The second generation is developed mainly through two approaches: Thermal-assisted switching (TAS) which is being developed by Crocus Technology, and Spin-transfer torque (STT) which Crocus, Hynix, IBM, and several other companies are developing.

Phase-change memory (PCM)

Phase-change memory stores data in chalcogenide glass, which can reversibly change the phase between the amorphous and the crystalline state, accomplished by heating and cooling the glass. The crystalline state has low resistance, and the amorphous phase has high resistance, which allows currents to be switched ON and OFF to represent digital 1 and 0 states.

FeFET memory FeFET memory uses a transistor with ferroelectric material to permanently retain state.

RRAM memory

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Non-volatile memory

Start with the simplest possible case. Write down what Non-volatile memory claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Non-volatile memory before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Non-volatile memory ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Non-volatile memory

In research
Non-volatile memory appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Non-volatile memory in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Non-volatile memory is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer memory, Non-volatile memory, so understanding it makes those chapters shorter.
In everyday life
Look for Non-volatile memory outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Non-volatile memory” →

How to study Non-volatile memory in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Non-volatile memory means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Non-volatile memory out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Non-volatile memory in simple terms?

Non-volatile memory (NVM) or non-volatile storage is a type of computer memory that can retain stored information even after power is removed. In contrast, volatile memory needs constant power in order to retain data.

Why does Non-volatile memory matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Non-volatile memory?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Non-volatile memory.

Tags

  • Computer memory
  • Non-volatile memory

Keep exploring