diff options
author | Tom Rondeau | 2011-04-12 16:24:15 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-04-12 16:24:15 -0400 |
commit | 1046a3301307a2d2d5ab9c3279e78e89519be101 (patch) | |
tree | 7b536ab1b93e26b4dae657937dd1197d269f78fd /grc | |
parent | 8efd760f619754937bd69e90c628a3f90e2928b1 (diff) | |
download | gnuradio-1046a3301307a2d2d5ab9c3279e78e89519be101.tar.gz gnuradio-1046a3301307a2d2d5ab9c3279e78e89519be101.tar.bz2 gnuradio-1046a3301307a2d2d5ab9c3279e78e89519be101.zip |
Adding GRC block for the PFB synthesis filterbank.
Diffstat (limited to 'grc')
-rw-r--r-- | grc/blocks/Makefile.am | 1 | ||||
-rw-r--r-- | grc/blocks/block_tree.xml | 1 | ||||
-rw-r--r-- | grc/blocks/gr_pfb_synthesis_filterbank.xml | 43 |
3 files changed, 45 insertions, 0 deletions
diff --git a/grc/blocks/Makefile.am b/grc/blocks/Makefile.am index fc2d3f161..d830a1bb4 100644 --- a/grc/blocks/Makefile.am +++ b/grc/blocks/Makefile.am @@ -148,6 +148,7 @@ dist_ourdata_DATA = \ gr_peak_detector2_fb.xml \ gr_peak_detector_xb.xml \ gr_pfb_clock_sync.xml \ + gr_pfb_synthesis_filterbank.xml \ gr_phase_modulator_fc.xml \ gr_pll_carriertracking_cc.xml \ gr_pll_freqdet_cf.xml \ diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml index e7aa7c810..3eb56f82b 100644 --- a/grc/blocks/block_tree.xml +++ b/grc/blocks/block_tree.xml @@ -175,6 +175,7 @@ <block>blks2_analysis_filterbank</block> <!-- Polyphase filters --> <block>blks2_pfb_arb_resampler_ccf</block> + <block>gr_pfb_synthesis_filterbank_ccf</block> <!-- Other filters --> <block>gr_single_pole_iir_filter_xx</block> <block>gr_hilbert_fc</block> diff --git a/grc/blocks/gr_pfb_synthesis_filterbank.xml b/grc/blocks/gr_pfb_synthesis_filterbank.xml new file mode 100644 index 000000000..a8b944c6a --- /dev/null +++ b/grc/blocks/gr_pfb_synthesis_filterbank.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Polyphase Synthesis Filterbank +################################################### + --> +<block> + <name>Polyphase Synthesis Filterbank</name> + <key>gr_pfb_synthesis_filterbank_ccf</key> + <import>from gnuradio import gr</import> + <import>from gnuradio.gr import firdes</import> + <make>gr.pfb_synthesis_filterbank_ccf( + $numchans, $taps) + </make> + <callback>set_taps($taps)</callback> + + <param> + <name>Channels</name> + <key>numchans</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>Connections</name> + <key>connections</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>Taps</name> + <key>taps</key> + <type>real_vector</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + <nports>$connections</nports> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> |