summaryrefslogtreecommitdiff
path: root/gr-analog/grc
diff options
context:
space:
mode:
authorTom Rondeau2012-10-30 13:30:01 -0400
committerTom Rondeau2012-10-30 13:30:01 -0400
commit11cd6d2dc3e6b3b40474a5a4495d814a7688fe0a (patch)
tree553a61570035a1a1af0bab7397f0f2053c240f3b /gr-analog/grc
parent440739593a0648f40ddaf4e6d4cd898495a9c856 (diff)
downloadgnuradio-11cd6d2dc3e6b3b40474a5a4495d814a7688fe0a.tar.gz
gnuradio-11cd6d2dc3e6b3b40474a5a4495d814a7688fe0a.tar.bz2
gnuradio-11cd6d2dc3e6b3b40474a5a4495d814a7688fe0a.zip
analog: added PLL blocks to gr-analog with QA and GRC.
Diffstat (limited to 'gr-analog/grc')
-rw-r--r--gr-analog/grc/analog_block_tree.xml6
-rw-r--r--gr-analog/grc/analog_pll_carriertracking_cc.xml38
-rw-r--r--gr-analog/grc/analog_pll_freqdet_cf.xml38
-rw-r--r--gr-analog/grc/analog_pll_refout_cc.xml38
4 files changed, 120 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_block_tree.xml b/gr-analog/grc/analog_block_tree.xml
index 54142e623..7283d9f5a 100644
--- a/gr-analog/grc/analog_block_tree.xml
+++ b/gr-analog/grc/analog_block_tree.xml
@@ -46,4 +46,10 @@
<name>Sources</name>
<block>analog_noise_source_x</block>
</cat>
+ <cat>
+ <name>Synchronizers</name>
+ <block>analog_pll_carriertracking_cc</block>
+ <block>analog_pll_freqdet_cf</block>
+ <block>analog_pll_refout_cc</block>
+ </cat>
</cat>
diff --git a/gr-analog/grc/analog_pll_carriertracking_cc.xml b/gr-analog/grc/analog_pll_carriertracking_cc.xml
new file mode 100644
index 000000000..95ec4b415
--- /dev/null
+++ b/gr-analog/grc/analog_pll_carriertracking_cc.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##PLL Carrier Tracking
+###################################################
+ -->
+<block>
+ <name>PLL Carrier Tracking</name>
+ <key>analog_pll_carriertracking_cc</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.pll_carriertracking_cc($w, $max_freq, $min_freq)</make>
+ <callback>set_loop_bandwidth($w)</callback>
+ <callback>set_max_freq($max_freq)</callback>
+ <callback>set_min_freq($min_freq)</callback>
+ <param>
+ <name>Loop Bandwidth</name>
+ <key>w</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>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>
diff --git a/gr-analog/grc/analog_pll_freqdet_cf.xml b/gr-analog/grc/analog_pll_freqdet_cf.xml
new file mode 100644
index 000000000..0d44c160b
--- /dev/null
+++ b/gr-analog/grc/analog_pll_freqdet_cf.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##PLL Frequency Det
+###################################################
+ -->
+<block>
+ <name>PLL Freq Det</name>
+ <key>analog_pll_freqdet_cf</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.pll_freqdet_cf($w, $max_freq, $min_freq)</make>
+ <callback>set_loop_bandwidth($w)</callback>
+ <callback>set_max_freq($max_freq)</callback>
+ <callback>set_min_freq($min_freq)</callback>
+ <param>
+ <name>Loop Bandwidth</name>
+ <key>w</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>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>float</type>
+ </source>
+</block>
diff --git a/gr-analog/grc/analog_pll_refout_cc.xml b/gr-analog/grc/analog_pll_refout_cc.xml
new file mode 100644
index 000000000..eb2d752b2
--- /dev/null
+++ b/gr-analog/grc/analog_pll_refout_cc.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##PLL Reference Out
+###################################################
+ -->
+<block>
+ <name>PLL Ref Out</name>
+ <key>analog_pll_refout_cc</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.pll_refout_cc($w, $max_freq, $min_freq)</make>
+ <callback>set_loop_bandwidth($w)</callback>
+ <callback>set_max_freq($max_freq)</callback>
+ <callback>set_min_freq($min_freq)</callback>
+ <param>
+ <name>Loop Bandwidth</name>
+ <key>w</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>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>