Visible to Intel only — GUID: mhi1459260759990
Ixiasoft
Visible to Intel only — GUID: mhi1459260759990
Ixiasoft
2.6.5. ECC in Stratix® 10 EMIF IP
The ECC component includes an encoder, decoder, write FIFO buffer, and modification logic, to allow read-modify-write operations. The ECC code employs standard Hamming logic to correct single-bit errors and to detect double-bit errors. ECC is available in 16, 24, 40, and 72 bit widths.
When writing data to memory, the encoder creates ECC bits and writes them together with the regular data. When reading from memory, the decoder checks the ECC bits and regular data, and passes the regular data unchanged if no errors are detected. If a single-bit error is detected, the ECC logic corrects the error and passes the regular data. If more than a single-bit error is detected, the ECC logic sets a flag to indicate the error.
- A partial write in data mask mode (with or without ECC), where at least one memory burst of byte-enable is not all ones or all zeros.
- Auto-correction with ECC enabled. This is usually a dummy write issued by the auto-correction logic when a single-bit error is detected.
Read-modify-write operations can have a significant effect on memory interface performance; for best performance, you should minimize partial writes.