From 9988664127b367fa8fee4409f8460673d6f265e1 Mon Sep 17 00:00:00 2001 From: jblum Date: Tue, 23 Jun 2009 20:38:18 +0000 Subject: Merging r11186:11273 from grc branch. Fixes, features, and reorganization for grc. Minor fixes and features for wxgui forms. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11274 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/blocks/blks2_ofdm_demod.xml | 122 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 grc/blocks/blks2_ofdm_demod.xml (limited to 'grc/blocks/blks2_ofdm_demod.xml') diff --git a/grc/blocks/blks2_ofdm_demod.xml b/grc/blocks/blks2_ofdm_demod.xml new file mode 100644 index 000000000..ac5ee4795 --- /dev/null +++ b/grc/blocks/blks2_ofdm_demod.xml @@ -0,0 +1,122 @@ + + + + OFDM Demod + blks2_ofdm_demod + from grc_gnuradio import blks2 as grc_blks2 + from gnuradio import blks2 + grc_blks2.packet_demod_$(type.fcn)(blks2.ofdm_demod( + options=grc_blks2.options( + modulation="$modulation", + fft_length=$fft_length, + occupied_tones=$occupied_tones, + cp_length=$cp_length, + snr=$snr, + log=None, + verbose=None, + ), + callback=lambda ok, payload: self.$(id).recv_pkt(ok, payload), + ), +) + + Output Type + type + float + enum + + + + + + + + Modulation + modulation + enum + + + + + + + + + + FFT Length + fft_length + 512 + int + + + Occupied Tones + occupied_tones + 200 + int + + + Cyclic Prefix Length + cp_length + 128 + int + + + SNR + snr + 10 + real + + + in + complex + + + out + $type + + Payload Length: 0 for automatic. + -- cgit