From 91bbef469b054dfd56c03d9fc027972ec102a4a9 Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Tue, 28 Feb 2012 23:55:38 -0500
Subject: grc: adding new inputs to channelizer and synthesizer xml.

---
 grc/blocks/blks2_pfb_channelizer.xml       |  7 +++++++
 grc/blocks/gr_pfb_synthesis_filterbank.xml | 14 +++++++++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

(limited to 'grc')

diff --git a/grc/blocks/blks2_pfb_channelizer.xml b/grc/blocks/blks2_pfb_channelizer.xml
index aee9dd5129..5a1b20edb3 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 a8b944c6a7..6ea54632c6 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>
-- 
cgit v1.2.3