diff options
author | Johnathan Corgan | 2012-06-30 08:26:58 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-06-30 08:26:58 -0700 |
commit | ee1a53b4a971e4b9623f504628231a273157f462 (patch) | |
tree | e60b7606ce085f4ad5469c59e2d17eac2fd60fea /gr-blocks/grc | |
parent | 25b0d584f5189c39817af98d403c461a59dd3419 (diff) | |
download | gnuradio-ee1a53b4a971e4b9623f504628231a273157f462.tar.gz gnuradio-ee1a53b4a971e4b9623f504628231a273157f462.tar.bz2 gnuradio-ee1a53b4a971e4b9623f504628231a273157f462.zip |
blocks: aded gr::blocks::multiply_conjugate_cc
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_block_tree.xml | 1 | ||||
-rw-r--r-- | gr-blocks/grc/blocks_multiply_conjugate_cc.xml | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_block_tree.xml b/gr-blocks/grc/blocks_block_tree.xml index d7cbbeb55..638fb5941 100644 --- a/gr-blocks/grc/blocks_block_tree.xml +++ b/gr-blocks/grc/blocks_block_tree.xml @@ -35,6 +35,7 @@ <block>blocks_divide_xx</block> <block>blocks_multiply_xx</block> <block>blocks_multiply_const_vxx</block> + <block>blocks_multiply_conjugate_cc</block> <block>blocks_sub_xx</block> <block>blocks_conjugate_cc</block> <block>blocks_integrate_xx</block> diff --git a/gr-blocks/grc/blocks_multiply_conjugate_cc.xml b/gr-blocks/grc/blocks_multiply_conjugate_cc.xml new file mode 100644 index 000000000..cf0acf4d8 --- /dev/null +++ b/gr-blocks/grc/blocks_multiply_conjugate_cc.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Multiply Conjugate Block: +## 2 complex inputs, 1 complex output +################################################### + --> +<block> + <name>Multiply Conjugate</name> + <key>blocks_multiply_conjugate_cc</key> + <import>from gnuradio import blocks</import> + <make>blocks.multiply_conjugate_cc($vlen)</make> + <param> + <name>Vec Length</name> + <key>vlen</key> + <value>1</value> + <type>int</type> + </param> + <check>$vlen > 0</check> + <sink> + <name>in0</name> + <type>complex</type> + <vlen>$vlen</vlen> + </sink> + <sink> + <name>in1</name> + <type>complex</type> + <vlen>$vlen</vlen> + </sink> + <source> + <name>out</name> + <type>complex</type> + <vlen>$vlen</vlen> + </source> +</block> |