forked from agelonch/aloe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ofdm.app
executable file
·92 lines (83 loc) · 1.6 KB
/
ofdm.app
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
modules:
{
source:
{
binary="modrep_default/libsource.so";
mopts=5;
variables=(
{name="block_length";value=308;},
{name="generator";value=0;}
);
};
crc:
{
binary="modrep_ofdm/libgen_crc.so";
mopts=5;
variables=({name="long_crc";value=24;});
};
coder:
{
binary="modrep_ofdm/liblte_encoder.so";
mopts=5;
variables=({name="padding";value=0;});
};
modulator:
{
binary="modrep_ofdm/libgen_modulator.so";
mopts=5;
variables=({name="modulation";value=1;});
};
padding:
{
binary="modrep_ofdm/libgen_padding.so";
mopts=5;
variables=(
{name="data_type";value=0;},
{name="pre_padding";value=28;},
{name="post_padding";value=28;},
{name="nof_packets";value=7;}
);
};
ifft:
{
binary="modrep_ofdm/libgen_dft.so";
mopts=5;
variables=(
{name="direction";value=1;},
{name="mirror";value=1;},
{name="normalize";value=1;},
{name="dft_size";value=128;}
);
};
cyclic:
{
binary="modrep_ofdm/libgen_cyclic.so";
mopts=5;
variables=(
{name="ofdm_symbol_sz";value=128;},
{name="cyclic_prefix_sz";value=9;},
{name="first_cyclic_prefix_sz";value=10;}
);
};
sink:
{
binary="modrep_default/libplp_sink.so";
mopts=5;
variables=(
{name="is_complex";value=1;},
{name="mode";value=3;},
{name="fft_size";value=512;},
{name="print_not_received";value=1;}
);
};
};
interfaces:
(
{src=("source",0);dest=("crc",0)},
{src="crc";dest="coder"}, /* default port is 0 */
{src="coder";dest="modulator"},
{src="modulator";dest="padding"},
{src="padding";dest="ifft"},
{src="ifft";dest="cyclic"},
{src="cyclic";dest="sink"}
);