The model will contain 3 components:
- The transmitter
- The communication line
- The receiver
The transmitter consists of:
- a LFSR (linear feedback shift register) that implements a primitive
polynomial g(x) (e.g. g(x) = x^4 +x+1)
- a register that stores the user data that will be encoded
- some additional logic (gates, flip-flops, etc)
The receiver contains of:
- a LFSR that implements the same polynomial as the transmitter
- an error decoder, that will correct the error, either serially or
in parallel
- a register that store that data received from the line
- additional logic
The line will have the possibility to inject error(s) in the
stream of bits that go from transmitter to receiver.