Wednesday, November 16, 2016

Re: [Discuss-gnuradio] Tag propagaton bug in pack_k_bits_bb

On Wed, Nov 16, 2016 at 5:15 PM, Eugene Grayver <eugene.grayver@aero.org> wrote:

I found a tag propagation bug in pack_k_bits_bb.  Example python file to demonstrate the bug is below.  This block takes every 2 bits and packs them into one output.  Thus, a tag on input 0 should come out on output 0, and tag on input 7 should come out on output 3.  However, as can be seen from this example, the second tag comes out on output 4.  This is probably due to the way sync_decimator does tag propagation: round(input_index / decimation).  However, that is NOT the correct approach for this block.

​It would be useful to report this as an issue on our Github tracker.

--
Johnathan Corgan
Corgan Labs - SDR Training and Development Services

No comments:

Post a Comment