| CPC G06F 11/106 (2013.01) [G06F 11/1016 (2013.01); G06F 11/1068 (2013.01)] | 20 Claims |

|
1. A method for decoding data in a memory device, comprising:
performing, by a controller, a read operation to receive hard data from the memory device;
converting, by the controller, the hard data into soft information, wherein the soft information comprises reliability values indicating a confidence level for each bit of the hard data, and the converting comprises mapping binary states of bits in the hard data to the reliability values using a bit-to-reliability-value mapping data structure that assigns a reliability value to each bit based on a binary state of the bit in the hard data;
decoding, by the controller, using a first decoder for a first number of decoding iterations based on the soft information;
generating, by the controller, an error vector indicating which bits of the hard data have been flipped by the first decoder based on a current state of a codeword for a respective decoding iteration of the first number of decoding iterations;
decoding, by the controller, using a second decoder to correct errors in the hard data for a second number of decoding iterations based on the error vector; and
providing, by the controller, corrected data in response to correcting the errors in the hard data.
|