# US 2004/0064646 A1 · Multi-port memory controller having independent ECC encoders

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

- Number: US 2004/0064646 A1
- Document ID: US20040064646A1
- Status: Published application
- Kind: A1
- Application number: 10/255,912
- Filed: 2002-09-26
- Published: 2004-04-01
- Earliest claimed: 2002-09-26
- Assignees: LSI Logic Corporation
- Inventors: Steven M. Emerson; Gregory F. Hammitt
- Web page: https://patentgrep.com/patent/US20040064646A1

## CPC

- G06F 13/1684: {using multiple buses}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory controller system is provided, which includes a plurality of system buses, a multi-port memory controller and a plurality of error correcting code (ECC) encoders. The memory controller has a plurality of system bus ports and a memory port. Each ECC encoder is coupled between a respective system bus and a respective system bus port of the memory controller.

## Claims

### Claim 1

A memory controller system comprising:
a plurality of system buses;
a multi-port memory controller comprising a plurality of system bus ports and a memory port; and
a plurality of error correcting code (ECC) encoders, wherein each ECC encoder is coupled between a respective system bus and a respective system bus port of the memory controller.

### Claim 2 (depends on 1)

The memory controller system of claim 1 wherein:
each ECC encoder is adapted to receive write data on an ECC input, which has an ECC block width, generate a set of ECC bits based on the write data, and apply the set of ECC bits with the write data on an ECC output.

### Claim 3 (depends on 2)

The memory controller system of claim 2 and further comprising a memory coupled to the memory bus and for each ECC encoder:
line buffer means coupled between the respective system bus and the ECC input for gathering write data from the system bus into groups of write data and for applying each group of write data to the ECC input, wherein each group of write data corresponds to a respective memory address.

### Claim 4 (depends on 3)

The memory controller system of claim 3 wherein the line buffer means further comprises:
means for applying the group of write data to a respective first of the ECC encoders as an ECC block if the group a width that is equal to the ECC block width; and
means for reading data from the memory address through the first port of the memory controller, merging the data read from the memory address with the group of write data to form the ECC block and then applying the ECC block to the first ECC encoder, if the group of write data has a width that is less the ECC block width.

### Claim 5 (depends on 4)

The memory controller system of claim 4 wherein the multi-port memory controller comprises:
means for granting access to the memory by one of the line buffer means while another of the line buffer means is merging the data read from the memory address with the group of write data to form the ECC block and applying the ECC block to the first ECC encoder.

### Claim 6 (depends on 3)

The memory controller system of claim 3 wherein the multi-port memory controller comprises:
means for granting access to the memory by one of the line buffer means while another of the line buffer means is gathering write data from the system bus.

### Claim 7 (depends on 2)

The memory controller system of claim 2 wherein the set of ECC bits comprises a plurality of ECC bits.

### Claim 8 (depends on 1)

The memory controller system of claim 1 and further comprising:
a shared ECC decoder coupled between the memory controller and each of the system buses.

### Claim 9

A method of writing data to a memory through a multi-port memory controller, the method comprising:
(a) processing memory access requests received from a plurality of system busses through respective system bus ports of the memory controller, wherein each port has a respective ECC encoder having an ECC block width;
(b) receiving write data from a first of the system buses;
(c) if the write data has a width that is equal to the ECC block width, applying the write data to a first of the ECC encoders as an ECC block;
(d) if the write data has a width that is less the ECC block width, reading data from the memory address within the memory through a first port of the memory controller and merging the data read from the memory address with the write data to form the ECC block and then applying the ECC block to the first ECC encoder;
(e) generating a set of ECC bits with the first ECC encoder based on the ECC block; and
(f) writing the ECC block and the set of ECC bits to the memory address through the first port of the memory controller.

### Claim 10 (depends on 9)

The method of claim 9 and further comprising:
(g) allowing access to the memory through ports other than the first port of the memory controller during any one of steps (b), (c), (d), and (e), except when reading from the memory address in step (d) or writing to the memory address in step (f).

### Claim 11 (depends on 10)

The method of claim 10 and further comprising:
(h) accessing the memory through a second port of the memory controller while merging the data in step (d).

### Claim 12 (depends on 10)

The method of claim 10 and further comprising:
(h) accessing the memory through a second port of the memory controller while generating the set of ECC bits in step (e).

### Claim 13 (depends on 9)

The method of claim 9 wherein the set of ECC bits generated in step (e) comprises a plurality of ECC bits.
