Modules 14 & 15 - RAM and Static Storage Elements, Dynamic Storage Elements
8.1.2: A 256-Mb Memory Chip
- A 256-Mb chip is separated into 8 32-Mb subarrays
- Memory address is selected by column and row address decoders
- Row decoders and wordline drivers bisect each 32Mb subarray
- Each 32-Mb subarray is further subdivided into 16 2-Mb sections, each with 16-blocks of 128Kb.
- The 128 Kb is the basic building block of this array.
There'sbits of row address, and bits of column address, giving -bit addresses with a total of possible addresses/storage locations. In the picture, the sense amplifiers help read and write the information of the selected memory cells.
When a row is selected, all 127 bits are all accessed in parallel for a word. These are wordlines and the data in vertical columns are called bitlines. The column address can extract each specific bit if needed.
8.4: Sense Amplifiers
8.7:
8.3: Dynamic Memory Cells
Power applied to static memory is required to refresh their memory/data from losing charge. But smaller memory cells can also be built, known as dynamic memory.
8.3.1: The One-Transistor Cell
This is a 1-T cell:
We have a
8.3.2: Data Storage in the 1-T Cell
A 0 is represented by
Storing a 0
In this case, the bitline is a 0, and the bitline terminal of the MOSFET acts as the source of the MOSFET. The gate is raised to
Storing a 1
In this case, the bitline is a 1, and the bitline terminal acts as a drain. If the gate gets raised to
- If there was previously a 1 then no current flows like in the previous case.
- If there was a 0, then
so then we have current from the left to the right, charging to some . Really, this charging is almost instant (dependent on ) so essentially it hits the desired vol
Because
Notice that:
Notice here body effect is good since it reduces
8.3.3: Reading Data from the 1-T Cell
We first precharge the bitline to a known voltage, usually
We get that:
after closing, the current equalizes the voltage across the two capacitors (no current will eventually flow, so no voltage drop over the MOSFET). Hence:
Thus:
The signal to be detected the change in the voltage on the bitline, so then:
Typically we have
so when we read (closing the switch), we'll accidentally destroy the data we had on there. Hence, we must write-back any data we read. The sense amplifier helps read the voltage change
8.4.2: A Sense Amplifier for the 1-T Cell
See the figure below for a simple sense-amplifier:
The stages are:
- Precharge Phase: