Linear Feedback Shift Registers
Linear Feedback Shift Registers
复制标题
线性反馈移位寄存器
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
U. Jetzek
中科院分区:
文献类型:
--
作者:
U. Jetzek
Linear feed back shift registers (LFSR) are one of the most efficient ways to step through all possible 2 − 1 non-zero n-long bit patterns in a random fashion. LFSR’s are a recursive sequence, with new bits generated from old using binary addition (mod two addition or exclusive-or’s). The pattern they take depends on the driving polynomial of degree n, which provides the taps, and the initial fill. Driving polynomials which are primitive polynomials generate all possible 2 − 1 non-zero n-long bit patterns before cycling, making them perfect for quasi-random number generation. Primitive polynomials are easiest to find in tables (though there are mathematical techniques for deriving them as well). A non-primitive driving polynomial will not generate all possible 2−1 non-zero n-bit patterns. This page contains some of these primitive polynomials, represented in octal. The highest ’on’ bit (one) determines the degree of the polynomial. The remaining ’on’ bits determine the taps. For example 235o represents a minimal polynomial used for linear feedback shift registers in octal. Its binary representation and the polynomial that it represents is: