import numpy as np from spkit.pylfsr import LFSR L = LFSR() L.info() L.next() L.runKCycle(10) L.runFullCycle() L.info() tempseq = L.runKCycle(10000) # generate 10000 bits from current state
https://lfsr.readthedocs.io/