Patent ID: 8413014

Claim:
A method of writing data to and reading data from a storage medium, including cycle slip detection and correction, the method comprising: establishing a low density parity check code (LDPC) matrix for use in encoding and decoding data, the LDPC matrix including a first area for cycle slip detection and correction, the first area satisfying a set of conditions such that a cycle slip at a particular position creates a pattern of parity check errors indicative of the position and polarity of the cycle slip; writing user data to the storage medium, including encoding the user data with parity data according to the LDPC matrix; reading the user data and the parity data from the storage medium, including decoding the user data and the parity data according to the LDPC matrix; and wherein decoding includes, upon detecting a pattern of parity check errors indicative of the position and polarity of a detected cycle slip, correcting the detected cycle slip.