Step 1 of 3  ·  PCM basics  ·  PCM home  ·  Next: how a weight gets written into a cell →

PCM vs ReRAM

If you have done the ReRAM lessons, you already know a cell whose conductance is a stored weight. A phase-change memory (PCM) cell does the same job with different physics. A ReRAM cell is pushed around by an electric field that moves ions and builds or dissolves a filament, so SET and RESET are opposite-polarity pulses. A PCM cell is changed by heat: a short, strong pulse melts a tiny region into a glass-like state that blocks current, and a longer, gentler pulse lets it crystallize again. Both keep their value with the power off, but PCM’s value drifts, its RESET is abrupt, and it needs far more current to write. This page puts the two cells side by side before you meet the PCM array. New to ReRAM? Do its Step 1 first.

What a PCM cell is

A thin layer of a chalcogenide alloy, for example germanium-antimony-tellurium (Ge₂Sb₂Te₅, called GST), sits on top of a small metal heater. The alloy has two solid phases. In the crystalline phase the atoms are lined up and the material conducts well (low resistance, LRS). In the amorphous phase the atoms are jumbled like glass and it conducts poorly (high resistance, HRS). A RESET pulse is short and strong: it melts a small dome of alloy over the heater, and the dome cools so fast that the atoms freeze in disorder. A SET pulse is longer and gentler: it holds the dome hot, but below the melting point, long enough for the atoms to line up again. A read at low voltage does not heat the cell enough to change anything, so within that read range it behaves like a resistor with whatever value was last written. That is the assumption behind the crossbar math in the simulator.

Think of sugar

Melt sugar and cool it fast and you get clear glass (candy). Keep it warm and it slowly turns into crystals (rock candy). A PCM cell does the same with a blob of alloy about a hundred nanometres across, using heat from an electrical pulse instead of a stove. Glass blocks current, crystal passes it.

Think of a dimmer

A ReRAM cell is a dimmer you can push up with a positive pulse and pull down with a negative one, in small steps either way. A PCM cell is a dimmer where turning it up is gentle (small SET pulses, one step at a time), but turning it down means one big pulse that switches it fully off, and then you climb again. Both stay where you left them with the house power cut, but the PCM one fades a little with time.

Why computing cares

Conductance is the weight. Voltage is the input. Ohm's law (I = V·G) does the multiply, and the wire does the add. The weight is the physical state of the device, so it never has to be fetched. The catch: the state is set by heat, so writing is slow and costly, and the stored conductance drifts.

Why it is called PCM, and two ways to use the cell

Why “PCM”?

PCM means phase-change memory, also written PRAM or PCRAM (phase-change RAM). Phase change: the value is stored in which solid phase a small region of the alloy is in, not as charge on a capacitor or a floating gate. The two phases differ in resistance by a factor of 100 or more.

It is also non-volatile: the phase stays when the power is off.

As a memory cell (RAM)

Use two states. The amorphous state (HRS) stands for one bit value and the crystalline state (LRS) for the other. Which is 0 and which is 1 is a convention.

Write: a RESET or SET pulse. Read: apply a small voltage, well below the voltage that would start to heat the cell, and compare the current with a reference.

Only the gap between the two states matters, so a fair amount of variation is tolerable. Drift slowly widens the gap, which is harmless for a bit.

As a neural-network cell

A neural-network layer is a set of weighted sums: each output adds up the inputs multiplied by weights, then applies a simple nonlinear step.

Here the cell stores a weight, not a bit, and its conductance is set to one of many levels between the two extremes. Drive the rows with input voltages. Each cell gives I = V·G and each bit line adds the currents, so the whole sum is one read. The nonlinear step happens outside the array. This is the crossbar of Steps 2 and 3. IBM Research has built chips that work this way (see Le Gallo et al. under Further reading).

Same device, different demands. As memory, one row is read at a time and only the gap between two states matters. As weights, every row is driven at once and the accuracy of every conductance matters, so variation, drift and write precision become the main problems. Drift is the one that sets PCM apart. That is why Step 2 is about writing a weight precisely.

About the material: Ge₂Sb₂Te₅ (GST)

Why this alloy? GST sits on the line between germanium telluride and antimony telluride and is the best-known phase-change material. It crystallizes in tens of nanoseconds, which is what makes a nanosecond-scale SET pulse possible, and both phases are stable for years at room temperature. The same family of alloys is used in rewritable optical discs, where a laser does the heating (see Wuttig and Yamada under Further reading).

What the heater does. The pulse does not move ions the way it does in ReRAM. It pushes current through a narrow heater, and Joule heating warms the alloy right above it. That is why the cell in section 1 is drawn as a mushroom: a wide layer of alloy with a small heater contact below it, and an amorphous dome growing from the heater tip.

Two temperatures matter. The crystallization temperature (roughly 150 to 200 °C in GST) is where the atoms become mobile enough to line up. The melting point (about 600 °C) is where the crystal turns to liquid. A SET pulse aims for the range between them. A RESET pulse aims above the melting point and then cools the liquid in a few nanoseconds, too fast for crystals to form.

Threshold switching. A fresh amorphous cell barely conducts at low voltage, yet above a threshold voltage (Vth) it suddenly snaps into a conductive state, with no phase change yet. That is what lets enough current flow to heat the dome in the first place. Section 3 shows it.

The simulator is generic. Its numbers, such as the 0.5 to 50 µS range, the temperatures and the pulse lengths, are illustrative and not measured on a specific device.

1. Write a cell

Both cells below start in a high-resistance state. Send the same pulses to both: the page sends your SET to the ReRAM cell as a positive pulse and your RESET as a negative one, because that is how ReRAM works. Watch how each reacts to the same amplitude. Then try cutting the power, and letting time pass.

Is a SET pulse the same as a RESET pulse? No, but not because of polarity. In PCM the heat does the work, so both pulses have the same polarity (the cell is unipolar) and go through the same heater. They differ in amplitude, width and trailing edge. The graph below the two cells shows the temperature each pulse gives the dome. Peak below the crystallization temperature: nothing happens. Peak between the two temperatures: the dome crystallizes (SET). Peak above the melting point and a sharp trailing edge: the dome re-forms as glass (RESET).

PCM cell (mushroom type)

ReRAM cell (filament type)

Opposite pictures, same electrical result. In PCM the thing that grows is the amorphous dome, which blocks current, so SET shrinks it (G goes up) and RESET grows it (G goes down). In ReRAM the thing that grows is the filament, which carries current, so SET grows it (G goes up) and RESET dissolves it (G goes down). Dome growth and filament growth are inverse, but SET raises conductance in both cells and RESET lowers it in both.

Temperature of the dome during a pulse

SET pulse: heat, but do not melt

1.30 V
50 ns

RESET pulse: melt, then quench

3.10 V
20 ns
0.20 V

SET and RESET side by side

SETRESET
Polarity across the cellSame as RESETSame as SET (unipolar)
Pulse shapeModerate amplitude, longer (tens to hundreds of ns)Higher amplitude, shorter (a few to tens of ns)
Peak temperatureBetween the crystallization temperature and the melting pointAbove the melting point
Trailing edgeNot criticalMust be sharp, so the melt freezes before crystals can grow
What happensAtoms line up: the amorphous dome shrinks, crystal grows in from its edgeThe region over the heater melts and freezes as glass: the dome re-forms
ResistanceFalls (G rises), a bit more with every pulseRises (G falls), most of the way in a single pulse
Current neededModerateThe largest current in the cell, which sets the size of the access transistor
What sets the levelAmplitude, width, number of pulsesMostly amplitude: just above the melting point gives a small dome, higher gives a bigger one

Same amplitude, different physics. The ReRAM cell ignores pulse width and trailing edge in this model: only the amplitude and the polarity matter, and it starts to switch above 0.8 V. Send a big SET pulse (above about 2.5 V) to both cells. The ReRAM filament simply grows more. The PCM dome melts, and the cell ends up more amorphous, as if it had been RESET. The SET and RESET graph above is drawn live from the sliders. Pulses that stay below the crystallization temperature do nothing. Reading above about 1 V starts to heat the cell, which is called read disturb. A slow trailing edge on a melting pulse lets the melt crystallize, so a RESET-sized pulse can act as a SET. This is the usual unipolar picture (for example Ge₂Sb₂Te₅). The model is illustrative: the dome heats as T = 27 °C + 162 K per V² × V² × (1 − e−t/30 ns), crystal growth is fastest near 430 °C, and none of the numbers are fitted to a real device. The next section shows how single pulses add up to a weight and where the pulse is applied in an array.

2. Pulse by pulse, and where the pulse goes

A. Pulse by pulse: how a weight gets dialled in

One gentle SET pulse shrinks the amorphous dome only a little, so the conductance climbs in steps. Writing a weight means stopping on the right rung. But the ladder only works in one direction. RESET does not walk back down one rung at a time: the melt-quench rebuilds the whole dome in one go. To lower a weight you either RESET and climb again, or let a second cell take the other side of a differential pair. The simulator’s write loop therefore erases first, then sends SET pulses and reads the cell back after each one.

The dome shrinks in equal steps, but conductance changes by a constant factor per rung (×2.2 here), not a constant amount, because current has to pass through the glass and its resistance grows exponentially with its thickness. The last rung is therefore a big jump in G and the first rung is a tiny one. That non-linear ladder is why PCM weight levels are not evenly spaced in conductance. The long red curved arrow along the bottom is the RESET: it jumps from the fully crystalline end straight back to the fully amorphous end in one step, instead of walking down the rungs. The dashed box marks where the cell in section 1 is now.

B. Where the pulse is injected

The pulse always goes through the heater of the one cell you want to change, and what you get depends on its amplitude and width. In an array you reach that cell through the wires and, almost always, an access device. Choose the pulse type and how the cell is wired:

1.30 V

3. The I-V curve and threshold switching

A ReRAM cell draws a hysteresis loop through zero: sweep up past its SET voltage and the filament forms, so the current climbs smoothly and stays high on the way back, and a negative sweep past its RESET voltage flips it back (see the I-V loop in the ReRAM lesson). A PCM cell is different. It is unipolar, and its amorphous state conducts almost nothing until the voltage reaches a threshold voltage (Vth). Then the cell snaps into a conductive ON state and the current jumps by about two orders of magnitude (in a real circuit with a current limit, the voltage across the cell would also fall back towards the hold voltage). That current heats the dome. Slow voltage sweeps cool slowly, so the dome crystallizes on the way back and the cell ends up in the low-resistance state. Both axes are logarithmic because the PCM states differ by 100×. The shaded band is the read range. Only the positive half is drawn, so the green ReRAM trace shows just its SET half; its RESET half needs negative voltage.

0.00 V
2.0 V

Drag the slider yourself and notice that the order matters: the same voltage gives a very different current before and after the snap. Negative voltages behave the same way for PCM (the cell is unipolar), so only the positive half is drawn. Both cells start in their high-resistance states and receive the same voltage path. The pale lines show the two extreme states (the low-resistance and high-resistance branches) and the ON branch. The ON-state numbers are illustrative: a 5 kΩ series resistance, a 0.5 V offset and a 0.6 V hold voltage. Vth rises with the thickness of the dome (0.6 V + 0.7 V × amorphous fraction here, so a fully amorphous cell snaps at 1.3 V).

4. Why it is not perfect

Sixteen cells were written to each of five targets: ReRAM in its low- and high-resistance states, and PCM crystalline, mid-level and fully amorphous. Both technologies scatter (variation), but not in the same way. PCM scatter grows towards the amorphous end, its conductance drifts down as a power law (faster the more amorphous the cell), and after very many cycles some cells get stuck. ReRAM’s two states scatter about equally, relax slowly towards the middle, and lose their gap after many cycles. Move the sliders.

10.0%
1 s
1

Illustrative numbers, not measurements of a specific device. Drift follows G(t) = G(1 s) × (t / 1 s)−ν, with ν about 0.005 for crystalline cells and about 0.1 for fully amorphous ones, and ν itself varies from cell to cell. Hollow dots are PCM cells that wore out and stuck in the wrong state, which this model starts to do above about 108 cycles. The ReRAM rows use the same model as the ReRAM lesson: drift pulls both states towards the middle (by up to about a third), and the gap closes above about 106 cycles. Real endurance depends heavily on the material stack, so the ordering of the two technologies here is not a general ranking. The point is the shape of each effect, not the exact values.

5. PCM and ReRAM side by side

ReRAM cellPCM cell
What stores the valueA conductive filament of oxygen vacancies in a metal oxideThe phase of a small region of chalcogenide alloy: crystalline or amorphous
What changes itAn electric field that moves ionsHeat: Joule heating from the pulse current
Pulse polarityBipolar: SET is one polarity, RESET the oppositeUnipolar: SET and RESET have the same polarity and differ in amplitude, width and trailing edge
Writing up and downBoth directions can be gradual: more filament, less filamentGradual one way (SET crystallizes a bit per pulse), abrupt the other (RESET melts the whole dome at once)
Write current and energyLower: the field does the work, though a SET needs a current limitHighest: a RESET has to melt the alloy, which sets the size of the access transistor
Resistance window (in these models)About 20× (5 to 100 µS)About 100× (0.5 to 50 µS)
I-V curveHysteresis loop through zero, smooth rise when the filament formsThreshold switching: a snap to the ON state at Vth in the amorphous state
VariationDevice-to-device and cycle-to-cycle, similar in both statesNoticeable, and worse in the amorphous states
DriftMild relaxation towards the middle in this modelConductance drifts down as a power law of the time since the write, faster for amorphous states
WearThe window closes after many cyclesCells eventually stick in one state
TemperatureHeat speeds up filament relaxation, but heat is not the write mechanismHeat is the write mechanism, so a hot chip speeds up drift and can erase data
Half-select (V/2) writing in a passive gridCan work if V/2 stays below the switching thresholdUsually fails: V/2 of a RESET is hot enough to disturb neighbours, so each cell needs a transistor or selector
First useAn initial forming step creates the first filamentAn initial crystallization of the as-deposited film
AvailabilityNeeds a foundry with an RRAM oxide layer in the back-endNeeds a foundry with a chalcogenide layer in the back-end

Both are small, dense, non-volatile cells whose conductance can serve as a weight. The model numbers on this page are illustrative and the real ranking of the two depends on the device stack.

6. What you will meet in the simulator

Step 2 shows how a weight is written into a cell, and Step 3 is the crossbar simulator. Each difference above explains one of their controls, so here is a preview of what to look for.

The write panel

Erase (RESET), SET pulses, program-and-verify and the pulse-count map exist in the ReRAM simulator too. In PCM the climb is one-directional: RESET is abrupt, so the write loop erases to the amorphous state first and then climbs one SET pulse at a time. Step 2 walks through it.

The variation σ slider

The σ slider and the write-noise model represent PCM’s imprecision (section 4 above). In the ReRAM simulator one σ applies about equally to every level. In PCM it is larger for the amorphous end of the range.

Gmin and Gmax

They represent the amorphous and crystalline states, as the high- and low-resistance states do for ReRAM. The PCM window is wider (about 100× against 20× here), but it is not symmetric: the low end is the noisy and drifting one.

Weight levels

Both cells have to be written to one of several conductance levels in between their two extremes. Because PCM levels are evenly spaced in dome size but not in conductance (section 2A), the simulator has to decide how to map weights onto them. ReRAM levels are closer to evenly spaced in this model.

Time since write (drift)

This is a control the ReRAM simulator does not need, because ReRAM only relaxes slightly. After a PCM write, conductance falls as a power law, and the more amorphous the cell, the faster. The crossbar’s outputs will slide away from the ideal answer as time passes (section 4).

Read voltage

The read voltage is kept small (0.2 V by default) so that the cell stays well below its threshold voltage and below the temperature that would start to crystallize it, and the crossbar math holds (section 3).

Access device

The ReRAM crossbar can use a passive grid with the V/2 scheme. PCM cannot: a RESET at V puts V/2 across neighbours, which is hot enough to disturb them (section 2B). The array model needs a transistor or a selector in each cell.

Efficiency panel

The weights never move: they are the devices. That is where the energy saving over a digital multiply-accumulate comes from. But a PCM write is expensive (a RESET is tens of picojoules in this model), so the write cost is spread over how many times the weights are reused.

7. Check yourself

Why can the simulator treat each cell as a plain resistor when computing, as it does for ReRAM?

Because the read voltage is small. In that range the cell is far below its threshold voltage and the temperature stays well under the crystallization temperature, so the read does not change the phase and the I-V curve is close to linear. Each cell passes I = V·G with the G that was last written (allowing for drift).

A ReRAM cell is RESET with a negative pulse. Why does a PCM cell not need one?

PCM is changed by heat, and heat does not care about the sign of the current. A short, strong pulse melts the dome and freezes it as glass (RESET). A longer, gentler pulse of the same polarity crystallizes it (SET). In ReRAM the field moves ions, and the direction of the field decides whether the filament grows or dissolves, so the polarity has to flip.

Both cells keep their value for a week with the power off. Which one has changed more when you read it back, and why?

The PCM cell. Its amorphous glass slowly relaxes into a more stable structure, so its conductance falls as a power law of the time since the write, by more in the high-resistance states. The ReRAM filament relaxes much less in this model (a drift toward the middle, not a power-law collapse). For weights, that means a PCM array needs drift compensation (a global rescale, or knowing the age of each cell), whereas the ReRAM one mostly does not.

You power the chip off for a week and back on. What happens to the stored weights?

They are still there, because the phase is a physical structure and non-volatile. They have drifted, though: the amorphous parts of each cell have relaxed, so conductance has fallen, by more in the high-resistance states than in the low-resistance ones. A long-lived system may need to refresh the weights or rescale the outputs to compensate.

Why does RESET need a short, strong pulse and SET a longer, weaker one?

RESET has to melt the dome and then freeze it before crystals can form, so it needs a lot of heat and a quick cool-down. SET has to hold the dome in the range where atoms are mobile, but not molten, long enough for crystal to grow from its edge. Crystal growth takes tens of nanoseconds, so a pulse that is too short does not finish the job, and a SET pulse that is too strong melts the dome and becomes a RESET.

Why does the write loop erase first and then climb, instead of stepping a weight down with RESET pulses?

Melting is abrupt. Once the pulse is above the melting point, the whole region over the heater turns amorphous at once, so RESET gives a big jump in G, not a small step. SET pulses, on the other hand, crystallize a bit at a time and are easy to count. The write loop therefore starts from the fully amorphous state and climbs one SET pulse at a time, reading back after each one.

In a passive crossbar one cell is RESET with V. Why can the other cells on its row and column be disturbed?

They see V/2. With a RESET of about 3 V that is about 1.5 V, which is enough to heat them above the crystallization temperature, so the amorphous cells among them partly crystallize. The V/2 trick only works if V/2 is below what it takes to start heating, and a RESET needs far more than a ReRAM write. That is why PCM arrays use a transistor or a selector that blocks current below its own threshold. Try raising the amplitude in section 2 and watch the half-selected cells turn red.

Two cells are written to the same level, one an hour before the other. Do they read the same a year later? And right after the second write?

A year later, almost exactly the same: their ages are 1 year and 1 year minus an hour, and drift is a power law in age, G ∝ t−ν, so the ratio is about 1. Right after the second write they differ a lot: the first cell is an hour (3600 s) old and has already fallen by a factor of about 3600−ν, which is ×0.56 for ν = 0.07, while the new one has not drifted yet. Drift is fast early and slow late, so compensating it in an array needs to know how old each cell is, or a global scaling that is good enough on average.

Step 2 of 3

Ready to write a weight?

Now that a cell is a resistor you can program with heat, follow one weight from a number to a conductance: pick the cell, round to a level, erase to the amorphous state, then send SET pulses and read back until it is close enough. After that, the crossbar puts thousands of these cells in a grid.

Further reading

Everything on this page is a teaching model, so its numbers are illustrative and not fitted to a real device. Start with the PCM review by Wong et al. (2010). The last two entries are the ReRAM sources to read against it. These sources are for the real physics and data.

  1. Wong, H.-S. P., Raoux, S., Kim, S., Liang, J., Reifenberg, J. P., Rajendran, B., Asheghi, M. & Goodson, K. E. Phase change memory. Proceedings of the IEEE 98, 2201–2227 (2010). IEEE Xplore A review of the device physics, the materials, the scaling and the reliability of PCM, with a focus on memory use.
  2. Raoux, S. et al. Phase-change random access memory: a scalable technology. IBM Journal of Research and Development 52 (2008). IEEE Xplore Explains the mushroom cell, the SET and RESET operations and why the technology scales to small sizes.
  3. Wuttig, M. & Yamada, N. Phase-change materials for rewriteable data storage. Nature Materials 6, 824–832 (2007). doi:10.1038/nmat2009 Why some alloys switch between glass and crystal so quickly, and how the same materials are used in optical discs and in memory.
  4. Le Gallo, M. & Sebastian, A. An overview of phase-change memory device physics. Journal of Physics D: Applied Physics (2020). doi:10.1088/1361-6463/ab7794 A recent overview of threshold switching, crystallization, resistance drift and noise, written with in-memory computing in mind.
  5. Burr, G. W. et al. Experimental demonstration and tolerancing of a large-scale neural network (165,000 synapses) using phase-change memory as the synaptic weight element. IEEE Transactions on Electron Devices (2015). doi:10.1109/TED.2015.2439635 An early experiment that stored neural-network weights in a pair of PCM cells each, and what it took to tolerate their imperfections.
  6. Le Gallo, M. et al. A 64-core mixed-signal in-memory compute chip based on phase-change memory for deep neural network inference. Nature Electronics 6, 680–693 (2023). doi:10.1038/s41928-023-01010-1 A chip that does what the crossbar simulator in Step 3 models, built with PCM weights, and the drift and noise problems it had to handle.
  7. Wong, H.-S. P. et al. Metal–oxide RRAM. Proceedings of the IEEE 100, 1951–1970 (2012). doi:10.1109/JPROC.2012.2190369 A review of metal-oxide ReRAM: the switching mechanism, the materials and the electrical behaviour, with a focus on memory use.
  8. Waser, R. & Aono, M. Nanoionics-based resistive switching memories. Nature Materials 6, 833–840 (2007). doi:10.1038/nmat2023 A review of the physics behind resistive switching, where the movement of ions inside the material changes the cell’s resistance.

The full, grouped list will be at the end of the crossbar simulator. Links can change, so searching the title and DOI always works. Citation details were checked against publisher or index records on 2 November 2026; volume and page numbers are given only where the record showed them.