DRAM 64k 1979 on Chip Refresh Counter Automation
# Let the Chip Remember Which Row Comes Next, So the System Does Not Have To
## 1. State What Manual Row-Stepping Would Demand of the Host System
Step 4 established that a complete refresh needs exactly $R$ row-wide $\overline{RAS}$-only cycles, one per row, repeated often enough to stay ahead of $t_{ret}$. Nothing in that derivation says who decides *which* row address to present on each of those $R$ cycles. The naive answer — the host system presents row addresses $0,1,2,\ldots,R-1$ in sequence, driving the address pins itself for every refresh cycle — works, but it burdens the host with a bookkeeping task that has nothing to do with the data the host actually wants to store or retrieve: tracking a counter whose only job is cycling through row addresses on a schedule the DRAM's own retention physics dictates, not the host's own logic.
This is the kind of distributed-responsibility problem this project's earlier series have repeatedly resolved by moving the burden onto the device whose physics created it in the first place, rather than leaving it to an external system that has no natural reason to carry it. The 1979 generation's answer is an on-chip refresh counter: a small register, built into the DRAM itself, that increments automatically and supplies the next row address whenever a refresh-only cycle is requested — the host triggers a refresh cycle generically, without specifying which row, and the chip's own counter supplies the row address Step 4's schedule requires.
## 2. Measure the Actual Overhead Fraction This Schedule Consumes
Automating the counter removes the host's bookkeeping burden, but it does not remove the time $R$ refresh cycles actually take — Step 4's $T_{refresh,total}=R\times t_{RC}$ still has to fit somewhere within each retention interval $t_{ret}$. The fraction of total chip time this consumes is a direct ratio:
For representative 64K-generation values — $R=256$ rows, $t_{RC}$ on the order of a few hundred nanoseconds, and $t_{ret}$ in the low tens of milliseconds — $f_{overhead}$ comes out to a small single-digit percentage of total available time: real, non-zero, but small enough that the host system's useful access time is barely diminished, provided the refresh schedule is interleaved with normal accesses rather than forcing the whole array offline in one uninterrupted burst. This is exactly the quantified verification this project's established accounting discipline requires: Step 4 identified the tradeoff in principle, and this step confirms numerically that the chosen geometry and automated schedule keep that tradeoff's cost small relative to what it buys.
## 3. Place Automation in the Project's Pattern, and Preview the Series' Close
This step follows a pattern this project's earlier series have used whenever a repeated operational burden emerges from a device's own physics: move the responsibility onto the device itself rather than leaving it to the system around it. The 1968 series established that refresh is necessary at all; this series has now carried that necessity through addressing (Steps 1–2), shown it compounds across an entire row (Step 3), quantified the cycle count a given geometry demands (Step 4), and closes the mechanism here by automating the schedule so the host system experiences only a small, interleaved, mostly invisible overhead rather than an explicit bookkeeping task.
With this step, the series has fully specified the mechanism a 64K-generation DRAM actually needs to work in practice: multiplexed addressing with its RAS/CAS timing discipline, the row-wide activation that discipline rides on top of, the geometry-dependent refresh count that activation implies, and the on-chip automation that makes the resulting schedule invisible to the system using the chip. What remains is the step this project's established closing pattern calls for: separating what of this mechanism is permanent practice inherited by every later generation of DRAM from what was particular to 64K's specific pin count, row count, and timing numbers.