M系列
5次
- x^5 + x^2 + 1
- x^5 + x^3 + 1
- x^5 + x^3 + x^2 + x^1 + 1
- x^5 + x^4 + x^2 + x^1 + 1
- x^5 + x^4 + x^3 + x^1 + 1
- x^5 + x^4 + x^3 + x^2 + 1
glfsrを使った場合
#系列長31
interpolation = 31
mask = 0 #?
seed = 1
degree = 5 #ntaps = 31
1010111011000111110011010010000(0×15, 1×16)
interpolation = 31
mask = 37 #x^5 + x^2 + x^0 = 37
seed = 1
degree = 5 #ntaps = 31
1110101101111100010100100000(0×14, 1×14何故か系列長28が出てしまった)
interpolation = 31
mask = 61 # x^5 + x^4 + x^3 + x^2 + 1
seed = 1
degree = 5 #ntaps = 31
1110010001010111101101001100000(0×16, 1×15)
interpolation = 31
mask = 47 #x^5 + x^3 + x^2 + x^1 + 1 = 47
seed = 1
degree = 5 #ntaps = 31
1100010010111110011101101000001(0×15, 1×16)
#系列長15
interpolation = 15
mask = 0
seed = 2
degree = 4 #2^4 + 2^3 + 2^0 = 25 ,ntaps = 15
011110101100100(0×7, 1×8)
#系列長7
interpolation = 7
mask = 0
seed = 1
degree = 3 #2^3 + 2^2 + 2^0 = 25 ,ntaps = 7
1110100(0×3, 1×4)
interpolation = 7
mask1 = 0
seed1 = 1
degree1 = 3 #2^3 + 2^2 + 2^0 = 25 ,ntaps = 7
mask1 = 0
seed2 = 2
degree3 = 3 #2^3 + 2^2 + 2^0 = 25 ,ntaps = 7
111-11-1-1(左から)
×-1111-11-1 →1-1-1111-1
式と結果があっていない。。
lfsrを使った場合
glfsrを使うとgold符号を生成しにくい?(うまくコントロールできない)
のでlfsrを使ってで進めていく!
これが本当のlfsrの結果!
interpolation = 31
mask = 61 #x^5 + x^4 + x^3 + x^2 + 1
seed = 1
reg_len = 4
1000011001001111101110001010110(0×15, 1×16)
interpolation = 31
mask1 = 61 #x^5 + x^4 + x^3 + x^2 + 1
seed1 = 1
reg_len1 = 4
mask2 = 37 #x^5 + x^2 + 1
seed2 = 1
reg_len2 = 4
0000001011111100010110111101100(0×15, 1×16)
preferred pairらしい
x^5 + x^2 + 1
x^5 + x^3 + x^2 + x^1 + 1
最終更新:2011年07月10日 22:22