# US 2017/0293526 A1 · Dual-Mode Error-Correction Code/Write-Once Memory Codec

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

- Number: US 2017/0293526 A1
- Document ID: US20170293526A1
- Status: Published application
- Kind: A1
- Application number: 15/633,835
- Filed: 2017-06-27
- Published: 2017-10-12
- Earliest claimed: 2015-05-22
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Sai Zhang; Yuming Zhu; Clive Bittlestone; Srinath Ramaswamy
- Web page: https://patentgrep.com/patent/US20170293526A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0673: {Single storage device}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- H03M 13/159: {Remainder calculation, e.g. for encoding and syndrome calculation}
- H03M 13/353: {Adaptation to the channel}
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- H03M 13/19: Single error correction without using particular properties of the cyclic codes, e.g. Hamming codes, extended or generalised Hamming codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- 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)

## Abstract

A system for error correction code (ECC) management of write-once memory (WOM) codes includes, for example, a controller for selecting between one of a WOM (Write-Once Memory) mode and an ECC (error correction code) mode. A codec is arranged to operate in the selected mode. The codec while operating in the ECC mode is arranged to identify a bit position of at least one bit error in response to ECC parity bits of a first received data word. The codec while operating in the WOM mode is arranged to receive a WOM-encoded word from an addressed location in a WOM device, to receive a second received data word to be encoded and written to the addressed location, and to generate WOM-encoded word for writing to the addressed location in the WOM device. The WOM-encoded word for writing to the addressed location is optionally ECC encoded.

## Claims

### Claim 1

A circuit, comprising:
a controller operable to select one of a WOM (Write-Once Memory) mode and an ECC (error correction code) mode; and
a codec responsive to the controller, operable in the ECC mode to identify a bit position of at least one bit error in response to ECC parity bits of a first received data word, and operable in the WOM mode to receive a WOM-encoded word from an addressed location in a WOM device, to receive a second received data word, and to generate WOM-encoded word for writing to the addressed location in the WOM device, wherein the generated WOM-encoded word is generated in response to the second received data word and includes information from the second received data word.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the WOM-encoded word is written to the addressed location in the WOM device by changing a block-initialized state of selected bits of WOM-encoded word previously written to the addressed location of the WOM device.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein the first received data word is the same received data word as the second received data word.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein the codec is operable in the ECC mode to generate a syndrome in accordance with the first received data word.

### Claim 5 (depends on 4)

The circuit of claim 4, wherein the codec is operable in the ECC mode to generate the syndrome in accordance with a check matrix.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein the codec is operable in the ECC mode to address a syndrome table in accordance with the generated syndrome.

### Claim 7 (depends on 6)

The circuit of claim 6, wherein the codec is operable in the WOM mode to address a portion of the syndrome table in accordance with the second received data word.

### Claim 8 (depends on 7)

The circuit of claim 7, the codec comprising a counter operable to generate a first candidate data word for addressing a first portion of the syndrome table.

### Claim 9 (depends on 8)

The circuit of claim 8, the codec comprising a comparator operable to generate a second candidate data word for addressing a second portion of the syndrome table.

### Claim 10 (depends on 9)

The circuit of claim 9, wherein the comparator operable to generate a second candidate data word generates the second candidate data word in response to a comparison of a first delta value and the first candidate data word.

### Claim 11 (depends on 10)

The circuit of claim 10, wherein the first delta value is generated in response to comparing the second received data word to a decoded WOM word, wherein the decoded WOM word is decoded in response to the WOM-encoded word received from the addressed location in the WOM device.

### Claim 12 (depends on 9)

The circuit of claim 9, wherein a second delta word is generated in response to an output of the first portion of the syndrome table and in response to an output of the second portion of the syndrome table.

### Claim 13 (depends on 12)

The circuit of claim 12, wherein the second delta word is written to the addressed location in the WOM device in response to a comparison of the second delta word to the WOM-encoded word received from the addressed location in the WOM device.

### Claim 14

A system, comprising:
a host processor operable to select one of a WOM (Write-Once Memory) mode and an ECC (error correction code) mode;
a WOM device communicatively coupled to the host processor and operable to be block-initialized in accordance with a block-initialized state; and
a codec responsive to the processor, operable in the ECC mode to identify a bit position of at least one bit error in response to ECC parity bits of a first received data word, and operable in the WOM mode to receive a WOM-encoded word from an addressed location in the WOM device, to receive a second received data word, and to generate WOM-encoded word for writing to the addressed location in the WOM device, wherein the generated WOM-encoded word is generated in response to the second received data word and includes information from the second received data word.

### Claim 15 (depends on 14)

The circuit of claim 14, wherein the codec is operable in the ECC mode to generate a syndrome in accordance with the first received data word and to address a syndrome table in accordance with the generated syndrome.

### Claim 16 (depends on 15)

The circuit of claim 15, wherein the codec is operable in the WOM mode to address a portion of the syndrome table in accordance with the second received data word.

### Claim 17 (depends on 16)

The circuit of claim 16, wherein a second delta word is generated in response to an output of the first individually addressed portion of the syndrome table and in response to an output of the second individually addressed portion of the syndrome table, wherein the first individually addressed portion is addressed separately from the second individually addressed portion, and wherein the second delta word is written to the addressed location in the WOM device in response to a comparison of the second delta word to the WOM-encoded word received from the addressed location in the WOM device.

### Claim 18

A method, comprising:
selecting one of a WOM (Write-Once Memory) mode and an ECC (error correction code) mode;
identifying, while operating in the ECC mode, a bit position of at least one bit error in response to ECC parity bits of a first received data word; and
generating, while operating in the WOM mode, a WOM-encoded word for writing to an addressed location in the WOM device, wherein the generated WOM-encoded word is generated in response to a second received data word received from the addressed location in the WOM device, and wherein the generated WOM-encoded word is generated in response to information from the second received data word.

### Claim 19 (depends on 18)

The method of claim 18, wherein the bit position of at least one bit error in response to ECC parity bits of a first received data word is identified in response to an output of a syndrome table.

### Claim 20 (depends on 19)

The method of claim 19, wherein the generated WOM-encoded word is generated in response to an output of the syndrome table.
