A system for detecting errors in received input data includes a first
error detection circuit. The first error detection circuit is configured
to receive the input data. The input data includes at least one of data
and data with errors. The first error detection circuit is configured to
generate a first error detection sequence in a first order. The system
includes a second error detection circuit. The second error detection
circuit is configured to receive the first error detection sequence and
an error sequence. The error sequence is received in a second order that
is different from the first order when there is data with errors. The
second error detection circuit is configured to generate a second error
detection sequence that indicates whether the error sequence is generated
correctly.