![Intel IXP45X Developer'S Manual Download Page 615](http://html1.mh-extra.com/html/intel/ixp45x/ixp45x_developers-manual_2073092615.webp)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
August 2006
Developer’s Manual
Order Number: 306262-004US
615
Memory Controller—Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
11.2.3.1
ECC Generation
For write operations, the MCU generates the error correction code which is written
along with the data. This section describes the operation of the DDRI SDRAM Control
Block for ECC generation in a 64-bit wide memory and 64-bit region. The same
principles apply for 32-bit wide memory, though the MCU will generate 8-bit wide ECC
by zero extending the data to 64-bits.
The algorithm for a write transaction is:
shows how the data logically flows through the ECC hardware for a write
transaction.
if data to write is 64/32 bits wide
Generate the ECC_with the G-matrix
Write the new data and ECC
else {Partial Write}
Read entire 64/32-bit data word from memory
Merge the new data portion with the data from memory
Generate the new ECC with the G-matrix
Write new data and ECC
Figure 118. ECC Write Flow
B2450-01
Main
Memory
MCU
ECC
Memory
32-Bit Bus
Calculate ECC
with G-matrix
Data from Internal Bus
32-bit Zero-extend (0x00000000)
8-Bit Bus