LFSR receiver implementation
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).