Memory ECC and Error Syndromes
Use a parity-check syndrome to identify a single flipped bit and explain why extra parity improves double-error detection.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
The check matrix labels single-bit errors
For a binary linear code with check matrix \(H\), valid stored words satisfy \(Hc=0\). If position \(j\) flips, the syndrome equals the \(j\)-th column of \(H\). Distinct nonzero columns make every single-bit position identifiable. With no flip the syndrome is zero. This reasoning assumes the particular model of at most one error.
An additional check can distinguish another error class
An extended Hamming code includes overall parity. A double flip preserves that parity but produces a nonzero syndrome since the two column labels differ. This supports single-error correction and double-error detection under the stated patterns. More extensive errors can require stronger coding and failure reporting. Error syndromes develop the general linear-code view. Memory system design determines where encoded data and corrected results are stored.[1][2]