We have two polynomials of 4th order and a shift register of 5 bits. we take input data of a single bit and put it in shift register on each clock edge as long as valid data bit is asserted. after this codeword is calculated by taking xor of the and of polynomial and shift register
apply clk,reset ,data valid and input data and do calculations to see if output is equal to the desired one
# | Input | Output |
---|---|---|
0 | clock | encoded data |
1 | reset | |
2 | data valid | |
3 | data input | |
4 | ||
5 | ||
6 | ||
7 |