The Sky130 Tiny Tapeout dynamic random-access memory (DRAM) project now tests more than successful reads and writes. Its behavioral memory model gives every stored bit a retention time between 20 and 45 microseconds, so the same bench can exercise refresh, deliberate decay with refresh disabled, the built-in test engine, and continuous reads.
The model stands in for the physical memory macro while Cocotb drives the controller's register interface. One command runs the source design; a second mode runs the hardened gate netlist against the Sky130 foundry cell models. That lets a developer see whether refresh behavior survives synthesis instead of waiting for fabricated silicon to reveal a marginal assumption.
Retention is analog behavior, so this model won't predict the final chip's exact failure distribution. It does make digital policy testable: data should survive while refresh is active and decay when it isn't. Memory-controller teams can adopt the same variable-per-bit model early, then replace its timing range with measured silicon data when the first devices return.