summaryrefslogtreecommitdiff
path: root/gr-trellis/grc/trellis_sccc_decoder_x.xml
blob: 9fc24927b3cc9b23a81b0b038f19919373e8bdf5 (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
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
<?xml version="1.0"?>
<!--
###################################################
## SCCC Decoder 
###################################################
 -->


<block>
	<name>SCCC Decoder</name>
	<key>trellis_sccc_decoder_x</key>
	<category>Error Correction/Trellis</category>
	<import>from gnuradio import trellis</import>
	<make>trellis.sccc_decoder_$(out_type)(
		trellis.fsm($o_fsm_args), $o_init_state, $o_final_state, 
		trellis.fsm($i_fsm_args), $i_init_state, $i_final_state, 
		trellis.interleaver($interleaver), 
		$block_size,
		$iterations,
                $siso_type)
	</make>
	<param>
		<name>Output Type</name>
		<key>out_type</key>
		<type>enum</type>
		<option>
			<name>Int</name>
			<key>i</key>
			<opt>io:int</opt>
		</option>
		<option>
			<name>Short</name>
			<key>s</key>
			<opt>io:short</opt>
		</option>
		<option>
			<name>Byte</name>
			<key>b</key>
			<opt>io:byte</opt>
		</option>
	</param>
	<param>
		<name>Outer FSM</name>
		<key>o_fsm_args</key>
		<type>raw</type>
	</param>
	<param>
		<name>Outer Initial State</name>
		<key>o_init_state</key>
		<value>0</value>
		<type>int</type>
	</param>
	<param>
		<name>Outer Final State</name>
		<key>o_final_state</key>
		<value>-1</value>
		<type>int</type>
	</param>
	<param>
		<name>Inner FSM</name>
		<key>i_fsm_args</key>
		<type>raw</type>
	</param>
	<param>
		<name>Inner Initial State</name>
		<key>i_init_state</key>
		<value>0</value>
		<type>int</type>
	</param>
	<param>
		<name>Inner Final State</name>
		<key>i_final_state</key>
		<value>-1</value>
		<type>int</type>
	</param>
	<param>
		<name>Interleaver</name>
		<key>interleaver</key>
		<type>raw</type>
	</param>
	<param>
		<name>Block Size</name>
		<key>block_size</key>
		<type>int</type>
	</param>
	<param>
		<name>Iterations</name>
		<key>iterations</key>
		<value>10</value>
		<type>int</type>
	</param>
	<param>
		<name>SISO Type</name>
		<key>siso_type</key>
		<type>enum</type>
		<option>
			<name>Min Sum</name>
			<key>trellis.TRELLIS_MIN_SUM</key>
		</option>
		<option>
			<name>Sum Product</name>
			<key>trellis.TRELLIS_SUM_PRODUCT</key>
		</option>
	</param>
	<sink>
		<name>in</name>
		<type>float</type>
	</sink>
	<source>
		<name>out</name>
		<type>$out_type.io</type>
	</source>
	<doc>
SCCC turbo Decoder.
The fsm and interleaver arguments are passed directly to the trellis.fsm() and trellis.interleaver() constructors.
	</doc>
</block>