lfsr_rx_process

LFSR receiver implementation

Calling sequence

lfsr = lfsr_rx_process(lfsr, x)

Parameters

lfsr:

LFSR object

x:

input binary sequence

Description

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.


See also