From bbd91d7a08bfc0c229267e5dc848d1f57d629373 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Thu, 19 Jul 2012 06:27:19 -0700 Subject: blocks: added gr::blocks::keep_m_in_n --- gr-blocks/grc/blocks_keep_m_in_n.xml | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 gr-blocks/grc/blocks_keep_m_in_n.xml (limited to 'gr-blocks/grc/blocks_keep_m_in_n.xml') diff --git a/gr-blocks/grc/blocks_keep_m_in_n.xml b/gr-blocks/grc/blocks_keep_m_in_n.xml new file mode 100644 index 000000000..9e861749b --- /dev/null +++ b/gr-blocks/grc/blocks_keep_m_in_n.xml @@ -0,0 +1,76 @@ + + + + Keep M in N + blocks_keep_m_in_n + from gnuradio import blocks + blocks.keep_m_in_n($type.size, $m, $n, $offset) + set_offset($offset) + set_m($m) + set_n($n) + + Type + type + enum + + + + + + + + M + m + 1 + int + + + N + n + 2 + int + + + initial offset + offset + 0 + int + + $n > 0 + $m > 0 + $m < $n + + in + $type + 1 + + + out + $type + 1 + + -- cgit