Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / trellis_viterbi_combined_xx.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Trellis Viterbi Combined
5 ###################################################
6  -->
7 <block>
8         <name>Trellis Viterbi Combo</name>
9         <key>trellis_viterbi_combined_xx</key>
10         <import>from gnuradio import trellis</import>
11         <make>trellis.viterbi_combined_$(type)$(out_type)(trellis.fsm($fsm_args), $block_size, $init_state, $final_state, $dim, $table, $metric_type)</make>
12         <callback>set_TABLE($table)</callback>
13         <param>
14                 <name>Input Type</name>
15                 <key>type</key>
16                 <type>enum</type>
17                 <option>
18                         <name>Complex</name>
19                         <key>c</key>
20                         <opt>io:complex</opt>
21                         <opt>table:complex_vector</opt>
22                 </option>
23                 <option>
24                         <name>Float</name>
25                         <key>f</key>
26                         <opt>io:float</opt>
27                         <opt>table:real_vector</opt>
28                 </option>
29                 <option>
30                         <name>Int</name>
31                         <key>i</key>
32                         <opt>io:int</opt>
33                         <opt>table:int_vector</opt>
34                 </option>
35                 <option>
36                         <name>Short</name>
37                         <key>s</key>
38                         <opt>io:short</opt>
39                         <opt>table:int_vector</opt>
40                 </option>
41         </param>
42         <param>
43                 <name>Output Type</name>
44                 <key>out_type</key>
45                 <type>enum</type>
46                 <option>
47                         <name>Int</name>
48                         <key>i</key>
49                         <opt>io:int</opt>
50                 </option>
51                 <option>
52                         <name>Short</name>
53                         <key>s</key>
54                         <opt>io:short</opt>
55                 </option>
56                 <option>
57                         <name>Byte</name>
58                         <key>b</key>
59                         <opt>io:byte</opt>
60                 </option>
61         </param>
62         <param>
63                 <name>FSM Args</name>
64                 <key>fsm_args</key>
65                 <type>raw</type>
66         </param>
67         <param>
68                 <name>Block Size</name>
69                 <key>block_size</key>
70                 <type>int</type>
71         </param>
72         <param>
73                 <name>Initial State</name>
74                 <key>init_state</key>
75                 <value>-1</value>
76                 <type>int</type>
77         </param>
78         <param>
79                 <name>Final State</name>
80                 <key>final_state</key>
81                 <value>-1</value>
82                 <type>int</type>
83         </param>
84         <param>
85                 <name>Dimensionality</name>
86                 <key>dim</key>
87                 <type>int</type>
88         </param>
89         <param>
90                 <name>Constellation</name>
91                 <key>table</key>
92                 <type>$type.table</type>
93         </param>
94         <param>
95                 <name>Metric Type</name>
96                 <key>metric_type</key>
97                 <type>enum</type>
98                 <option>
99                         <name>Euclidean</name>
100                         <key>trellis.TRELLIS_EUCLIDEAN</key>
101                 </option>
102                 <option>
103                         <name>Hard Symbol</name>
104                         <key>trellis.TRELLIS_HARD_SYMBOL</key>
105                 </option>
106                 <option>
107                         <name>Hard Bit</name>
108                         <key>trellis.TRELLIS_HARD_BIT</key>
109                 </option>
110         </param>
111         <sink>
112                 <name>in</name>
113                 <type>$type.io</type>
114         </sink>
115         <source>
116                 <name>out</name>
117                 <type>$out_type.io</type>
118         </source>
119         <doc>
120 Viterbi Decoder combined with metric calculation. \
121 The fsm arguments are passed directly to the trellis.fsm() constructor.
122         </doc>
123 </block>