From cc208f46b1219e54ca28fa125057311572332833 Mon Sep 17 00:00:00 2001 From: jblum Date: Tue, 7 Oct 2008 20:50:02 +0000 Subject: scrambler stuff git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9727 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/data/platforms/python/block_tree.xml | 21 +++++++----- grc/data/platforms/python/blocks/Makefile.am | 2 ++ .../platforms/python/blocks/gr_descrambler_bb.xml | 38 ++++++++++++++++++++++ .../platforms/python/blocks/gr_scrambler_bb.xml | 38 ++++++++++++++++++++++ 4 files changed, 91 insertions(+), 8 deletions(-) create mode 100644 grc/data/platforms/python/blocks/gr_descrambler_bb.xml create mode 100644 grc/data/platforms/python/blocks/gr_scrambler_bb.xml (limited to 'grc/data') diff --git a/grc/data/platforms/python/block_tree.xml b/grc/data/platforms/python/block_tree.xml index 7ac9e5199..4cc98b4c5 100644 --- a/grc/data/platforms/python/block_tree.xml +++ b/grc/data/platforms/python/block_tree.xml @@ -214,6 +214,16 @@ Error Correction + + Trellis + trellis_encoder_xx + trellis_metrics_x + trellis_permutation + trellis_siso_combined_f + trellis_siso_f + trellis_viterbi_combined_xx + trellis_viterbi_x + blks2_packet_decoder blks2_packet_encoder @@ -222,14 +232,9 @@ gr_decode_ccsds_27_fb - Trellis - trellis_encoder_xx - trellis_metrics_x - trellis_permutation - trellis_siso_combined_f - trellis_siso_f - trellis_viterbi_combined_xx - trellis_viterbi_x + Line Coding + gr_scrambler_bb + gr_descrambler_bb USRP diff --git a/grc/data/platforms/python/blocks/Makefile.am b/grc/data/platforms/python/blocks/Makefile.am index 806c56bde..7bc678180 100644 --- a/grc/data/platforms/python/blocks/Makefile.am +++ b/grc/data/platforms/python/blocks/Makefile.am @@ -82,6 +82,7 @@ dist_ourdata_DATA = \ gr_decode_ccsds_27_fb.xml \ gr_deinterleave.xml \ gr_delay.xml \ + gr_descrambler_bb.xml \ gr_diff_decoder_bb.xml \ gr_diff_encoder_bb.xml \ gr_diff_phasor_cc.xml \ @@ -143,6 +144,7 @@ dist_ourdata_DATA = \ gr_repeat.xml \ gr_rms_xx.xml \ gr_sample_and_hold_xx.xml \ + gr_scrambler_bb.xml \ gr_short_to_float.xml \ gr_sig_source_x.xml \ gr_simple_correlator.xml \ diff --git a/grc/data/platforms/python/blocks/gr_descrambler_bb.xml b/grc/data/platforms/python/blocks/gr_descrambler_bb.xml new file mode 100644 index 000000000..5cfbcc203 --- /dev/null +++ b/grc/data/platforms/python/blocks/gr_descrambler_bb.xml @@ -0,0 +1,38 @@ + + + + Descrambler + gr_descrambler_bb + from gnuradio import gr + gr.descrambler_bb($mask, $seed, $len) + + Mask + mask + 0x8A + hex + + + Seed + seed + 0x7F + hex + + + Length + len + 7 + int + + + in + byte + + + out + byte + + diff --git a/grc/data/platforms/python/blocks/gr_scrambler_bb.xml b/grc/data/platforms/python/blocks/gr_scrambler_bb.xml new file mode 100644 index 000000000..d079c4015 --- /dev/null +++ b/grc/data/platforms/python/blocks/gr_scrambler_bb.xml @@ -0,0 +1,38 @@ + + + + Scrambler + gr_scrambler_bb + from gnuradio import gr + gr.scrambler_bb($mask, $seed, $len) + + Mask + mask + 0x8A + hex + + + Seed + seed + 0x7F + hex + + + Length + len + 7 + int + + + in + byte + + + out + byte + + -- cgit