EnChip Microelectronics

又一个WordPress站点

EnChip Microelectronics

又一个WordPress站点

LFSR伪随机数产生多项式

LFSR = Linear-feedback shift register
Reference: https://en.wikipedia.org/wiki/Linear-feedback_shift_register

Bits (n)Feedback polynomialTapsTaps (hex)Period
(2^{n}-1)
2x^{2}+x+1110x33
3x^{3}+x^{2}+11100x67
4x^{4}+x^{3}+111000xC15
5x^{{5}}+x^{{3}}+1101000x1431
6x^{{6}}+x^{{5}}+11100000x3063
7x^{{7}}+x^{{6}}+111000000x60127
8x^{{8}}+x^{{6}}+x^{{5}}+x^{{4}}+1101110000xB8255
9x^{{9}}+x^{{5}}+11000100000x110511
10x^{{10}}+x^{{7}}+110010000000x2401,023
11x^{{11}}+x^{{9}}+1101000000000x5002,047
12x^{{12}}+x^{{11}}+x^{{10}}+x^{{4}}+11110000010000xE084,095
13x^{{13}}+x^{{12}}+x^{{11}}+x^{{8}}+111100100000000x1C808,191
14x^{{14}}+x^{{13}}+x^{{12}}+x^{{2}}+1111000000000100x380216,383
15x^{{15}}+x^{{14}}+11100000000000000x600032,767
16{\displaystyle x^{16}+x^{15}+x^{13}+x^{4}+1}11010000000010000xD00865,535
17x^{{17}}+x^{{14}}+1100100000000000000x12000131,071
18x^{{18}}+x^{{11}}+11000000100000000000x20400262,143
19x^{{19}}+x^{{18}}+x^{{17}}+x^{{14}}+111100100000000000000x72000524,287
20{\displaystyle x^{20}+x^{17}+1}100100000000000000000x900001,048,575
21{\displaystyle x^{21}+x^{19}+1}1010000000000000000000x1400002,097,151
22{\displaystyle x^{22}+x^{21}+1}11000000000000000000000x3000004,194,303
23{\displaystyle x^{23}+x^{18}+1}100001000000000000000000x4200008,388,607
24{\displaystyle x^{24}+x^{23}+x^{22}+x^{17}+1}1110000100000000000000000xE1000016,777,215
LFSR伪随机数产生多项式
Scroll to top