A bit error rate detector detects whether at least one transition of an input
data
stream occurs in a predetermined phase zone of a sample clock used to sample the
input data stream. Over multiple evaluation cycles, a count is generated according
to how many of the evaluation cycles have at least one transition that occurred
in the predetermined phase zone. The count corresponds to the bit error rate.