aboutsummaryrefslogtreecommitdiffstats
path: root/gr-dpd/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-dpd/grc')
-rw-r--r--gr-dpd/grc/CMakeLists.txt4
-rw-r--r--gr-dpd/grc/dpd_lut.xml72
2 files changed, 75 insertions, 1 deletions
diff --git a/gr-dpd/grc/CMakeLists.txt b/gr-dpd/grc/CMakeLists.txt
index a8e0497..3c4feb1 100644
--- a/gr-dpd/grc/CMakeLists.txt
+++ b/gr-dpd/grc/CMakeLists.txt
@@ -18,5 +18,7 @@
# Boston, MA 02110-1301, USA.
install(FILES
- dpd_memless_poly.xml DESTINATION share/gnuradio/grc/blocks
+ dpd_memless_poly.xml
+ dpd_lut.xml
+ dpd_clut.xml DESTINATION share/gnuradio/grc/blocks
)
diff --git a/gr-dpd/grc/dpd_lut.xml b/gr-dpd/grc/dpd_lut.xml
new file mode 100644
index 0000000..6af793e
--- /dev/null
+++ b/gr-dpd/grc/dpd_lut.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<block>
+ <name>lut</name>
+ <key>dpd_lut</key>
+ <category>dpd</category>
+ <import>import dpd</import>
+ <make>dpd.lut($a1, $a2, $a3, $a4, $a5, $a6, $a7, $a8)</make>
+ <callback>set_a1($a1)</callback>
+ <callback>set_a2($a2)</callback>
+ <callback>set_a3($a3)</callback>
+ <callback>set_a4($a4)</callback>
+ <callback>set_a5($a5)</callback>
+ <callback>set_a6($a6)</callback>
+ <callback>set_a7($a7)</callback>
+ <callback>set_a8($a8)</callback>
+ <param>
+ <name>a1</name>
+ <key>a1</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a2</name>
+ <key>a2</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a3</name>
+ <key>a3</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a4</name>
+ <key>a4</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a5</name>
+ <key>a5</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a6</name>
+ <key>a6</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a7</name>
+ <key>a7</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <param>
+ <name>a8</name>
+ <key>a8</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>