[Paper Review] Correcting Two Deletions and Insertions in Racetrack Memory
This paper presents a low-complexity coding scheme for racetrack memory that detects and corrects up to two shift errors—deletions or insertions—using delimiter bits and graph-based codes. By combining Varshamov-Tenengolts (VT) codes with structured delimiter patterns, the method enables fast, hardware-efficient error detection and correction without additional memory reads or write ports, achieving reliable data recovery in high-density, low-latency storage systems.
Racetrack memory is a non-volatile memory engineered to provide both high density and low latency, that is subject to synchronization or shift errors. This paper describes a fast coding solution, in which delimiter bits assist in identifying the type of shift error, and easily implementable graph-based codes are used to correct the error, once identified. A code that is able to detect and correct double shift errors is described in detail.
Motivation & Objective
- Address the challenge of shift errors—deletions and repetitions—in racetrack memory, which disrupt data integrity due to current injection inaccuracies.
- Overcome the limitations of prior solutions that require extra read/write ports or operations, which increase latency and power consumption.
- Design a practical, low-complexity coding scheme that enables error detection and correction without additional hardware or memory access overhead.
- Extend the utility of Varshamov-Tenengolts (VT) codes—previously limited to single-shift error correction—to handle up to two shift errors per block.
- Ensure reliable data recovery in the presence of up to two shift errors every m+3 shifts, under realistic error models for racetrack memory.
Proposed method
- Use a product code structure that decouples error detection (inner code) from error correction (outer code), enabling fast access in error-free cases.
- Employ VT codes as the inner code to detect and correct up to one shift error within a single track segment.
- Introduce six delimiter bits after each VT codeword to identify the type and location of shift errors, distinguishing between deletions and repetitions.
- Apply a lookup-based error identification mechanism using the pattern of delimiter bits (e.g., 1000, 1100, 0000) to classify error types and guide correction.
- Use the outer code to resolve ambiguous cases—such as two deletions or mixed errors—by leveraging cross-track redundancy.
- Implement a checksum-based recovery algorithm that restores deleted bits by analyzing the deficiency in the weighted sum of codeword indices, using left/right context to infer the missing bit value.
Experimental results
Research questions
- RQ1How can shift errors (deletions and repetitions) in racetrack memory be detected and corrected efficiently without additional hardware or memory accesses?
- RQ2Can Varshamov-Tenengolts codes be extended to correct multiple shift errors through structured delimiter patterns?
- RQ3What error classification strategy using delimiter bits enables unambiguous identification of error types (e.g., single deletion vs. deletion-repetition pair) in the presence of overlapping error patterns?
- RQ4How can the proposed coding scheme maintain high data rate and low latency while correcting up to two shift errors per m+3 shifts?
- RQ5What is the performance of the scheme under the constraint that at most one track may have two errors every m+3 shifts?
Key findings
- The proposed coding scheme successfully detects and corrects up to two shift errors per m+3 shifts using a product code with VT codes and six delimiter bits.
- The use of delimiter bits enables unambiguous identification of error types: 1000 indicates a single deletion, 1100 indicates no error (but misaligned codeword), and 0000 triggers erasure for outer-code resolution.
- When a single deletion occurs in the VT code and a repetition in the delimiter bits, the scheme correctly identifies the error as a single deletion if the delimiter pattern is 1000, allowing reliable recovery.
- If the checksum is non-zero modulo n+1 after a deletion-repetition pair with pattern 1100, the system declares an erasure and relies on the outer code for correction, ensuring robustness.
- The scheme avoids the need for additional read/write operations or hardware, maintaining low power and high-speed access in normal (error-free) operation.
- The method ensures that even in ambiguous cases (e.g., two deletions in VT code or in delimiters), the outer code can resolve the error, preserving data integrity under the constraint of at most two errors per m+3 shifts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.