DRAM, SRAM, Flash & Emerging Memories | Lecture 24: Memory Design
Overview
Memory design balances reliable storage and access against speed, power, and density across volatile SRAM and DRAM, non-volatile flash and STT-MRAM, and cross-point arrays. The lecture explains array decoding, 1T and 3T DRAM operation, 6T SRAM read/write trade-offs and process variation, floating-gate and magnetic storage, and how selectors mitigate sneak-path current.
Key takeaways
- A 1T1C DRAM cell achieves high density by storing data as capacitor charge, but its read is destructive and leakage requires periodic refresh, described here on microsecond timescales.
- A 3T DRAM adds a separate read path so the read bit line can discharge without directly disturbing the storage capacitor, trading a larger cell for non-destructive reading.
- The 6T SRAM access transistor must be weak enough to protect the stored 0 during a read but strong enough to overwrite the cell during a write, creating a fundamental sizing conflict.
- Flash stores data as charge trapped on an isolated floating gate; that charge shifts transistor threshold voltage, allowing the state to be detected through channel current.
- STT-MRAM stores bits in the relative magnetization of an MTJ’s pinned and free layers: parallel alignment gives low resistance and antiparallel alignment gives high resistance.
- Cross-point arrays reduce selection wiring by using intersecting metal lines, but half-selected cells create sneak paths; threshold selectors suppress current at partial bias.
Chapters
- Core rope memory used magnetic fields to store binary data and held about 72 kilobits, a tiny capacity by modern standards.
- A single bit error can change meaning: the example contrasts the encoded words “cat” and “bat,” which differ by one bit.
- Memory circuits must reliably write, retain, and read each bit.
- Read-only memories such as mask-programmed ROM are fixed after fabrication or programming.
- Non-random-access structures include FIFOs and shift registers, where access follows an order or procedure.
- Random-access memories permit selection of individual locations; SRAM and DRAM are the primary volatile examples.
- Flash and other non-volatile memories retain data after power is removed.
- Regular arrays assign cells row and column addresses, with rows commonly organized as words.
- A row decoder converts a compact binary address into a selected word line; for example, 4 address bits select 1 of 16 rows.
- Column decoders select bit lines, while sense amplifiers detect stored values during reads.
- Large arrays are divided into blocks because interconnect resistance causes voltage drops across long word and bit lines.
- A distant cell may receive less read or write voltage than a nearby cell, risking access or programming failure.
- A block address selects a smaller array, then row and column decoders select the target cell.
- SRAM uses more transistors per bit but offers very fast access and is used for temporary storage such as processor caches.
- DRAM uses a compact cell, typically one transistor and one capacitor, enabling higher storage density but requiring refresh.
- Both SRAM and DRAM are volatile: their data depends on continued power, and DRAM also loses charge through leakage.
- A 1T1C DRAM cell stores a bit as charge on a capacitor, with charged and discharged states representing binary values.
- The word line controls an NMOS access transistor connecting the capacitor to the bit line.
- To write, drive the bit line high or low and activate the word line to charge or discharge the capacitor.
- Before a read, the bit line is biased near half of VDD; activating the word line connects it to the storage capacitor.
- Charge sharing nudges the bit-line voltage above or below VDD/2 depending on the stored bit.
- A sense amplifier compares the small voltage change with a reference near VDD/2 and resolves it as a 0 or 1.
- The read disturbs the capacitor charge, making the standard 1T1C DRAM read destructive.
- For a write, the bit line is set before the word line activates, and the capacitor follows the bit-line level.
- An NMOS access transistor passes a strong 0 but may only raise the storage node to approximately VDD minus its threshold voltage.
- During a read, charge sharing changes both the bit-line voltage and the capacitor voltage, allowing the sense amplifier to detect the bit.
- Off-state transistor leakage gradually drains the 1T1C cell capacitor, eventually corrupting stored data.
- Refresh restores each value by reading the cell and writing the sensed value back.
- The lecture describes refresh intervals on the order of microseconds, compared with processor operations on nanosecond timescales.
- The 3T DRAM cell retains a storage capacitor and write transistor but adds a separate read path.
- A stored high level turns on a read transistor, allowing the read bit line to discharge; a stored low leaves it largely unchanged.
- Because reading does not drain the storage node through the read bit line, the read is non-destructive.
- Additional transistor area is the trade-off for the separate read path and added storage-node gate capacitance.
- Four transistors form two cross-coupled inverters that hold complementary values at Q and Q-bar.
- Two NMOS access transistors connect the storage nodes to complementary bit lines when the shared word line is activated.
- Unlike capacitor-based DRAM, the SRAM cell maintains its state through powered feedback, so it loses data when supply power is removed.
- Both SRAM bit lines are precharged to VDD and then left undriven before the selected word line turns on.
- The branch connected to the stored 0 discharges its bit line through the access and pull-down transistors.
- A differential sense amplifier compares the two bit-line voltages, avoiding a separately generated reference.
- Precharging is not the same as actively driving a bit line: during a read, the line must be allowed to respond to the cell.
- During a read, the precharged bit line can raise the storage node holding 0 through the access transistor.
- The cross-coupled inverter restores the node after access ends, provided the voltage rise stays below the inverter switching threshold.
- Cell ratio, commonly expressed as the pull-down transistor width divided by access-transistor width, improves read stability when increased.
- A stronger pull-down device or weaker access device limits the read-induced rise, but transistor sizing must account for other operations.
- To write, drive complementary bit lines to the desired values and activate the word line, forcing the storage nodes to switch.
- Writeability depends on overcoming the cell’s feedback, including contention between a pull-up PMOS and the access transistor.
- A lower pull-up ratio, achieved by strengthening the access transistor relative to the pull-up device, makes it easier to write a new value.
- Design metrics include hold stability, read stability, writeability, access time, read time, leakage, cell area, and read/write power.
- Hold stability measures whether the cross-coupled inverters retain data while the word line is off.
- The inverters still require VDD during hold, so SRAM is volatile despite its static feedback storage.
- Read stability favors a relatively weak access transistor and strong pull-down transistor.
- Writeability favors a strong access transistor that can overpower the cell’s pull-up device.
- Because the same fabricated transistor sizes serve both operations, designers must balance competing requirements rather than optimize each independently.
- Larger devices can improve access or stability but raise cell area and leakage.
- A 5T cell removes one access transistor to reduce area, but single-ended sensing requires a separate reference.
- 8T and 10T cells add circuitry that decouples read and write paths, helping address 6T sizing conflicts at the cost of area.
- The 6T cell remains a common compromise between density and functionality; 8T or 10T structures can suit applications needing more robust reads.
- Fabricated transistors vary in parameters such as threshold voltage, producing distributions rather than identical devices.
- Inter-die variation is global across dies, while intra-die variation is local among cells and transistors within a die.
- High threshold voltage weakens transistors and can impair access and write operations; low threshold voltage can make access too strong and threaten read or hold stability.
- SRAM designs need margins that tolerate both high-VT and low-VT failure corners.
- Non-volatile memories retain data without continuous power, unlike SRAM and DRAM.
- Flash, phase-change memory, resistive RAM, and magnetic RAM represent different approaches to persistent storage.
- The lecture compares memory technologies by write time and endurance, noting SRAM’s very high speed and endurance alongside its volatility.
- Compact cell footprints, including a 4F² target for some emerging arrays, support higher integration density.
- A flash cell adds an electrically isolated floating gate to a transistor, where trapped electrons represent one of two states.
- A high programming voltage can inject electrons onto the floating gate; an opposite-polarity voltage can remove them.
- Trapped charge shifts the transistor’s threshold voltage, so a read distinguishes the states by measuring channel current at a chosen gate voltage.
- Flash’s non-volatility makes it common in SSDs, smartphones, and USB storage.
- An STT-MRAM cell combines an access transistor with a magnetic tunnel junction, or MTJ.
- The MTJ has a pinned magnetic layer, a switchable free layer, and a tunnel barrier, commonly magnesium oxide.
- Parallel layer magnetization produces a low-resistance state; antiparallel magnetization produces a high-resistance state.
- A read voltage produces different currents in the two resistance states, which a sensing circuit can distinguish.
- Switching an MTJ between parallel and antiparallel states requires current in opposite directions.
- Spin-polarized electron flow transfers angular momentum to the free layer, changing its magnetization while the pinned layer remains fixed.
- The direction-dependent switching mechanism underlies STT-MRAM’s write operation; resistance is sensed to read the stored bit.
- STT-MRAM, also called magnetic RAM or MRAM, retains a read/write design conflict similar to the 6T SRAM trade-off.
- Optimizing the cell for read behavior can make writing harder, while favoring writes can compromise reads.
- Multi-port MRAM concepts use separate read and write paths to address this conflict.
- Cross-point arrays place memory elements at intersections of horizontal and vertical metal lines, potentially using MTJs, resistive RAM, or phase-change cells.
- To access a cell, apply an access voltage to one line and 0 V to the other, producing the full voltage across the selected cell.
- Cells sharing a selected row or column are half-selected and can experience partial voltage.
- In the V/2 scheme, half-selected cells receive approximately half the access voltage, while unselected cells ideally have 0 V across them.
- Half-selected cells can still carry sneak-path current even though they are not the target of the operation.
- In the V/3 scheme, voltage division biases unselected cells at roughly one-third of the access voltage, creating additional potential leakage paths.
- A selector is placed in series with each memory element to limit current through half-selected and unselected cells.
- Diodes and threshold-switching materials, including vanadium dioxide and niobium dioxide, are examples of selector approaches.
- A threshold selector conducts at the full selected-cell voltage but remains insulating at lower half-select voltages, reducing sneak-path current.
Transcript excerpt
0:00 welcome back everyone so today we'll get started with the very last lecture for this course and like I said before uh this is one of my most favorite topic topics uh this is on memory design okay and we will we will uh learn about a few mainstream memories and uh towards the end of this uh lecture we will talk about some emerging memory Technologies which are you know very Cutting Edge I should say so without further Ado let's get started uh the first slide will uh will give you some idea uh about the uh seriousness or delicacy of uh data storage in modern day Electronics uh so on the left you see a memory device this was known as core
0:49 rope memory uh I mean I hope you can easily see that they essentially look like ropes um you know bundled together right that that's exactly how this memories used to be made and by using these structures you were able to store magnetic memory beats like zero and one these are binary datas but you could store them using uh magnetic fields this particular memory device was used in the appion which took us to the Moon okay and the storage capability of this memory technology was 72 kilobits and kilobytes and if you think about it nowadays uh you wouldn't be even even able to store a single image within that much uh storage right so we are living in a data driven world we are
1:39 living in a in an age where Digital Data is being created in an unprecedented proportion so the importance for memory devices memory devices were always important but the importance of memory devices have drastically increased within this decade and and the previous one within the last 20 years uh there
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, NorDIC Lab.