Many Starts, One Verdict: Batched Worst-Case-Distance Search for MRAM Write and Retention Margins, with Ray Casting, Basin Bookkeeping and a Multi-Start Certificate
A worst-case analysis of an MRAM cell asks how far, in units of standard deviation of the variation parameters, the nearest failing combination lies, and which failure mechanism it belongs to. The classical answer is a single constrained search from the nominal point for the closest failing point. That is adequate when the failure region is convex and one-sided, and misleading when it is not: a retention failure that occurs for either sign of a stray magnetic field has two failing basins, a one-start search reports only the closer one, and a first-order failure probability built from it is too low. This paper proposes a worst-case-distance search shaped for data-parallel hardware. Thousands of random directions are cast from the nominal point, the first crossing of the failure boundary on each is found by a fixed number of bisection steps, a subset of the crossings is refined by batched gradient steps, and the refined points are clustered into basins, each with its own design point and distance. The output is a distance table by mechanism and corner plus a multi-start certificate that records the number of directions, the basins found, the residual of each refinement and a discovery curve. A simplified, stylised margin model run on a CPU shows two retention basins whose omission lowers the first-order failure probability by 35 to 43 per cent, a binding mechanism that changes from write margin to retention with supply and temperature, and both basins recovered reliably from 64 directions upward.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24755602
- Primary Topic
- Low-power high-performance VLSI design
- Type
- preprint