# US 2026/0310549 A1 · Reducing error correcting code overhead using read-modify-write algorithm

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

- Number: US 2026/0310549 A1
- Document ID: US20260310549A1
- Status: Published application
- Kind: A1
- Application number: 19/098,452
- Filed: 2025-04-02
- Published: 2026-10-08
- Earliest claimed: 2025-04-02
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Sateeshkumar INJARAPU; Amit DUGGAL; Nitin JAISWAL; Kalyan Kumar BHIRAVABHATLA; Bala Sabari Krishna NALLAMALLI
- Web page: https://patentgrep.com/patent/US20260310549A1

## CPC

- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects presented herein may enable a device to convert single port memory into pseudo double port memory and apply a read-modify-write algorithm to combine old memory data in the single port memory and new memory data for the single port memory to calculate error correction code (ECC) bits, thereby reducing the ECC overhead. In one aspect, a device writes first data information to a single port memory based on control information. The device reads, in parallel to writing the first data information, second data information from the single port memory. The device calculates a set of ECC bits for ECC memory based on the first data information, the control information, and the second data information. The device writes the set of EEC bits to the ECC memory.

## Claims

### Claim 1

An apparatus for converting single port memory into pseudo double port memory at a device, comprising:
at least one memory; and
at least one processor coupled to the at least one memory, wherein the at least one processor is configured to:
write first data information to the single port memory based on control information;
read, in parallel to writing the first data information, second data information from the single port memory;
calculate a set of error correction code (ECC) bits for ECC memory based on the first data information, the control information, and the second data information; and
write the set of EEC bits to the ECC memory.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the at least one processor is further configured to:
receive the first data information and the control information for the single port memory;
store the first data information and the control information to a set of flops; and
obtain the first data information and the control information from the set of flops when calculating the set of ECC bits for the ECC memory.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein to write the first data information to the single port memory, the at least one processor is configured to write a first set of data to a specified memory address of the single port memory, and wherein to read the second data information from the single port memory, the at least one processor is configured to read a second set of data from the specified memory address of the single port memory.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein to calculating the set of ECC bits for the ECC memory based on the first data information, the control information, and the second data information, the at least one processor is configured to:
perform a read-modify-write (RMW) operation using the first data information, the control information, and the second data information to obtain the set of ECC bits for the ECC memory.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the first data information corresponds to current write data that is input into a write channel of the single port memory and the second data information corresponds to a previous write data that is output from a read channel of the single port memory.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the at least one processor is further configured to:
execute an ECC operation for the single port memory using the ECC memory.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein writing of the first data information and reading of the second data information occur at a first memory clock cycle, and calculation of the set of ECC bits and writing of the set of EEC bits to the ECC memory occur at a second memory clock cycle that is subsequent to the first memory clock cycle.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the set of ECC bits corresponds to 9 bits if the single port memory is a 128 bits memory.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the single port memory is a byte granular single port memory.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the control information is byte-enable control information.

### Claim 11

A method of converting single port memory into pseudo double port memory at a device, comprising:
writing first data information to the single port memory based on control information;
reading, in parallel to writing the first data information, second data information from the single port memory;
calculating a set of error correction code (ECC) bits for ECC memory based on the first data information, the control information, and the second data information; and
writing the set of EEC bits to the ECC memory.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
receiving the first data information and the control information for the single port memory;
storing the first data information and the control information to a set of flops; and
obtaining the first data information and the control information from the set of flops when calculating the set of ECC bits for the ECC memory.

### Claim 13 (depends on 11)

The method of claim 11, wherein writing the first data information to the single port memory comprises writing a first set of data to a specified memory address of the single port memory, and wherein reading the second data information from the single port memory comprises reading a second set of data from the specified memory address of the single port memory.

### Claim 14 (depends on 11)

The method of claim 11, wherein calculating the set of ECC bits for the ECC memory based on the first data information, the control information, and the second data information comprises:
performing a read-modify-write (RMW) operation using the first data information, the control information, and the second data information to obtain the set of ECC bits for the ECC memory.

### Claim 15 (depends on 11)

The method of claim 11, wherein the first data information corresponds to current write data that is input into a write channel of the single port memory and the second data information corresponds to a previous write data that is output from a read channel of the single port memory.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
executing an ECC operation for the single port memory using the ECC memory.

### Claim 17 (depends on 11)

The method of claim 11, wherein writing of the first data information and reading of the second data information occur at a first memory clock cycle, and calculation of the set of ECC bits and writing of the set of EEC bits to the ECC memory occur at a second memory clock cycle that is subsequent to the first memory clock cycle.

### Claim 18 (depends on 11)

The method of claim 11, wherein the single port memory is a byte granular single port memory.

### Claim 19 (depends on 11)

The method of claim 11, wherein the control information is byte-enable control information.

### Claim 20

A computer-readable medium storing computer executable code at a device, the code when executed by at least one processor causes the at least one processor to:
write first data information to single port memory based on control information;
read, in parallel to writing the first data information, second data information from the single port memory;
calculate a set of error correction code (ECC) bits for ECC memory based on the first data information, the control information, and the second data information; and
write the set of EEC bits to the ECC memory.
