File: convcode_test.ref

package info (click to toggle)
libitpp 4.3.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,952 kB
  • sloc: cpp: 73,628; makefile: 661; python: 548; sh: 261
file content (69 lines) | stat: -rw-r--r-- 3,024 bytes parent folder | download | duplicates (6)
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
====================================
    Test of convolutional coders    
====================================
------------------------------------------------------------------------------
1) Rate 1/2 code
------------------------------------------------------------------------------
Catastrophic test = 0
Code rate         = 0.5

Spectrum:
* Ad = [0 0 0 0 0 0 0 0 0 0 11 0 38 0 193 0 1331 0 7275 0]
* Cd = [0 0 0 0 0 0 0 0 0 0 36 0 211 0 1404 0 11633 0 77433 0]
Spectrum, fast:
* Ad = [0 0 0 0 0 0 0 0 0 0 11 0 38 0 193 0 1331 0 7275 0]
* Cd = [0 0 0 0 0 0 0 0 0 0 36 0 211 0 1404 0 11633 0 77433 0]

Distance profile  = [2 3 3 4 4 4 4]

Tail method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
* Coded bits    = [0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 1 0 1 1 0 1 0 0]
* Decoded bits  = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
BER = 0

Tailbite method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
* Coded bits    = [0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 1 0 1 1 0 1 0 0]
* Decoded bits  = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
BER = 0

Trunc method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
* Coded bits    = [0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 1 0 1 1 0 1 0 0]
* Decoded bits  = [1 1 1 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 0 1]
BER = 0

------------------------------------------------------------------------------
2) Punctured code (R = 3/4)
------------------------------------------------------------------------------
Catastrophic test = 0
Code rate         = 0.75
Puncture matrix   = [[1 0 1]
 [1 1 0]]

Tail method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
* Coded bits    = [1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 1]
* Decoded bits  = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
BER = 0

Tailbite method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
* Coded bits    = [1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 1]
* Decoded bits  = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
BER = 0

Trunc method test. Printing 30 bits starting from bit 1400:
* Input bits    = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
* Coded bits    = [0 1 1 1 0 0 1 0 1 0 1 0 1 1 0 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0]
* Decoded bits  = [1 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0]
BER = 0

------------------------------------------------------------------------------
3) Rate 1/7 code
------------------------------------------------------------------------------
* Input bits    = [1 1 1 1 1 1 1]
* Decoded bits  = [1 1 1 1 1 1 1]
BER = 0