summaryrefslogtreecommitdiff
path: root/gr-fec/grc
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2012-11-12 20:36:05 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2012-11-12 20:36:05 -0800
commitce1213e615023fa5c43f75ba2d2ec54649025b8f (patch)
tree8567615201922dc4f1196a965161f4bba0e24dd7 /gr-fec/grc
parent5b568abe194f027860670317915c27c174fab52e (diff)
fec: add new top-level component for FEC blocks
Removed viterbi and reed-solomon from gnuradio-core
Diffstat (limited to 'gr-fec/grc')
-rw-r--r--gr-fec/grc/CMakeLists.txt22
-rw-r--r--gr-fec/grc/fec_block_tree.xml14
-rw-r--r--gr-fec/grc/fec_decode_ccsds_27_bb.xml20
-rw-r--r--gr-fec/grc/fec_decode_ccsds_27_fb.xml20
4 files changed, 76 insertions, 0 deletions
diff --git a/gr-fec/grc/CMakeLists.txt b/gr-fec/grc/CMakeLists.txt
new file mode 100644
index 0000000000..27cb5af854
--- /dev/null
+++ b/gr-fec/grc/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Copyright 2012 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+
+########################################################################
+file(GLOB xml_files "*.xml")
+install(FILES ${xml_files} DESTINATION ${GRC_BLOCKS_DIR} COMPONENT "fec_python")
diff --git a/gr-fec/grc/fec_block_tree.xml b/gr-fec/grc/fec_block_tree.xml
new file mode 100644
index 0000000000..3b54719c94
--- /dev/null
+++ b/gr-fec/grc/fec_block_tree.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Block Tree for gr-fec
+###################################################
+ -->
+<cat>
+ <name></name> <!-- Blank for Root Name -->
+ <cat>
+ <name>FEC (New)</name>
+ <block>fec_decode_ccsds_27_fb</block>
+ <block>fec_encode_ccsds_27_bb</block>
+ </cat>
+</cat>
diff --git a/gr-fec/grc/fec_decode_ccsds_27_bb.xml b/gr-fec/grc/fec_decode_ccsds_27_bb.xml
new file mode 100644
index 0000000000..ea11837c11
--- /dev/null
+++ b/gr-fec/grc/fec_decode_ccsds_27_bb.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Encode CCSDS 27
+###################################################
+ -->
+<block>
+ <name>Encode CCSDS 27</name>
+ <key>fec_encode_ccsds_27_bb</key>
+ <import>from gnuradio import fec</import>
+ <make>fec.encode_ccsds_27_bb()</make>
+ <sink>
+ <name>in</name>
+ <type>byte</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>byte</type>
+ </source>
+</block>
diff --git a/gr-fec/grc/fec_decode_ccsds_27_fb.xml b/gr-fec/grc/fec_decode_ccsds_27_fb.xml
new file mode 100644
index 0000000000..4ea2a02bf9
--- /dev/null
+++ b/gr-fec/grc/fec_decode_ccsds_27_fb.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Decode CCSDS 27
+###################################################
+ -->
+<block>
+ <name>Decode CCSDS 27</name>
+ <key>fec_decode_ccsds_27_fb</key>
+ <import>from gnuradio import fec</import>
+ <make>fec.decode_ccsds_27_fb()</make>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>byte</type>
+ </source>
+</block>