Abstract
This paper considers coding for so-called partially stuck memory cells. Such memory cells can only store partial information as some of their levels cannot be used due to, e.g., wear out. First, we present a new code construction for masking such partially stuck cells while additionally correcting errors. This construction (for cells with $q >2$ levels) is achieved by generalizing an existing masking-only construction based on binary codes to correct errors as well. Compared to previous constructions, our new construction achieves larger rates for many sets of parameters. Second, we derive a sphere-packing and a Gilbert-Varshamov bound for codes that can mask a certain number of partially stuck cells and correct errors additionally. A numerical comparison between the new bounds and our previous construction shows that our construction lies above the Gilbert-Varshamov-like bound for several code parameters.
Introduction
As non-volatile memory (NVM) technologies like Flash and Phase-Change Memory (PCM) advance, high-density storage is achieved using multi-level cells (MLCs) that store information across multiple physical states, such as voltage levels or crystalline phases. However, these cells are increasingly fragile and prone to degradation.
A cell might become "stuck" at a specific level or, more frequently, "partially stuck," where only a subset of its possible values remains usable. For example, a four-level cell that should support levels 0, 1, 2, and 3 might degrade so it can only store levels 1, 2, or 3, but never 0.
Traditional error correction handles transient noise, but permanent defects require "masking" techniques. The challenge is to design codes that can simultaneously mask these known defects and correct random errors without sacrificing significant storage capacity.
Methodology: Construction 1
The authors propose Construction 1, a framework for building codes over extension fields ($\mathbb{F}_{2^\lambda}$). This approach generalizes binary masking-only constructions by treating the "partially stuck" constraint as a requirement that specific symbols cannot occupy certain positions.
The construction utilizes a generator matrix $G$ that integrates three key components:
- A parity-check matrix for a binary code to facilitate masking.
- An information and error-correction component.
- An "all-ones" vector, which provides a mechanism to shift values in defective cells without compromising the code's underlying error-correction properties.
The encoding process employs the pigeonhole principle to identify a "masking vector" that shifts data to avoid forbidden levels. The decoding process first applies standard error correction to mitigate random noise and then reverses the masking transformation to recover the original message.
Theoretical Bounds and Numerical Results
A significant contribution of this work is the derivation of new theoretical performance limits: a Sphere-Packing bound for any number of partially stuck cells ($u$) and a Gilbert-Varshamov (GV) bound for $u < q$ partially stuck cells.
Numerical evaluations demonstrate that the new construction often exceeds the GV-bound, which is the standard benchmark for proving the existence of efficient codes. Furthermore, the results highlight that partially stuck cells offer more flexibility than fully stuck cells; by exploiting the remaining usable levels, the proposed codes achieve higher data rates than previous methods. For instance, in a specific example of a $[15, 11, 3]_4$ code, the new construction supports 8 information symbols compared to 7 in prior state-of-the-art methods.
Conclusion
This paper introduces a novel coding scheme that effectively combines masking for partially stuck cells with random error correction in multi-level memory. By leveraging extension fields and specific matrix designs, the proposed construction achieves superior rates compared to existing techniques. Future work will explore capacity-achieving codes for probabilistic defect models where cells fail randomly with a given probability.
Summary updated