DRAM & Memory Design · All levels
Rows, Columns, and Subarray Granularity: Worked Example
Worked Example for Rows, Columns, and Subarray Granularity.
Worked example
Worked Example for Rows, Columns, and Subarray Granularity focuses on Effective tRCD/tRAS/tRP versus bitline length, wordline length, and local row size per subarray.. The purpose is to turn memory observations into mechanism-backed actions with explicit owners and release-safe validation.
A field regression flags Effective tRCD/tRAS/tRP versus bitline length, wordline length, and local row size per subarray.. Proper triage locks environment tags, compares baseline vs failing traces, isolates first repeated loss transition, and validates one bounded mitigation before release.
This pattern prevents reactive tuning. The goal is to preserve both performance and reliability while avoiding hidden regressions that appear only at corner conditions.
System view
CONTROLLER QUEUE VIEW - Rows, Columns, and Subarray Granularity
read queue : [R12 bank0 row88] [R13 bank2 row88] [R14 bank0 row12]
write queue: [W44 bank3 row90] [W45 bank3 row90]
scheduler tick:
1) prioritize ready row hits
2) cap write-drain burst
3) age outstanding reads
issue stream:
cycle 40 -> RD bank0 row88 (hit)
cycle 41 -> RD bank2 row88 (parallel bank group)
cycle 42 -> ACT bank0 row12 (miss prepare)Subarray and row-buffer topology (Rows Columns And Subarrays)
BANK INTERNAL ORGANIZATION
Row decoder
|
+-------+----------------------------------------------------+
| BANK k |
| +-----------+ +-----------+ +-----------+ |
| | Subarray0 | | Subarray1 | | Subarray2 | ... |
| | WL x BL | | WL x BL | | WL x BL | |
| +-----+-----+ +-----+-----+ +-----+-----+ |
| | | | |
| [sense amps / local row buffer slices] |
| \ | / |
| +-- global row buffer --+ |
+-----------------------------------------------------------+
Longer WL/BL improves row size but raises RC delay, ACT energy, and sensing time.Capture baseline and failing command traces under fixed metadata.
Verify row-hit/miss mix, turnaround cadence, and refresh impact.
Collect Subarray sizing tradeoff sheet: row length, bitline RC, timing deltas, and die-area overhead..
Patch one bounded fix with explicit owner signoff.
Re-run closure matrix and choose ship/rollback.
DRAM deep dive
Cell-array and subarray organization determines bitline delay, sensing margin, and locality-sensitive energy cost.
Concept diagram
ARRAY ORGANIZATION VIEW
rows x columns -> mats/subarrays -> local sense amps -> global I/O
physical distance shapes timing and energyMetric graph
ARRAY ACCESS COST SHARE
bitline settle delay ██████
sense/restore time █████
global routing overhead ███Reports and artifacts
subarray toggle heatmap
sense-amplifier utilization report
bitline RC delay audit
wordline coupling checklist
Mini case study
A dense address remap increased long-bitline activations, creating extra tRCD guardband and persistent tail-latency drift.
Debug branches
Map hot addresses to mats and subarray boundaries
Inspect sense-margin behavior under temperature corners
Evaluate row-mapping changes before voltage retuning
Senior review question
Ask: which latency, bandwidth, and reliability evidence proves this DRAM topic is closed under real traffic?
Key takeaways
Always tie controller and PHY counter shifts to application latency and throughput outcomes.
Lock firmware timing profile, thermal condition, and DIMM state before comparing DRAM captures.
Common pitfalls
Chasing peak bandwidth while ignoring p99 latency and fairness tails.
Changing timing guardbands without separating SI noise from scheduling issues.
Declaring closure without reliability gates, fault injection, and regression replay.
Worked-example reasoning
Suppose Effective tRCD/tRAS/tRP versus bitline length, wordline length, and local row size per subarray. regresses on a production workload. A shallow response only tweaks timing or queue weights. A deeper response compares baseline and failing traces, then identifies the first repeated loss mechanism in A DRAM array is physically tiled into subarrays so each local wordline and bitline segment stays within a manageable RC envelope. Longer rows increase row-buffer capacity but lengthen wordline propagation and bitline loading, which increases ACTIVATE latency and sensing energy. Narrower subarrays improve local timing and noise margin but add peripheral overhead (local decoders, isolation devices, sense resources), reducing area efficiency. Column muxing then trades pin bandwidth and internal burst granularity against peripheral complexity. The final row/column partition is therefore not an abstract addressing choice; it is a first-order physical design knob that sets access latency, activation current profile, and manufacturability..
If command waste dominates, inspect row policy and turnaround cadence. If blocked cycles dominate, inspect refresh scheduling and QoS windows. If margin loss dominates, inspect lane shmoo and thermal drift.
Only then choose a bounded fix: mapping update, scheduler policy change, refresh strategy adjustment, firmware retrain rule, PHY calibration, or package/SI correction.