diff options
author | Tom Rondeau | 2011-03-28 22:22:14 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-28 22:22:43 -0400 |
commit | aa7098456732b705e8de1d939fe9ce96243816d9 (patch) | |
tree | 5ecd3ffac9802189e6053833ad8a2c0d32aba9e8 /gr-digital | |
parent | a6c20fcd651e111dbb835b7d2becc822cd8ec552 (diff) | |
download | gnuradio-aa7098456732b705e8de1d939fe9ce96243816d9.tar.gz gnuradio-aa7098456732b705e8de1d939fe9ce96243816d9.tar.bz2 gnuradio-aa7098456732b705e8de1d939fe9ce96243816d9.zip |
gr-digital: adding GRC components for Costas loop.
Diffstat (limited to 'gr-digital')
-rw-r--r-- | gr-digital/grc/Makefile.am | 5 | ||||
-rw-r--r-- | gr-digital/grc/digital_block_tree.xml | 13 | ||||
-rw-r--r-- | gr-digital/grc/digital_costas_loop_cc.xml | 52 |
3 files changed, 68 insertions, 2 deletions
diff --git a/gr-digital/grc/Makefile.am b/gr-digital/grc/Makefile.am index 062b85005..2807b8f45 100644 --- a/gr-digital/grc/Makefile.am +++ b/gr-digital/grc/Makefile.am @@ -23,5 +23,6 @@ include $(top_srcdir)/Makefile.common grcblocksdir = $(grc_blocksdir) -dist_grcblocks_DATA = - +dist_grcblocks_DATA = \ + digital_block_tree.xml \ + digital_costas_loop_cc.xml
\ No newline at end of file diff --git a/gr-digital/grc/digital_block_tree.xml b/gr-digital/grc/digital_block_tree.xml new file mode 100644 index 000000000..c3c29d232 --- /dev/null +++ b/gr-digital/grc/digital_block_tree.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Block Tree for GR Digital blocks. +################################################### + --> +<cat> + <name></name> <!-- Blank for Root Name --> + <cat> + <name>Digital</name> + <block>digital_costas_loop_cc</block> + </cat> +</cat> diff --git a/gr-digital/grc/digital_costas_loop_cc.xml b/gr-digital/grc/digital_costas_loop_cc.xml new file mode 100644 index 000000000..a2e4a6e11 --- /dev/null +++ b/gr-digital/grc/digital_costas_loop_cc.xml @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Costas Loop +################################################### + --> +<block> + <name>Costas Loop</name> + <key>digital_costas_loop_cc</key> + <import>from gnuradio import digital</import> + <make>digital.costas_loop_cc($alpha, $beta, $max_freq, $min_freq, $order)</make> + <callback>set_alpha($alpha)</callback> + <callback>set_beta($beta)</callback> + <param> + <name>Alpha</name> + <key>alpha</key> + <type>real</type> + </param> + <param> + <name>Beta</name> + <key>beta</key> + <type>real</type> + </param> + <param> + <name>Max Freq</name> + <key>max_freq</key> + <type>real</type> + </param> + <param> + <name>Min Freq</name> + <key>min_freq</key> + <type>real</type> + </param> + <param> + <name>Order</name> + <key>order</key> + <type>int</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> + <source> + <name>out</name> + <type>complex</type> + <optional>1</optional> + </source> +</block> |