Patent ID: 8370702

Claim:
A method comprising: selecting parameters of a nonvolatile memory device, the parameters selected based at least in part on a first number of non-parity information bits that the nonvolatile memory device is capable of storing, a second number of parity cells of the nonvolatile memory device, and a third number of non-parity cells of the nonvolatile memory device; receiving input data; generating, with an outer encoder, an outer code sequence based at least in part on the input data; generating, with an inner encoder, an inner code sequence based at least in part on the outer code sequence, the inner code sequence including a first plurality of parity information bits and a second plurality of non-parity information bits; writing the first plurality of parity information bits to a third plurality of parity cells of the nonvolatile memory device; and writing the second plurality of non-parity information bits to a fourth plurality of non-parity cells of the nonvolatile memory device.