diff options
author | Johnathan Corgan | 2010-03-21 16:17:15 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-03-21 16:17:15 -0700 |
commit | 1ae689ff9238dcffbf65881b8ca03aa8df3844aa (patch) | |
tree | 84592461ca6427fa63c62a846ae75fe2d86e3059 /gnuradio-core/src/lib/general/general.i | |
parent | 769b8bbe0aed088b6d1582d2d81d0966cee4c604 (diff) | |
download | gnuradio-1ae689ff9238dcffbf65881b8ca03aa8df3844aa.tar.gz gnuradio-1ae689ff9238dcffbf65881b8ca03aa8df3844aa.tar.bz2 gnuradio-1ae689ff9238dcffbf65881b8ca03aa8df3844aa.zip |
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.
Diffstat (limited to 'gnuradio-core/src/lib/general/general.i')
-rw-r--r-- | gnuradio-core/src/lib/general/general.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/general.i b/gnuradio-core/src/lib/general/general.i index 2c26b59cd..6929f1e6e 100644 --- a/gnuradio-core/src/lib/general/general.i +++ b/gnuradio-core/src/lib/general/general.i @@ -141,6 +141,7 @@ #include <gr_wvps_ff.h> #include <gr_copy.h> #include <gr_fll_band_edge_cc.h> +#include <gr_additive_scrambler_bb.h> %} %include "gr_nop.i" @@ -262,3 +263,4 @@ %include "gr_wvps_ff.i" %include "gr_copy.i" %include "gr_fll_band_edge_cc.i" +%include "gr_additive_scrambler_bb.i" |