summaryrefslogtreecommitdiff
path: root/gr-filter/grc
diff options
context:
space:
mode:
authorTom Rondeau2012-06-15 17:56:33 -0400
committerTom Rondeau2012-06-15 17:56:33 -0400
commit3cd0ea45255e2ca43931b2f067ec82fc92f4293e (patch)
tree2fac0d60af7df883f9c71d89de0741beb07a2d5b /gr-filter/grc
parentb70bcc34ce4bd778a56e91da4b061475cda7cb6d (diff)
downloadgnuradio-3cd0ea45255e2ca43931b2f067ec82fc92f4293e.tar.gz
gnuradio-3cd0ea45255e2ca43931b2f067ec82fc92f4293e.tar.bz2
gnuradio-3cd0ea45255e2ca43931b2f067ec82fc92f4293e.zip
filter: adding IIR filter.
Include 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/iir_filter_ffd.xml31
3 files changed, 33 insertions, 0 deletions
diff --git a/gr-filter/grc/CMakeLists.txt b/gr-filter/grc/CMakeLists.txt
index 83036a0b3..63434fe75 100644
--- a/gr-filter/grc/CMakeLists.txt
+++ b/gr-filter/grc/CMakeLists.txt
@@ -24,6 +24,7 @@ install(FILES
fir_filter_xxx.xml
filter_delay_fc.xml
hilbert_fc.xml
+ iir_filter_ffd.xml
pfb_channelizer.xml
single_pole_iir_filter_xx.xml
DESTINATION ${GRC_BLOCKS_DIR}
diff --git a/gr-filter/grc/filter_block_tree.xml b/gr-filter/grc/filter_block_tree.xml
index 6711e809f..2ae4eb628 100644
--- a/gr-filter/grc/filter_block_tree.xml
+++ b/gr-filter/grc/filter_block_tree.xml
@@ -35,6 +35,7 @@
<block>fir_filter_xxx</block>
<block>filter_delay_fc</block>
<block>hilbert_fc</block>
+ <block>iir_filter_ffd</block>
<block>pfb_channelizer_ccf</block>
<block>single_pole_iir_filter_xx</block>
</cat>
diff --git a/gr-filter/grc/iir_filter_ffd.xml b/gr-filter/grc/iir_filter_ffd.xml
new file mode 100644
index 000000000..261aba320
--- /dev/null
+++ b/gr-filter/grc/iir_filter_ffd.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##IIR Filter
+###################################################
+ -->
+<block>
+ <name>IIR Filter</name>
+ <key>iir_filter_ffd</key>
+ <import>from gnuradio import filter</import>
+ <make>filter.iir_filter_ffd($fftaps, $fbtaps)</make>
+ <callback>set_taps($fftaps, $fbtaps)</callback>
+ <param>
+ <name>Feed-forward Taps</name>
+ <key>fftaps</key>
+ <type>real_vector</type>
+ </param>
+ <param>
+ <name>Feedback Taps</name>
+ <key>fbtaps</key>
+ <type>real_vector</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>float</type>
+ </source>
+</block>