Exercises — Row - column addressing and sense amplifiers
This page is a self-test. Each problem states its difficulty level (L1 → L5). Try it first with the solution collapsed, then click to reveal. All the tools you need were built in the parent note: Row/Column Addressing and Sense Amplifiers.
Prerequisites you may want open: DRAM cell structure (1T1C), Address decoders and multiplexers, Memory banking and interleaving, CAS latency and memory timing.
L1 — Recognition
Problem 1 (L1)
A memory chip stores bits. How many address bits are needed to name every bit uniquely (before we split them into rows and columns)?
Recall Solution 1
We need the smallest number of binary digits that can name distinct locations. Since bits name things, we invert: address bits .
(because and ). What it means: 22 wires can pick 1 cell out of over 4 million.
Problem 2 (L1)
In a DRAM read, which wire is horizontal and turns on the access transistors of a whole row, and which is vertical and carries the data in/out? Name each and state which one the sense amplifier sits on.
Recall Solution 2
- Horizontal control wire that turns on a row = wordline (driven by the row decoder).
- Vertical data wire shared by a column = bitline.
- The sense amplifier sits at the bottom of each bitline, because that is where the tiny charge-sharing signal appears.
Quick check: wordline selects, bitline carries, sense amp senses on the bitline.
L2 — Application
Problem 3 (L2)
A square DRAM array holds bits. It multiplexes the row and column address onto the same pins (RAS then CAS). How many address pins does the chip expose?
Recall Solution 3
Square means . Each phase needs bits. Since RAS and CAS reuse the same pins, the pin count is one phase's worth: What it means: 12 physical pins, used twice, name million bits.
Problem 4 (L2)
Using the sense-signal formula, compute for a stored 1 with V, fF, fF.
Recall Solution 4
Stored 1 means V. Precharge reference is V. What it means: the bitline rises only ~45 mV — invisible to a logic gate, hence the latch must amplify it.
Problem 5 (L2)
For the same chip as Problem 4, what is when the cell stores a 0? What does the sign tell you?
Recall Solution 5
Stored 0 means . The negative sign means the bitline dips below the reference. The magnitude equals the stored-1 case — that symmetry is exactly why we precharge to mid-rail.
L3 — Analysis
Problem 6 (L3)
Take the midnight chip: V, fF. A sense amplifier can only reliably resolve a signal of magnitude mV. What is the largest bitline capacitance the design can tolerate for a stored 1?
Recall Solution 6
Stored 1 gives . Require V. Invert (flip inequality): , so , giving What it means: to guarantee a readable signal, the bitline (with all the cells hanging off it) must present at most 275 fF — which is why long bitlines get split into sub-arrays.
Read the figure below: the blue curve is falling as grows; the red dashed line is the 50 mV floor; the green dot is exactly where they cross, at fF. Any to the right of the yellow line drops the signal below the floor — an unreadable bit.

Problem 7 (L3)
A 1 Mbit array () can be built as (a) square , or (b) tall-and-thin , . For a multiplexed address bus, how many pins does each need, and which wins?
Recall Solution 7
Why the formula is . A multiplexed bus is a single set of physical wires reused in two phases: RAS carries the row address ( bits), then CAS carries the column address ( bits) on the same wires. A wire that exists in phase 1 also exists in phase 2 — you cannot have "half a wire" for the narrower phase. So the number of wires must be large enough to hold whichever phase is wider; a bus of wires can carry both, and anything smaller would drop bits of the wider phase. Hence pins .
- (a) Square: pins.
- (b) Tall-thin: pins.
The square array wins (10 pins vs 16). The maximum of two numbers with a fixed sum () is smallest when the two are equal — that is the mathematical reason square arrays are preferred for multiplexed addressing.
Problem 8 (L3)
A DRAM read is called destructive. Explain physically why, and state precisely which step of the sense amplifier's operation repairs it.
Recall Solution 8
Why destructive: activating the wordline connects the cell capacitor to the bitline . Charge redistributes so both settle to the same . The cell no longer holds its original — the stored value is physically gone. The repair: step 4 (Restore / refresh) of the four-step sequence defined at the top of this page. Once the cross-coupled latch drives the bitline to a full rail ( or ) and the access transistor is still on, the cell capacitor is recharged through it back to the full original value. Reading therefore rewrites. (Related idea: Memory refresh and retention time.)
L4 — Synthesis
Problem 9 (L4)
You must design a square, multiplexed DRAM. Requirements: capacity Mbit, and the sense signal for a stored 1 must be mV with V, fF, and a bitline capacitance that grows as . Find (a) the address-pin count and (b) verify the signal margin.
Recall Solution 9
(a) Capacity → geometry. Smallest square power-of-two array : take , so . Multiplexed pins:
(b) Signal check. Cells per bitline = number of rows = . So That is enormous vs fF. Signal for a stored 1: Verdict: FAILS (). The single monolithic bitline is far too long. Fix — split the array. Break the 8192 rows into sub-arrays of rows each, each with its own sense amps, so . Solve for the required : So sub-arrays (or, in practice, round to , a power of two) makes each bitline short enough. This is exactly the banking / sub-array idea in Memory banking and interleaving.
L5 — Mastery
Problem 10 (L5)
A designer proposes precharging bitlines to instead of . Using the same chip as Problem 4 ( V, fF, fF), compute the read signal for a stored 1 and a stored 0 under this scheme, compare with the mid-rail scheme, and argue quantitatively why mid-rail wins.
Recall Solution 10
With precharge to , the general signal is . Here .
Precharge to V:
- Stored 1: V. No signal at all — the sense amp cannot tell the bitline moved.
- Stored 0: V mV.
Precharge to V (mid-rail):
- Stored 1: mV.
- Stored 0: mV.
Why mid-rail wins (quantitatively):
- The -precharge scheme gives for a stored 1 — a guaranteed read failure for half the data.
- Mid-rail is symmetric: mV for 1 and 0. A differential sense amp comparing the bitline BL against its complement (both starting at ) sees the same-magnitude nudge either way, so one threshold works for both and the worst-case swing to resolve is halved ( mV vs the mV worst case above).
Conclusion: mid-rail precharge is the only choice that gives a nonzero, symmetric signal for both logic values — the foundation of differential sensing.
Recall One-line summary you should be able to recite
Addressing shrinks pins via ; square + multiplex halves them; charge sharing gives a tiny that only a mid-rail-precharged differential sense amp can resolve — and it rewrites the cell because the read destroyed it.