ECC Encoder Operation - ECC Encoder Operation - 2.0 English - PG092

ECC LogiCORE IP Product Guide (PG092)

Document_ID
PG092
Release_Date
2026-07-22
Version
2.0 English

The ECC encoder operation calculates check (or protection) bits for the input data. For each 4 to 128 bits of data input, it generates between 4 and 9 check bits. These bits are used during each ECC decoder operation to correct any single-bit errors, or to detect any double-bit errors. The data along with the calculated check bits are provided as an output of ECC encoder function, as shown in the following figure. The data and check bits output of the ECC encoder is called an ECC codeword. For more details on the number of check bits required for the configured data width, refer to Configuration Tab.

Figure 1. ECC Encoder Block Diagram
FF XOR XOR XOR FF FF FF XOR XOR XOR FF Check Bits Calculation ecc_clk ecc_clken ecc_reset ecc_data_in ecc_data_out ecc_chkbits_out X13069