summaryrefslogtreecommitdiff
path: root/gr-filter/grc
diff options
context:
space:
mode:
authorTom Rondeau2012-06-17 21:49:35 -0400
committerTom Rondeau2012-06-17 21:49:35 -0400
commitf049a184c38a9344efea24ec813a13499237e23b (patch)
treeee7bab3bc66c715aafb84b05db78bef7dc36e81b /gr-filter/grc
parent6b2dbab570adceb3a7fa29f298da24a5e53cbf64 (diff)
downloadgnuradio-f049a184c38a9344efea24ec813a13499237e23b.tar.gz
gnuradio-f049a184c38a9344efea24ec813a13499237e23b.tar.bz2
gnuradio-f049a184c38a9344efea24ec813a13499237e23b.zip
filter: adding fractional_interpolator_{cc,ff} with QA and GRC.
Diffstat (limited to 'gr-filter/grc')
-rw-r--r--gr-filter/grc/CMakeLists.txt1
-rw-r--r--gr-filter/grc/filter_block_tree.xml1
-rw-r--r--gr-filter/grc/fractional_interpolator_xx.xml46
3 files changed, 48 insertions, 0 deletions
diff --git a/gr-filter/grc/CMakeLists.txt b/gr-filter/grc/CMakeLists.txt
index 531dc5271..48d452d39 100644
--- a/gr-filter/grc/CMakeLists.txt
+++ b/gr-filter/grc/CMakeLists.txt
@@ -23,6 +23,7 @@ install(FILES
fft_filter_xxx.xml
fir_filter_xxx.xml
filter_delay_fc.xml
+ fractional_interpolator_xx.xml
freq_xlating_fir_filter_xxx.xml
hilbert_fc.xml
iir_filter_ffd.xml
diff --git a/gr-filter/grc/filter_block_tree.xml b/gr-filter/grc/filter_block_tree.xml
index 8ab43644b..7f34a1b70 100644
--- a/gr-filter/grc/filter_block_tree.xml
+++ b/gr-filter/grc/filter_block_tree.xml
@@ -34,6 +34,7 @@
<block>fft_filter_xxx</block>
<block>fir_filter_xxx</block>
<block>filter_delay_fc</block>
+ <block>fractional_interpolator_xx</block>
<block>freq_xlating_fir_filter_xxx</block>
<block>hilbert_fc</block>
<block>iir_filter_ffd</block>
diff --git a/gr-filter/grc/fractional_interpolator_xx.xml b/gr-filter/grc/fractional_interpolator_xx.xml
new file mode 100644
index 000000000..760e8bb06
--- /dev/null
+++ b/gr-filter/grc/fractional_interpolator_xx.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Fractional Interpolator
+###################################################
+ -->
+<block>
+ <name>Fractional Interpolator</name>
+ <key>fractional_interpolator_xx</key>
+ <import>from gnuradio import filter</import>
+ <make>filter.fractional_interpolator_$(type.fcn)($phase_shift, $interp_ratio)</make>
+ <callback>set_interp_ratio($interp_ratio)</callback>
+ <param>
+ <name>Type</name>
+ <key>type</key>
+ <type>enum</type>
+ <option>
+ <name>Complex</name>
+ <key>complex</key>
+ <opt>fcn:cc</opt>
+ </option>
+ <option>
+ <name>Float</name>
+ <key>float</key>
+ <opt>fcn:ff</opt>
+ </option>
+ </param>
+ <param>
+ <name>Phase Shift</name>
+ <key>phase_shift</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Interpolation Ratio</name>
+ <key>interp_ratio</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>$type</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>$type</type>
+ </source>
+</block>