1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
===========================================================
Test of Modulators
===========================================================
Modulator_1D (configured as BPSK)
* modulating bits:
tx_bits = [0 0 1 1 1]
tx_symbols = [1 1 -1 -1 -1]
rx_symbols = [0.80001 0.640777 -1.3055 -0.766864 -1.52926]
decbits = [0 0 1 1 1]
* modulating symbol numbers:
tx_sym_numbers = [0 0 1 1 1]
tx_symbols = [1 1 -1 -1 -1]
rx_symbols = [0.80001 0.640777 -1.3055 -0.766864 -1.52926]
dec_sym_numbers = [0 0 1 1 1]
BPSK (real signal)
* modulating bits:
tx_bits = [0 0 1 1 1]
tx_symbols = [1 1 -1 -1 -1]
rx_symbols = [0.80001 0.640777 -1.3055 -0.766864 -1.52926]
decbits = [0 0 1 1 1]
BPSK (complex signal)
* modulating bits:
tx_bits = [0 0 1 1 1]
tx_csymbols = [1+0i 1+0i -1+0i -1+0i -1+0i]
rx_csymbols = [0.80001+0.19999i 0.640777+0.359223i -1.3055+0.305495i -0.766864-0.233136i -1.52926+0.529256i]
decbits = [0 0 1 1 1]
softbits = [32.0004 25.6311 -52.2198 -30.6746 -61.1702]
softbits_approx = [32.0004 25.6311 -52.2198 -30.6746 -61.1702]
===========================================================
Modulator_1D (configured as 4-PAM)
* modulating bits:
tx_bits = [1 0 1 0 0 0 1 1 1 1]
tx_symbols = [3 3 -3 1 1]
rx_symbols = [2.75265 2.69511 -2.6032 1.25078 0.666814]
decbits = [1 0 1 0 0 0 1 1 1 1]
* modulating symbol numbers:
tx_sym_numbers = [1 1 3 2 2]
tx_symbols = [-1 -1 3 1 1]
rx_symbols = [-1.24735 -1.30489 3.3968 1.25078 0.666814]
dec_sym_numbers = [1 1 3 2 2]
4-PAM (real signal)
* modulating bits:
tx_bits = [1 0 1 0 0 0 1 1 1 1]
tx_symbols = [-1.34164 -1.34164 1.34164 -0.447214 -0.447214]
rx_symbols = [-1.58899 -1.64653 1.73844 -0.196437 -0.780399]
decbits = [1 0 1 0 0 0 1 1 1 1]
4-PAM (complex signal)
* modulating bits:
tx_bits = [1 0 1 0 0 0 1 1 1 1]
tx_csymbols = [-1.34164+0i -1.34164+0i 1.34164+0i -0.447214+0i -0.447214+0i]
rx_csymbols = [-1.58899+0.247346i -1.64653+0.304891i 1.73844-0.396802i -0.196437-0.250776i -0.780399+0.333186i]
decbits = [1 0 1 0 0 0 1 1 1 1]
softbits = [-40.8493 12.4247 -42.9081 13.454 46.1964 15.0982 -3.51398 -12.5153 -14.0825 -2.03979]
softbits_approx = [-40.8493 12.4247 -42.9081 13.454 46.1964 15.0982 -3.51398 -12.486 -13.9602 -2.03979]
===========================================================
Modulator_2D (configured as 256-QAM)
* modulating symbol numbers:
tx_sym_numbers = [207 186 26 209 60]
tx_symbols = [-1.15045-0.690268i -0.383482-0.536875i -0.383482+0.997054i 0.997054-0.843661i -0.690268+0.690268i]
rx_symbols = [-1.28866-0.61584i -0.137429-0.819168i -0.352321+0.855634i 0.925303-0.933339i -0.636372+0.601103i]
dec_sym_numbers = [207 216 42 225 76]
* modulating bits:
tx_bits = [0 0 1 0 0 0 0 1 1 1 0 1 1 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0]
tx_symbols = [0.997054+0.690268i -1.15045-0.230089i 0.383482-1.15045i 0.230089+1.15045i 0.0766965+1.15045i]
rx_symbols = [0.85884+0.764697i -0.904394-0.512382i 0.414644-1.29187i 0.158338+1.06077i 0.130593+1.06128i]
decbits = [0 0 1 0 0 0 1 1 1 1 1 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0]
softbits = [8.29716 1.10097 -1.13138 -0.0205756 9.95546 1.83257 -0.549819 -0.236707 -4.62394 -0.745798 -1.35605 0.103927 -10.809 2.20568 -0.264189 -0.308703 -19.0561 5.95718 2.0181 0.427263 3.50155 -1.50344 -0.748079 -0.0926941 13.9565 3.59872 0.68257 -0.251724 1.18044 -3.93731 1.01639 -0.0104063 13.9673 3.60357 0.685588 -0.25078 0.966395 -4.24489 1.1885 0.0475742]
softbits_approx = [7.02403 0.46363 -0.484505 0.00695841 8.74999 1.03431 -0.188728 -0.281861 -3.46414 -0.310436 -0.790893 0.160152 -9.5885 1.31381 -0.0489755 -0.421613 -18.5297 5.50014 1.80889 0.669152 2.40444 -0.749979 -0.330893 -0.139695 12.8977 2.70405 0.430763 -0.0398251 0.500927 -2.77802 0.455419 -0.0151691 12.9087 2.70877 0.432335 -0.0382532 0.40064 -3.10332 0.610485 0.0699481]
256-QAM
* modulating symbol numbers:
tx_sym_numbers = [207 186 26 209 60]
tx_symbols = [-1.15045-0.690268i -0.383482-0.536875i -0.383482+0.997054i 0.997054-0.843661i -0.690268+0.690268i]
rx_symbols = [-1.28866-0.61584i -0.137429-0.819168i -0.352321+0.855634i 0.925303-0.933339i -0.636372+0.601103i]
dec_sym_numbers = [207 216 42 225 76]
* modulating bits:
tx_bits = [0 0 1 0 0 0 0 1 1 1 0 1 1 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0]
tx_symbols = [0.997054+0.690268i -1.15045-0.230089i 0.383482-1.15045i 0.230089+1.15045i 0.0766965+1.15045i]
rx_symbols = [0.85884+0.764697i -0.904394-0.512382i 0.414644-1.29187i 0.158338+1.06077i 0.130593+1.06128i]
decbits = [0 0 1 0 0 0 1 1 1 1 1 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0]
softbits = [8.29716 1.10097 -1.13138 -0.0205756 9.95546 1.83257 -0.549819 -0.236707 -4.62394 -0.745798 -1.35605 0.103927 -10.809 2.20568 -0.264189 -0.308703 -19.0561 5.95718 2.0181 0.427263 3.50155 -1.50344 -0.748079 -0.0926941 13.9565 3.59872 0.68257 -0.251724 1.18044 -3.93731 1.01639 -0.0104063 13.9673 3.60357 0.685588 -0.25078 0.966395 -4.24489 1.1885 0.0475742]
softbits_approx = [7.02403 0.46363 -0.484505 0.00695841 8.74999 1.03431 -0.188728 -0.281861 -3.46414 -0.310436 -0.790893 0.160152 -9.5885 1.31381 -0.0489755 -0.421613 -18.5297 5.50014 1.80889 0.669152 2.40444 -0.749979 -0.330893 -0.139695 12.8977 2.70405 0.430763 -0.0398251 0.500927 -2.77802 0.455419 -0.0151691 12.9087 2.70877 0.432335 -0.0382532 0.40064 -3.10332 0.610485 0.0699481]
===========================================================
8-PSK
* modulating symbol numbers:
tx_sym_numbers = [2 4 0 1 3]
tx_symbols = [0+1i -1+0i 1+0i 0.707107+0.707107i -0.707107+0.707107i]
rx_symbols = [0.252967+0.805355i -0.860114-0.106141i 0.711661+0.206109i 0.517308+0.702208i -0.531702+0.675945i]
dec_sym_numbers = [2 4 0 1 3]
* modulating bits:
tx_bits = [1 0 1 0 0 0 1 0 0 1 1 0 0 1 0]
tx_symbols = [0-1i 1+0i 0.707107-0.707107i -1+0i -0.707107+0.707107i]
rx_symbols = [0.252967-1.19464i 1.13989-0.106141i 0.418768-0.500998i -1.1898-0.00489871i -0.531702+0.675945i]
decbits = [1 0 1 0 0 0 1 0 0 1 1 0 0 1 0]
softbits = [-18.8658 10.6077 -3.4206 5.17652 24.9264 8.18399 -4.68121 11.9029 2.99703 -7.03997 -23.6999 6.90128 6.47271 -15.0684 3.56139]
softbits_approx = [-18.8336 10.5756 -3.42058 5.17623 24.9205 8.17836 -4.63209 11.8446 2.9875 -7.03896 -23.698 6.9004 6.44467 -15.0388 3.55981]
===========================================================
16-QAM
* modulating symbol numbers:
tx_sym_numbers = [7 5 5 12 11]
tx_symbols = [-0.948683+0.316228i 0.316228+0.316228i 0.316228+0.316228i 0.948683-0.948683i -0.948683-0.316228i]
rx_symbols = [-0.873937+0.458573i 0.364507+0.394268i -0.0313913+0.280431i 1.06373-0.793134i -1.33301-0.22556i]
dec_sym_numbers = [7 5 6 12 11]
* modulating bits:
tx_bits = [1 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1]
tx_symbols = [0.948683-0.316228i -0.316228-0.948683i 0.948683+0.948683i 0.948683+0.948683i 0.316228+0.948683i]
rx_symbols = [1.02343-0.173883i -0.267949-0.870644i 0.601064+0.912887i 1.06373+1.10423i -0.068096+1.03935i]
decbits = [1 1 0 0 1 0 1 1 0 0 0 1 0 0 0 0 0 0 1 1]
softbits = [-2.20245 -5.90431 17.898 4.94547 -14.0737 3.01285 -3.3992 -4.64383 15.1228 3.54719 8.11712 -0.39757 19.9377 5.96756 18.9148 5.45527 18.2995 5.14687 -0.862006 -7.41837]
softbits_approx = [-2.19946 -5.80054 17.8909 4.94547 -14.0257 3.01287 -3.38931 -4.61069 15.0944 3.5472 7.60293 -0.397072 19.9351 5.96756 18.9105 5.45527 18.2937 5.14687 -0.861354 -7.13865]
|