- property sdr.FLFSR.feedback_poly : Poly
The feedback polynomial
that defines the feedback arithmetic.Notes¶
The feedback polynomial
is the reciprocal of the characteristic polynomial .Examples¶
In [1]: c = galois.primitive_poly(7, 4); c Out[1]: Poly(x^4 + x^2 + 3x + 5, GF(7)) In [2]: lfsr = sdr.FLFSR(c); lfsr Out[2]: <Fibonacci LFSR: c(x) = x^4 + x^2 + 3x + 5 over GF(7)> In [3]: lfsr.feedback_poly Out[3]: Poly(5x^4 + 3x^3 + x^2 + 1, GF(7)) In [4]: lfsr.feedback_poly == lfsr.characteristic_poly.reverse() Out[4]: True