summaryrefslogtreecommitdiff
path: root/grc/blocks
diff options
context:
space:
mode:
authorTom Rondeau2012-02-28 23:55:38 -0500
committerTom Rondeau2012-02-28 23:55:38 -0500
commit91bbef469b054dfd56c03d9fc027972ec102a4a9 (patch)
treeef2240620e59bb955cbc163d343c8280b09af2f2 /grc/blocks
parent68a36d3e2c78d477e9c793df9ec9f540aa5f327d (diff)
downloadgnuradio-91bbef469b054dfd56c03d9fc027972ec102a4a9.tar.gz
gnuradio-91bbef469b054dfd56c03d9fc027972ec102a4a9.tar.bz2
gnuradio-91bbef469b054dfd56c03d9fc027972ec102a4a9.zip
grc: adding new inputs to channelizer and synthesizer xml.
Diffstat (limited to 'grc/blocks')
-rw-r--r--grc/blocks/blks2_pfb_channelizer.xml7
-rw-r--r--grc/blocks/gr_pfb_synthesis_filterbank.xml14
2 files changed, 20 insertions, 1 deletions
diff --git a/grc/blocks/blks2_pfb_channelizer.xml b/grc/blocks/blks2_pfb_channelizer.xml
index aee9dd512..5a1b20edb 100644
--- a/grc/blocks/blks2_pfb_channelizer.xml
+++ b/grc/blocks/blks2_pfb_channelizer.xml
@@ -18,6 +18,8 @@
<!-- Set taps not implemented yet
<callback>set_taps($taps)</callback>
-->
+ <callback>set_channel_map(ch_$map)</callback>
+
<param>
<name>Channels</name>
<key>nchans</key>
@@ -41,6 +43,11 @@
<value>100</value>
<type>real</type>
</param>
+ <param>
+ <name>Channel Map</name>
+ <key>ch_map</key>
+ <type>int_vector</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>
diff --git a/grc/blocks/gr_pfb_synthesis_filterbank.xml b/grc/blocks/gr_pfb_synthesis_filterbank.xml
index a8b944c6a..6ea54632c 100644
--- a/grc/blocks/gr_pfb_synthesis_filterbank.xml
+++ b/grc/blocks/gr_pfb_synthesis_filterbank.xml
@@ -10,9 +10,10 @@
<import>from gnuradio import gr</import>
<import>from gnuradio.gr import firdes</import>
<make>gr.pfb_synthesis_filterbank_ccf(
- $numchans, $taps)
+ $numchans, $taps, $twox)
</make>
<callback>set_taps($taps)</callback>
+ <callback>set_channel_map($ch_map)</callback>
<param>
<name>Channels</name>
@@ -31,6 +32,17 @@
<key>taps</key>
<type>real_vector</type>
</param>
+ <param>
+ <name>2x Sample Rate</name>
+ <key>twox</key>
+ <value>False</value>
+ <type>bool</type>
+ </param>
+ <param>
+ <name>Channel Map</name>
+ <key>ch_map</key>
+ <type>int_vector</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>