Add new block gr.additive_scrambler_bb()
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Sun, 21 Mar 2010 23:17:15 +0000 (16:17 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Sun, 21 Mar 2010 23:17:15 +0000 (16:17 -0700)
commit1ae689ff9238dcffbf65881b8ca03aa8df3844aa
tree84592461ca6427fa63c62a846ae75fe2d86e3059
parent769b8bbe0aed088b6d1582d2d81d0966cee4c604
Add new block gr.additive_scrambler_bb()

This block performs scrambling by XORing the input sequence with
the output of an LFSR.  Repeating this operation restores the original
sequence.

(This differs from gr.scrambler_bb(), which convolves the input sequence
with the LFSR output.)

The additive scrambler allows an optional bit count after which the LFSR
is reset to its initial seed.  This allows use with, e.g., packetized
fixed length payloads.
gnuradio-core/src/lib/general/Makefile.am
gnuradio-core/src/lib/general/general.i
gnuradio-core/src/lib/general/gr_additive_scrambler_bb.cc [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_additive_scrambler_bb.h [new file with mode: 0644]
gnuradio-core/src/lib/general/gr_additive_scrambler_bb.i [new file with mode: 0644]
gnuradio-core/src/lib/general/gri_lfsr.h
gnuradio-core/src/python/gnuradio/gr/qa_scrambler.py
grc/blocks/Makefile.am
grc/blocks/block_tree.xml
grc/blocks/gr_additive_scrambler_bb.xml [new file with mode: 0644]