summaryrefslogtreecommitdiff
path: root/gr-fec/grc/fec_decoder.xml
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-03-25 10:24:35 -0700
committerTom Rondeau <tom@trondeau.com>2014-05-17 17:45:12 -0400
commit6f84515d6290230abeea6c13e1c605746a8a272c (patch)
tree9886f55646d94d523f94f1fc3a7921b0ce4baf0c /gr-fec/grc/fec_decoder.xml
parent8e5eaa8dbe49973bc808dfe4cead2c91b96cb4c6 (diff)
fec: Merging fecapi with support for CC code.
Original code taken from next branch of Nick McCarthy's fecapi: https://github.com/namccart/fecapi.git Needs: examples, documentation, other tools.
Diffstat (limited to 'gr-fec/grc/fec_decoder.xml')
-rw-r--r--gr-fec/grc/fec_decoder.xml91
1 files changed, 91 insertions, 0 deletions
diff --git a/gr-fec/grc/fec_decoder.xml b/gr-fec/grc/fec_decoder.xml
new file mode 100644
index 0000000000..dd9d08d5f6
--- /dev/null
+++ b/gr-fec/grc/fec_decoder.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<block>
+ <name>FEC Decoder</name>
+ <key>fec_generic_decoder</key>
+ <import>from gnuradio import fec</import>
+ <make>fec.decoder($decoder, $itype.size, $otype.size)</make>
+
+ <param>
+ <name>Decoder Object</name>
+ <key>decoder</key>
+ <value>decoder_variable</value>
+ <type>raw</type>
+ </param>
+
+ <param>
+ <name>Input Type</name>
+ <key>itype</key>
+ <type>enum</type>
+ <option>
+ <name>Complex</name>
+ <key>complex</key>
+ <opt>size:gr.sizeof_gr_complex</opt>
+ </option>
+ <option>
+ <name>Float</name>
+ <key>float</key>
+ <opt>size:gr.sizeof_float</opt>
+ </option>
+ <option>
+ <name>Int</name>
+ <key>int</key>
+ <opt>size:gr.sizeof_int</opt>
+ </option>
+ <option>
+ <name>Short</name>
+ <key>short</key>
+ <opt>size:gr.sizeof_short</opt>
+ </option>
+ <option>
+ <name>Byte</name>
+ <key>byte</key>
+ <opt>size:gr.sizeof_char</opt>
+ </option>
+ </param>
+
+ <param>
+ <name>Output Type</name>
+ <key>otype</key>
+ <type>enum</type>
+ <option>
+ <name>Complex</name>
+ <key>complex</key>
+ <opt>size:gr.sizeof_gr_complex</opt>
+ </option>
+ <option>
+ <name>Float</name>
+ <key>float</key>
+ <opt>size:gr.sizeof_float</opt>
+ </option>
+ <option>
+ <name>Int</name>
+ <key>int</key>
+ <opt>size:gr.sizeof_int</opt>
+ </option>
+ <option>
+ <name>Short</name>
+ <key>short</key>
+ <opt>size:gr.sizeof_short</opt>
+ </option>
+ <option>
+ <name>Byte</name>
+ <key>byte</key>
+ <opt>size:gr.sizeof_char</opt>
+ </option>
+ </param>
+
+ <sink>
+ <name>in</name>
+ <type>$itype</type>
+ </sink>
+
+ <source>
+ <name>out</name>
+ <type>$otype</type>
+ </source>
+
+ <doc>
+ This is a GNU Radio adaptor for any FEC decoder following the generic_decoder API in the fec module. Input and output are flexible to accomodate decoders that, say, modulate their encoded results into complex or float types.
+ </doc>
+
+</block> \ No newline at end of file