summaryrefslogtreecommitdiff
path: root/gr-digital/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/grc')
-rw-r--r--gr-digital/grc/Makefile.am1
-rw-r--r--gr-digital/grc/digital_block_tree.xml1
-rw-r--r--gr-digital/grc/digital_cma_equalizer_cc.xml9
-rw-r--r--gr-digital/grc/digital_lms_dd_equalizer_cc.xml41
4 files changed, 50 insertions, 2 deletions
diff --git a/gr-digital/grc/Makefile.am b/gr-digital/grc/Makefile.am
index 0057e0035..d271ca06a 100644
--- a/gr-digital/grc/Makefile.am
+++ b/gr-digital/grc/Makefile.am
@@ -27,6 +27,7 @@ dist_grcblocks_DATA = \
digital_block_tree.xml \
digital_costas_loop_cc.xml \
digital_cma_equalizer_cc.xml \
+ digital_lms_dd_equalizer_cc.xml \
digital_kurtotic_equalizer_cc.xml \
digital_dxpsk_mod.xml \
digital_dxpsk_demod.xml \
diff --git a/gr-digital/grc/digital_block_tree.xml b/gr-digital/grc/digital_block_tree.xml
index f60004911..1be4110e1 100644
--- a/gr-digital/grc/digital_block_tree.xml
+++ b/gr-digital/grc/digital_block_tree.xml
@@ -32,6 +32,7 @@
<name>Digital</name>
<block>digital_costas_loop_cc</block>
<block>digital_cma_equalizer_cc</block>
+ <block>digital_lms_dd_equalizer_cc</block>
<block>digital_kurtotic_equalizer_cc</block>
</cat>
<cat>
diff --git a/gr-digital/grc/digital_cma_equalizer_cc.xml b/gr-digital/grc/digital_cma_equalizer_cc.xml
index a21d700db..118c18e29 100644
--- a/gr-digital/grc/digital_cma_equalizer_cc.xml
+++ b/gr-digital/grc/digital_cma_equalizer_cc.xml
@@ -8,7 +8,7 @@
<name>CMA Equalizer</name>
<key>digital_cma_equalizer_cc</key>
<import>from gnuradio import digital</import>
- <make>digital.cma_equalizer_cc($num_taps, $modulus, $mu)</make>
+ <make>digital.cma_equalizer_cc($num_taps, $modulus, $mu, $sps)</make>
<callback>set_gain($mu)</callback>
<callback>set_modulus($modulus)</callback>
<param>
@@ -22,10 +22,15 @@
<type>real</type>
</param>
<param>
- <name>Mu</name>
+ <name>Gain</name>
<key>mu</key>
<type>real</type>
</param>
+ <param>
+ <name>Samples per Symbol</name>
+ <key>sps</key>
+ <type>int</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>
diff --git a/gr-digital/grc/digital_lms_dd_equalizer_cc.xml b/gr-digital/grc/digital_lms_dd_equalizer_cc.xml
new file mode 100644
index 000000000..0fd7d523b
--- /dev/null
+++ b/gr-digital/grc/digital_lms_dd_equalizer_cc.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+## LMS DD Equalizer
+###################################################
+ -->
+<block>
+ <name>LMS DD Equalizer</name>
+ <key>digital_lms_dd_equalizer_cc</key>
+ <import>from gnuradio import digital</import>
+ <make>digital.lms_dd_equalizer_cc($num_taps, $mu, $sps, $cnst)</make>
+ <callback>set_gain($mu)</callback>
+ <param>
+ <name>Gain</name>
+ <key>mu</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Num. Taps</name>
+ <key>num_taps</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Samples per Symbol</name>
+ <key>sps</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Constellation Object</name>
+ <key>cnst</key>
+ <type>raw</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>