File: interleaver_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 (15 lines) | stat: -rw-r--r-- 992 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Testing Block_Interleaver:
input = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
output = [1 5 9 13 17 2 6 10 14 18 3 7 11 15 19 4 8 12 16 20]
deinterleaved = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
===============================================================
Testing Cross_Interleaver:
input = [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]
output = [1 0 0 0 0 6 2 0 0 0 11 7 3 0 0 16 12 8 4 0 21 17 13 9 5 0 22 18 14 10 0 0 23 19 15 0 0 0 24 20 0 0 0 0 25 0 0 0 0 0]
deinterleaved = [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]
===============================================================
Testing Sequence_Interleaver:
input = [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]
output = [22 4 8 15 11 16 12 3 24 6 17 23 25 5 21 19 14 10 1 20 13 2 18 7 9]
deinterleaved = [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]
===============================================================