summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/channel-coding/fsm_files/awgn2o3_4_msbG.fsm
blob: 8956c53da2564d1677ab726f27f7dd8b33eea206 (plain)
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
4 4 8

0	1	2	3
0	1	2	3
0	1	2	3
0	1	2	3

0 	4 	2 	6
5 	1 	3 	7
3 	7 	5 	1


This is generated by the 1/2 AWGN code (5 7) operated twice, ie,
(xk+1 xki) [xk-1 xk-2] -> [xk+1 xki].
We also puncture the first (MSB) bit and Gray map the symbols.

intermediate states:

00 21 02 23
00 21 02 23
10 31 12 33
10 31 12 33

output before puncturing:

00 31 03 32
30 01 33 02
13 22 10 21
23 12 20 11

output after punturing the MSB:

00 11 03 12
10 01 13 02
13 02 10 01
03 12 00 11

and in decimal:

0 5 3 6
4 1 7 2
7 2 4 1
3 6 0 5

After Gray mapping:
label -> phase
0 -> 0
1 -> 0
2 -> 7
3 -> 2
4 -> 5
5 -> 4
6 -> 6
7 -> 3

0 4 2 6
5 1 3 7
3 7 5 1
2 6 0 4