diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2012-06-10 13:54:09 -0400 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2012-06-10 14:48:25 -0400 |
commit | c8c5158133fb7a20413e42f59632930758561ad9 (patch) | |
tree | dc8460f9227ff0660e0c7fb55b0b30afd0446715 /grc/blocks | |
parent | f2ab263b6fc9c24adc88fb55f2c210dd88e9345a (diff) |
gr_unpack_k_bits:
added python QA code
reversed bit ordering to match gr_pack_k_bits
gr_keep_m_in_n:
added python QA code
switched block to operate on individual items as itemsize instead of vectors
updated GRC to match
Diffstat (limited to 'grc/blocks')
-rw-r--r-- | grc/blocks/gr_keep_m_in_n.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/grc/blocks/gr_keep_m_in_n.xml b/grc/blocks/gr_keep_m_in_n.xml index a63ef47a66..35a1561764 100644 --- a/grc/blocks/gr_keep_m_in_n.xml +++ b/grc/blocks/gr_keep_m_in_n.xml @@ -10,6 +10,8 @@ <import>from gnuradio import gr</import> <make>gr.keep_m_in_n($type.size, $m, $n, $offset)</make> <callback>set_offset($offset)</callback> + <callback>set_m($m)</callback> + <callback>set_n($n)</callback> <param> <name>Type</name> <key>type</key> @@ -64,11 +66,11 @@ <sink> <name>in</name> <type>$type</type> - <vlen>$n</vlen> + <vlen>1</vlen> </sink> <source> <name>out</name> <type>$type</type> - <vlen>$m</vlen> + <vlen>1</vlen> </source> </block> |