LFSR receiver implementation

Séquence d'appel

lfsr = lfsr_rx_process(lfsr, x)



LFSR object


input binary sequence


The receiver can be in one of the following states:

  • Unsynchronized state: in this mode, the receiver try to synchronize with the incoming bit stream.

  • Synchronized: in this mode, the receiver count the number of errors (difference between expected bits as computed at the output of the LFSR register and incoming bits).

At the beginning, the receiver is unsynchronized, and switch to synchronized mode if the error rate goes below a fixed threshold. In synchronized state, the receiver can also go back to unsynchronized state if the detected error rate is too high.

Voir aussi