Lecture 4 DRAM Part 2
Overview
DRAM operation depends on differential sensing and periodic refresh: a read restores cell charge, but mismatch, leakage, and disturbance can erode the sensing margin. The lecture explains sense-amplifier offset cancellation, the 64 ms refresh standard and Rowhammer risk, then compares capacitor and array layouts, including trench versus stacked capacitors and 8F², 6F², and prospective 4F² cells.
Key takeaways
- DRAM refresh is implemented as a row read because the sense amplifier automatically restores the sensed data; a 64 ms refresh window for 16K rows gives about 4 μs between row operations.
- Sense-amplifier offset can overwhelm the small initial bitline differential, so offset-cancellation circuits use diode-connected transistors to create a compensating shift before full sensing.
- Stored 1s generally have worse retention than stored 0s because they experience reverse-biased junction leakage as well as GIDL and subthreshold leakage in the access transistor.
- Rowhammer exploits repeated aggressor-row activation to disturb neighboring rows; some measured chips show flips after roughly 10,000 to 100,000 activations, motivating controller-side activation counters.
- Open-bitline arrays improve density by sourcing the reference from a neighboring mat, but their sense amplifiers are more exposed to noise differences between the two mats.
- Maintaining DRAM storage capacitance as cells shrink requires taller three-dimensional capacitors and high-k dielectrics; zirconium-oxide-based materials can provide a relative permittivity near 40.
Chapters
- Precharge the true and complementary bitlines to approximately half of VDD before activating a wordline.
- Wordline activation shares charge between the cell capacitor and bitline, producing a positive or negative ΔV for stored 1 or 0.
- The sense amplifier resolves the differential and restores the cell charge; with the row still open, new data can be written before precharging again.
- Process variation creates mismatch between sense-amplifier branches, potentially biasing decisions toward 1 or 0.
- A reverse-engineered commercial DRAM design adds four transistors, including diode-connected devices, to compensate for threshold-voltage mismatch.
- For a 50 mV NMOS threshold mismatch, an initial small bitline shift compensates the offset before the normal, larger sensing differential develops.
- A DRAM capacitor leaks charge over time, so cells must be refreshed to preserve their data.
- Retention times vary across billions of cells; the weakest tail cells determine the safe refresh interval.
- The widely used JEDEC refresh interval is 64 ms, and a read refreshes a row because sensing automatically writes the resolved value back.
- A refresh sequence advances row by row and returns to the first row within the 64 ms retention window.
- For 16K rows, the interval between row refreshes is about 4 μs; a 40 ns refresh occupies roughly 1% of that bank's time.
- The controller must defer normal requests to a row during its refresh and schedule banks carefully to avoid system-wide stalls.
- Stored charge can escape through reverse-biased source/drain PN junctions, subthreshold current in the access transistor, and gate-induced drain leakage.
- The storage capacitor itself can also leak, although high-k dielectrics make this component more manageable.
- These currents reduce the cell's stored voltage before its next read, weakening the signal available to the sense amplifier.
- The lecture's sensing-margin equation subtracts the leakage-induced voltage loss from the ideal charge-sharing signal.
- Over a refresh interval, leakage removes charge ΔQ; the corresponding cell-voltage drop is ΔQ divided by storage capacitance CS.
- A stored 1 therefore begins its next sensing operation below its ideal VDD level, reducing the differential available to resolve the data.
- Gate-induced drain leakage occurs when the access transistor's gate is negative relative to its high-voltage drain.
- The negative gate bends the silicon bands until band-to-band tunneling can generate electron-hole pairs near the drain.
- The generated carriers create leakage current, which increases as the negative gate bias strengthens; the effect appears on the negative-gate side of an ID-VG curve.
- During retention, the wordline is held at zero or below, while bitlines typically remain near VDD/2.
- For a stored 1, the access transistor can experience negative gate-to-drain bias and nonzero drain-to-source bias, enabling GIDL and subthreshold leakage.
- A stored 0 has less reverse bias across the relevant PN junction, so its total leakage is generally lower than that of a stored 1.
- When a neighboring row is activated, capacitive coupling can disturb the wordline voltage of a cell that should be retaining data.
- Even a modest gate-voltage disturbance can exponentially increase access-transistor leakage and shorten the victim cell's retention time.
- Refresh timing must include margin for repeated accesses to adjacent cells, not just static leakage under idle conditions.
- Repeatedly activating an aggressor row can flip data in adjacent victim rows; commercial-chip measurements show errors after roughly 10,000 to 100,000 activations in some cases.
- Possible mechanisms include charge movement through shared substrate regions and charge trapping near the repeatedly activated wordline.
- A memory controller can track row activations with counters and limit or block requests once a threshold is reached.
- Refresh consumes bank time that could otherwise serve normal memory requests, with the lecture's example estimating about 1% overhead per mat.
- As DRAM capacity grows, refresh can consume several percent of operating time.
- Each refresh also uses power to preserve data rather than fulfill a new request.
- Older trench-capacitor DRAM buried a three-dimensional capacitor in the silicon substrate; a 70 nm generation example had an aspect ratio near 90:1.
- Stacked-capacitor DRAM builds the transistor first and places the capacitor above it, reversing the trench process sequence.
- Stacked capacitors enable a more compact 6F² layout and make it easier to adopt high-k capacitor dielectrics.
- Bitline length is constrained by bitline capacitance and sensing margin, while wordline length is constrained by RC delay, which scales approximately with length squared.
- Folded-bitline arrays obtain the complementary reference from a staggered neighboring cell, but leave unused layout space and typically require 8F² per cell.
- Open-bitline arrays place the sense amplifier between adjacent mats and borrow the reference from the inactive mat, improving density but increasing sensitivity to differences in noise between mats.
- Folded-bitline layouts use staggered cells and shared bit contacts; the empty regions in the pattern account for the 8F² cell footprint.
- Mainstream 6F² designs angle the access transistor to provide room for a vertically standing capacitor and its bitline contact.
- A future 4F² layout can use a vertical-channel transistor beneath the capacitor and wiring, reducing the cell footprint to 2F by 2F.
- Design priorities include maximizing the sensing signal by preserving CS and reducing bitline capacitance CB, while controlling leakage and refresh overhead.
- For a cylindrical capacitor, capacitance scales approximately as dielectric permittivity times perimeter times height, divided by dielectric thickness.
- As cell dimensions shrink, designers compensate with taller capacitors, thinner dielectrics, and higher-k materials; zirconium-oxide-based dielectrics can reach a relative permittivity near 40 versus about 4 for silicon dioxide.
- The lecture gives a present-day storage capacitance of roughly 5 fF per cell.
Transcript excerpt
0:04 So today we will continue our discussions on the D runs operation just a quick recap. So we discussed about the timing diagram of the DM operation here. So here this includes the full rate and then right cycle and then here are some timing definitions uh you may find in the data sheets of the dan technology and uh we will not repeat uh what we discussed in the last lecture but I will just show you the animation if you look at the following slides. So here we are going to show you the stepby-step operation. So for example here uh before you read then always right here then the
0:55 here's the three transistors is equalizer. So you're going to pre-charge bit and bit bar. So we will talk about where the bit bar come from in today's lecture. But there's a bit bar or in this case we call the bit true and bit complimentary. So you will see the b and bc. So here those will be half VD and then after that then we will close this equalizer and then make it ready to turn on the ver line. So here then the word line is turned on. You see here the ver is turned on. So this is the charge sharing uh phase as we discussed earlier and then the delta v will be developed
1:44 uh by the charge sharing process. If you store one then the delta v will be positive. If you store zero then the delta v will be negative. Right? So here we will have this uh delta v on the bit and then the bit time bar will be uh constant at halfway dd right and then after that then we will uh you know enable the sense amp. So here those two
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Shimeng Yu.