# US 2016/0241273 A1 · Memory control module and control method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0241273 A1
- Document ID: US20160241273A1
- Status: Published application
- Kind: A1
- Application number: 14/965,723
- Filed: 2015-12-10
- Published: 2016-08-18
- Earliest claimed: 2015-02-13
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corporation
- Inventors: SHIN-LIN SHIEH; SZU-CHUN WANG
- Web page: https://patentgrep.com/patent/US20160241273A1

## CPC

- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- H03M 13/3746: {with iterative decoding}
- H03M 13/6516: {Support of multiple code parameters, e.g. generalized Reed-Solomon decoder for a variety of generator polynomials or Galois fields}
- H03M 13/6561: {Parallelized implementations}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This invention discloses a memory control module and its associated control method. The memory control module includes a storage unit, an ECC unit, and a read/write control unit. The storage unit is to store a target data. The ECC unit includes multiple first encoders and a second encoder. The first encoders perform an encoding operation on the target data and generate multiple first sets of parity check bits, which comprise at least two lengths. The second encoder performs an encoding operation on the target data and the multiple first sets of parity check bits and generates a second set of parity check bits. The read/write control module converts the target data, the first sets of party check bit sets and the second set of parity check bits into a data format of a memory module.

## Claims

### Claim 1

A memory control module for controlling a memory module, comprising:
a storage unit for storing a target data;
an error correcting code (ECC) unit, coupled to the storage unit, comprising:
a plurality of first encoders for encoding the target data to generate multiple first sets of parity check bits, wherein the multiple first sets of parity check bits comprise at least two lengths; and
a second encoder, coupled to the first encoders, for encoding the target data to generate a second set of parity check bits; and
a read/write control unit, coupled to the ECC unit, for converting the target data, the multiple first sets of parity check bits and the second set of parity check bits into a data format of the memory module.

### Claim 2 (depends on 1)

The memory control module of claim 1, wherein the read/write control unit generates a read data according to the content stored in the memory module and the read data comprises an intermediate data, the multiple first sets of parity check bits and the second set of parity check bits, and the ECC unit further comprises:
a plurality of first decoders for decoding the intermediate data according to the multiple first sets of parity check bits to correct an error bit in the intermediate data; and
a second decoder, coupled to the first decoders, for decoding the intermediate data according to the second set of parity check bits to correct an error bit in the intermediate data.

### Claim 3 (depends on 2)

The memory control module of claim 2, wherein the second decoder processes the intermediate data prior to the first decoders.

### Claim 4 (depends on 2)

The memory control module of claim 2, wherein the first decoders process the intermediate data prior to the second decoder.

### Claim 5 (depends on 2)

The memory control module of claim 2, further comprising:
a control unit, coupled to the first decoders, for controlling a decoding sequence of the first decoders according to an order.

### Claim 6 (depends on 5)

The memory control module of claim 5, wherein the order is related to an order of code lengths of the first decoders.

### Claim 7 (depends on 1)

The memory control module of claim 1, wherein the first encoders perform BCH code encoding operations while the second encoder performs LDPC code encoding operations.

### Claim 8 (depends on 1)

The memory control module of claim 1, wherein the memory module has a memory capacity and the total length of the multiple first sets of parity check bits and the second set of parity check bits is related to the memory capacity.

### Claim 9 (depends on 8)

The memory control module of claim 8, wherein the memory module is a flash memory module.

### Claim 10 (depends on 1)

The memory control module of claim 1, wherein a total length of the multiple first sets of parity check bits is smaller than the length of the second parity check bit.

### Claim 11

A control method for controlling a memory module, comprising:
storing a target data;
using a first encoding method to encode the target data to generate multiple first sets of parity check bits, wherein the multiple sets of parity check bit have at least two lengths;
using a second method to encode the target data to generate a second set of parity check bits; and
converting the target data, the multiple first sets of parity check bits and the second set of parity check bits into a data format of the memory module.

### Claim 12 (depends on 11)

The method of claim 11 further comprising:
generating a read data according to the content stored in the memory module, the read data comprising an intermediate data, the multiple first sets of parity check bits and the second set of parity check bits;
using a first decoding method to decode the intermediate data according to the multiple first sets of parity check bits to correct an error bit in the intermediate data; and
using a second decoding method to decode the intermediate data according to the second set of parity check bits to correct an error bit in the intermediate data.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first decoding method processes the intermediate data prior to the second decoding method.

### Claim 14 (depends on 12)

The method of claim 12, wherein the second decoding method processes the intermediate data prior to the first decoding method.

### Claim 15 (depends on 12)

The method of claim 12 further comprising:
decoding the intermediate data by referring to the multiple first sets of parity check bits according to an order.

### Claim 16 (depends on 15)

The method of claim 15, wherein the order is related to a length order of the multiples first sets of parity check bits.

### Claim 17 (depends on 11)

The method of claim 11, wherein the first encoding method corresponds to BCH code encoding operations while the second encoding method corresponds to LDPC code encoding operations.

### Claim 18 (depends on 11)

The method of claim 11, wherein the memory module has a memory capacity and the total length of the multiple first sets of parity check bits and the second set of parity check bits is related to the memory capacity.

### Claim 19 (depends on 18)

The method of claim 18, wherein the memory module is a flash memory module.

### Claim 20 (depends on 11)

The method of claim 11, wherein a total length of the multiple first sets of parity check bits is smaller than the length of the second set of parity check bits.
