# US 11,120,887 B2 · Method for writing in a volatile memory and corresponding integrated circuit

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

- Number: US 11,120,887 B2
- Document ID: US11120887B2
- Status: Granted
- Kind: B2
- Application number: 17/096,090
- Filed: 2020-11-12
- Published: 2021-05-27
- Granted: 2021-09-14
- Earliest claimed: 2019-11-21
- Assignees: STMicroelectronics (Rousset) SAS
- Applicants: STMicroelectronics (Rousset) SAS
- Inventors: Christophe Eva; Jean-Michel Gril-Maffre
- Web page: https://patentgrep.com/patent/US11120887B2

## CPC

- G11C 11/419: Read-write [R-W] circuits
- G11C 29/42: using error correcting codes [ECC] or parity check
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 7/1045: {Read-write mode select circuits}
- G11C 7/1057: {Data output buffers, e.g. comprising level conversion circuits, circuits for adapting load}
- G11C 7/1084: {Data input buffers, e.g. comprising level conversion circuits, circuits for adapting load}
- G11C 7/1087: {Data input latches}
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 7/1039: {using pipelining techniques, i.e. using latches between functional memory parts, e.g. row/column decoders, I/O buffers, sense amplifiers}
- G11C 2207/2245: Memory devices with an internal cache buffer
- G11C 2207/229: Timing of a write operation
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An embodiment method for writing to a volatile memory comprises at least receiving a request to write to the memory, and, in response to each request to write to the memory: preparation of data to be written to the memory, this comprising computing an error correction code; storing in a buffer register the data to be written to the memory; and, if no new request to write to or to read from the memory is received after the storage, writing to the memory of the data to be written stored in the buffer register.

## Claims

### Claim 1

A method for writing to a volatile memory, the method comprising:
receiving a first request to write to the memory;
first preparing first data to be written to the memory, the first preparing comprising computing a first error correction code;
first storing in a buffer register the first data; and
in response to not receiving a new request to write to or read from the memory after the first storing, writing to the memory of the first data stored in the buffer register.

### Claim 2 (depends on 1)

The method according to claim 1, furthermore comprising:
receiving a second request to write to the memory;
second preparing second data to be written to the memory, the second preparing comprising computing a second error correction code;
second storing in the buffer register the second data; and
in response to receiving an additional request to write to the memory after the second storing, writing to the memory the second data stored in the buffer register before third storing in the buffer register of additional data to be written to the memory and prepared in response to the additional request to write to the memory.

### Claim 3 (depends on 1)

The method according to claim 1, the first request to write to the memory comprising a memory address of the memory and new data having a size smaller than a size of a memory word of the memory, the first preparing the first data to be written comprising reading prior data stored beforehand in the memory word containing the memory address, the computing the first error correction code performed on a combination of the prior data and the new data, and the first data to be written comprising a combination of the new data and the first error correction code.

### Claim 4 (depends on 1)

The method according to claim 1, wherein any request to write to or to read from the memory is transmitted over a bus and comprises activating a selection signal on one channel of the bus, the method comprising detecting whether the selection signal is activated in order to evaluate whether no request for write or read access to the memory is received after the first storing.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
evaluate whether no request to write to or to read from the memory is received after the storing; and
command the write to the memory of the first data stored in the buffer register in an absence of writing to and reading from the memory.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the volatile memory is a static random access memory.

### Claim 7

An integrated circuit comprising:
a volatile memory; and
a control interface of the memory, the control interface configured to:
receive a request to write to the memory;
prepare data to be written to the memory and to compute an error correction code;
store in a buffer register the data to be written to the memory; and
in response to no new request to write to or to read from the memory being received after the storage, command the data stored in the buffer register to be written to the memory.

### Claim 8 (depends on 7)

The integrated circuit according to claim 7, wherein the control interface is further configured to:
in response to a new request to write to the memory being received after the storage, write to the memory the data stored in the buffer register before storing in the buffer register new data to be written to the memory in response to the new request to write to the memory.

### Claim 9 (depends on 7)

The integrated circuit according to claim 7, wherein the control interface further configured to:
in response to a write request comprising a memory address of the memory and new data having a size smaller than a size of a memory word of the memory, wherein the control interface of the memory is configured to read prior data stored beforehand in the memory word containing the memory address, and to compute the error correction code on a combination of the prior data and the new data, in order to prepare the data to be written comprising a combination of the new data and the error correction code.

### Claim 10 (depends on 7)

The integrated circuit according to claim 7, wherein the control interface of the memory comprises a forced writing circuit configured to:
evaluate whether no request to write to or to read from the memory is received after the storage; and
command the write to the memory of the data stored in the buffer register in an absence of writing to and reading from the memory.

### Claim 11 (depends on 7)

The integrated circuit according to claim 7, wherein the volatile memory is a static random access memory.

### Claim 12 (depends on 7)

The integrated circuit according to claim 7, wherein the control interface of the memory is configured to:
receive any requests to write to or to read from the memory over a bus; and
detect activation of a selection signal on one channel of the bus in order to evaluate whether no request for write or read access to the memory is received after the storage.

### Claim 13 (depends on 12)

The integrated circuit according to claim 12, wherein the integrated circuit comprises an advanced high-performance bus interface coupled to the bus.

### Claim 14

A system-on-chip comprising:
an integrated circuit comprising:
a volatile memory; and
a control interface of the memory, the control interface configured to:
receive a request to write to the memory;
prepare data to be written to the memory and to compute an error correction code;
store in a buffer register the data to be written to the memory; and
in response to no new request to write to or to read from the memory being received after the storage, command the data stored in the buffer register to be written to the memory
a bus; and
a master device configured to transmit requests to write to the memory to the control interface of the memory via the bus.

### Claim 15 (depends on 14)

The system-on-chip according to claim 14, wherein the control interface is further configured to:
in response to a new request to write to the memory being received after the storage, write to the memory the data stored in the buffer register before storing in the buffer register new data to be written to the memory in response to the new request to write to the memory.

### Claim 16 (depends on 14)

The system-on-chip according to claim 14, wherein the control interface further configured to:
in response to a write request comprising a memory address of the memory and new data having a size smaller than a size of a memory word of the memory, wherein the control interface of the memory is configured to read prior data stored beforehand in the memory word containing the memory address, and to compute the error correction code on a combination of the prior data and the new data, in order to prepare the data to be written comprising a combination of the new data and the error correction code.

### Claim 17 (depends on 14)

The system-on-chip according to claim 14, wherein the control interface of the memory comprises a forced writing circuit configured to:
evaluate whether no request to write to or to read from the memory is received after the storage; and
command the write to the memory of the data stored in the buffer register in an absence of writing to and reading from the memory.

### Claim 18 (depends on 14)

The system-on-chip according to claim 14, wherein the volatile memory is a static random access memory.

### Claim 19 (depends on 14)

The system-on-chip according to claim 14, wherein the control interface of the memory is configured to:
receive any requests to write to or to read from the memory over the bus; and
detect activation of a selection signal on one channel of the bus in order to evaluate whether no request for write or read access to the memory is received after the storage.

### Claim 20 (depends on 14)

The system-on-chip according to claim 14, wherein the bus is an advanced high-performance bus compliant with an advanced microcontroller bus architecture standard.
