Patent ID: 9325349
Filing Date: 2016-04-26
CPC Classification: G11C,H03M

Claim Text:
1. A semiconductor device configured to encode input data into a codeword including M different symbols, each of which includes N m symbols, where M, m, and N m are natural numbers and m is greater than or equal to one and m is less than or equal to M, the semiconductor device comprising: a first storage unit configured to store a first state value which is reset according to M and N a second storage unit corresponding to any one of the M different symbols and configured to store M second state values determined through the corresponding symbol and the first state value; a third storage unit configured to store a third state value and reset the third state value to the value of the input data; a comparator configured to compare the M second state values to the third state value; and a controller configured to select any one of the M different symbols as one of symbols forming the codeword according to the comparison result, and update the first state value and the third state value.