The ECC decoder operation generates error correction syndrome bits for the input data and
check bits. These syndrome bits are used to correct any single-bit errors, or to detect
(but not correct) any double-bit errors in the input data. The single bit error
corrected data, along with the ecc_sbit_err status or the uncorrected
data with ecc_dbit_err status, are provided as an output of the ECC
decoder function, as shown in the following figure. If no errors are detected, input
data is forwarded at the output, and both ecc_sbit_err and
ecc_dbit_err status outputs are kept deasserted.
The ECC decoder operations can also be bypassed by asserting the ecc_correct_n input. When the operations are bypassed, the input data is forwarded at the output, and both ecc_sbit_err and ecc_dbit_err status outputs are kept deasserted. The ECC bypass function can be applied when error protection/correction is not required for portions of data or payload provided to the ECC core.