File: modulator_test.ref

package info (click to toggle)
libitpp 4.3.1-14
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,952 kB
  • sloc: cpp: 73,628; makefile: 661; python: 548; sh: 261
file content (124 lines) | stat: -rw-r--r-- 7,936 bytes parent folder | download | duplicates (7)
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         = [1 1 0 1 1]
  tx_symbols      = [-1 -1 1 -1 -1]
  rx_symbols      = [-0.903346 -0.634069 0.890343 -1.15583 -0.830113]
  decbits         = [1 1 0 1 1]
* modulating symbol numbers:
  tx_sym_numbers  = [1 1 0 1 1]
  tx_symbols      = [-1 -1 1 -1 -1]
  rx_symbols      = [-0.903346 -0.634069 0.890343 -1.15583 -0.830113]
  dec_sym_numbers = [1 1 0 1 1]

BPSK (real signal)
* modulating bits:
  tx_bits         = [1 1 0 1 1]
  tx_symbols      = [-1 -1 1 -1 -1]
  rx_symbols      = [-0.903346 -0.634069 0.890343 -1.15583 -0.830113]
  decbits         = [1 1 0 1 1]

BPSK (complex signal)
* modulating bits:
  tx_bits         = [1 1 0 1 1]
  tx_csymbols     = [-1+0i -1+0i 1+0i -1+0i -1+0i]
  rx_csymbols     = [-0.903346-0.0966544i -0.634069-0.365931i 0.890343+0.109657i -1.15583+0.155832i -0.830113-0.169887i]
  decbits         = [1 1 0 1 1]
  softbits        = [-36.1338 -25.3628 35.6137 -46.2333 -33.2045]
  softbits_approx = [-36.1338 -25.3628 35.6137 -46.2333 -33.2045]

===========================================================

Modulator_1D (configured as 4-PAM)
* modulating bits:
  tx_bits         = [1 0 0 1 1 0 1 1 0 1]
  tx_symbols      = [3 -1 3 1 -1]
  rx_symbols      = [2.81898 -1.09523 2.8743 1.56882 -0.880341]
  decbits         = [1 0 0 1 1 0 1 1 0 1]
* modulating symbol numbers:
  tx_sym_numbers  = [2 0 3 3 2]
  tx_symbols      = [1 -3 3 3 1]
  rx_symbols      = [0.818976 -3.09523 2.8743 3.56882 1.11966]
  dec_sym_numbers = [2 0 3 3 2]

4-PAM (real signal)
* modulating bits:
  tx_bits         = [1 0 0 1 1 0 1 1 0 1]
  tx_symbols      = [-1.34164 0.447214 -1.34164 -0.447214 0.447214]
  rx_symbols      = [-1.52266 0.351985 -1.46734 0.121605 0.566872]
  decbits         = [1 0 0 1 1 0 0 1 0 1]

4-PAM (complex signal)
* modulating bits:
  tx_bits         = [1 0 0 1 1 0 1 1 0 1]
  tx_csymbols     = [-1.34164+0i 0.447214+0i -1.34164+0i -0.447214+0i 0.447214+0i]
  rx_csymbols     = [-1.52266+0.181024i 0.351985+0.0952288i -1.46734+0.125701i 0.121605-0.568819i 0.566872-0.119659i]
  decbits         = [1 0 0 1 1 0 0 1 0 1]
  softbits        = [-38.4765 11.2383 6.29656 -9.70535 -36.4973 10.2486 2.17534 -13.9308 10.1434 -5.85952]
  softbits_approx = [-38.4765 11.2383 6.2965 -9.7035 -36.4972 10.2486 2.17534 -13.8247 10.1405 -5.85948]

===========================================================

Modulator_2D (configured as 256-QAM)
* modulating symbol numbers:
  tx_sym_numbers  = [59 139 29 178 124]
  tx_symbols      = [-0.536875+0.690268i -0.536875-0.0766965i -0.843661+0.997054i 0.843661-0.536875i -0.690268+0.0766965i]
  rx_symbols      = [-0.254627+0.564075i -0.440218+0.144641i -1.01567+1.09629i 0.848682-0.37757i -0.759703-0.322026i]
  dec_sym_numbers = [73 122 14 162 172]
* modulating bits:
  tx_bits         = [0 1 0 1 1 0 1 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 1 0 1]
  tx_symbols      = [-0.843661+0.230089i -0.997054+1.15045i 0.997054+0.0766965i -0.383482-0.0766965i -0.230089+0.536875i]
  rx_symbols      = [-0.561413+0.103896i -0.900397+1.37179i 0.825046+0.175927i -0.378462+0.0826089i -0.299524+0.138153i]
  decbits         = [0 1 0 0 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 0 1 1 1 1 0 1 0 0 1 1 0 1]
  softbits        = [0.764361 -4.53879 1.33914 0.0998816 -5.24815 -0.383786 -1.56908 0.175588 20.8995 6.83599 2.47707 0.707791 -10.7329 2.17238 -0.289121 -0.303773 1.31869 -3.74479 0.901794 -0.0470311 9.34327 1.56432 -0.762366 -0.165231 0.605491 -4.76275 1.44412 0.13652 -3.12443 -1.80187 -0.499773 -0.153056 1.02428 -4.16087 1.14289 0.0319552 -2.36526 -2.49883 0.0507592 -0.205765]
  softbits_approx = [0.318739 -3.43093 0.774286 0.151849 -4.06582 -0.160015 -1.09173 0.310573 20.4911 6.48084 2.29924 0.914328 -9.51492 1.28929 -0.061239 -0.409349 0.608852 -2.61613 0.401456 -0.0691321 8.12793 0.826956 -0.292404 -0.178184 0.253433 -3.69215 0.9049 0.217156 -2.07144 -0.971982 -0.219892 -0.250697 0.423836 -3.01054 0.564094 0.0467527 -1.36721 -1.4786 0.0222797 -0.448308]

256-QAM
* modulating symbol numbers:
  tx_sym_numbers  = [59 139 29 178 124]
  tx_symbols      = [-0.536875+0.690268i -0.536875-0.0766965i -0.843661+0.997054i 0.843661-0.536875i -0.690268+0.0766965i]
  rx_symbols      = [-0.254627+0.564075i -0.440218+0.144641i -1.01567+1.09629i 0.848682-0.37757i -0.759703-0.322026i]
  dec_sym_numbers = [73 122 14 162 172]
* modulating bits:
  tx_bits         = [0 1 0 1 1 0 1 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 1 0 1]
  tx_symbols      = [-0.843661+0.230089i -0.997054+1.15045i 0.997054+0.0766965i -0.383482-0.0766965i -0.230089+0.536875i]
  rx_symbols      = [-0.561413+0.103896i -0.900397+1.37179i 0.825046+0.175927i -0.378462+0.0826089i -0.299524+0.138153i]
  decbits         = [0 1 0 0 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 0 1 1 1 1 0 1 0 0 1 1 0 1]
  softbits        = [0.764361 -4.53879 1.33914 0.0998816 -5.24815 -0.383786 -1.56908 0.175588 20.8995 6.83599 2.47707 0.707791 -10.7329 2.17238 -0.289121 -0.303773 1.31869 -3.74479 0.901794 -0.0470311 9.34327 1.56432 -0.762366 -0.165231 0.605491 -4.76275 1.44412 0.13652 -3.12443 -1.80187 -0.499773 -0.153056 1.02428 -4.16087 1.14289 0.0319552 -2.36526 -2.49883 0.0507592 -0.205765]
  softbits_approx = [0.318739 -3.43093 0.774286 0.151849 -4.06582 -0.160015 -1.09173 0.310573 20.4911 6.48084 2.29924 0.914328 -9.51492 1.28929 -0.061239 -0.409349 0.608852 -2.61613 0.401456 -0.0691321 8.12793 0.826956 -0.292404 -0.178184 0.253433 -3.69215 0.9049 0.217156 -2.07144 -0.971982 -0.219892 -0.250697 0.423836 -3.01054 0.564094 0.0467527 -1.36721 -1.4786 0.0222797 -0.448308]

===========================================================

8-PSK
* modulating symbol numbers:
  tx_sym_numbers  = [7 7 7 0 1]
  tx_symbols      = [0.707107-0.707107i 0.707107-0.707107i 0.707107-0.707107i 1+0i 0.707107+0.707107i]
  rx_symbols      = [0.8977-0.790151i 0.613921-1.00098i 0.597143-0.839004i 1.14134+0.25144i 0.978761+0.560701i]
  dec_sym_numbers = [7 7 7 0 1]
* modulating bits:
  tx_bits         = [1 0 1 0 0 1 1 0 0 1 0 1 0 1 1]
  tx_symbols      = [0-1i 0.707107+0.707107i 0.707107-0.707107i 0-1i 0+1i]
  rx_symbols      = [0.190593-1.08304i 0.613921+0.413229i 0.597143-0.839004i 0.141345-0.74856i 0.271654+0.853594i]
  decbits         = [1 0 1 0 0 1 1 0 0 1 0 1 0 1 1]
  softbits        = [-17.8748 9.0654 -3.64905 11.79 6.36194 -2.2495 -8.39621 16.9189 3.53033 -12.2338 6.47187 -2.38768 22.7189 -1.15859 -9.05583]
  softbits_approx = [-17.849 9.03972 -3.64894 11.6879 6.26152 -2.24768 -8.36733 16.8897 3.5301 -12.1443 6.38388 -2.38605 22.505 -1.15847 -8.842]

===========================================================

16-QAM
* modulating symbol numbers:
  tx_sym_numbers  = [8 9 15 10 2]
  tx_symbols      = [0.948683-0.316228i 0.316228-0.316228i -0.948683-0.948683i -0.316228-0.316228i -0.316228+0.948683i]
  rx_symbols      = [0.761834-0.196896i 0.818726-0.145779i -1.08588-1.63427i -0.239432-0.0518489i -0.318584+0.783665i]
  dec_sym_numbers = [8 8 15 10 2]
* modulating bits:
  tx_bits         = [1 1 0 1 1 0 0 0 1 0 1 1 1 0 0 1 0 1 1 0]
  tx_symbols      = [0.316228-0.316228i 0.948683-0.948683i -0.316228-0.948683i 0.316228-0.948683i -0.948683+0.316228i]
  rx_symbols      = [0.129379-0.196896i 1.45118-0.778235i -0.453421-1.63427i 0.393024-0.684304i -0.95104+0.151209i]
  decbits         = [1 1 0 1 1 0 0 0 1 0 1 1 1 0 0 1 0 1 1 0]
  softbits        = [-2.49457 -5.58849 1.63818 -6.53399 -11.8348 1.84392 28.7123 10.3562 -33.3441 12.6721 -5.83419 -2.26785 -9.72974 0.655668 5.01865 -3.03551 1.91488 -6.22187 -16.0772 4.0298]
  softbits_approx = [-2.49055 -5.50945 1.63652 -6.36348 -11.688 1.84398 28.7123 10.3562 -33.3441 12.6721 -5.73537 -2.26463 -9.31168 0.655842 4.9714 -3.0286 1.91266 -6.08734 -16.0596 4.02981]