Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / gr_multiply_xx.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Multiply Block:
5 ##      all types, 1 output, 2 to inf inputs
6 ###################################################
7  -->
8 <block>
9         <name>Multiply</name>
10         <key>gr_multiply_xx</key>
11         <import>from gnuradio import gr</import>
12         <make>gr.multiply_v$(type.fcn)($vlen)</make>
13         <param>
14                 <name>IO Type</name>
15                 <key>type</key>
16                 <type>enum</type>
17                 <option>
18                         <name>Complex</name>
19                         <key>complex</key>
20                         <opt>fcn:cc</opt>
21                 </option>
22                 <option>
23                         <name>Float</name>
24                         <key>float</key>
25                         <opt>fcn:ff</opt>
26                 </option>
27                 <option>
28                         <name>Int</name>
29                         <key>int</key>
30                         <opt>fcn:ii</opt>
31                 </option>
32                 <option>
33                         <name>Short</name>
34                         <key>short</key>
35                         <opt>fcn:ss</opt>
36                 </option>
37         </param>
38         <param>
39                 <name>Num Inputs</name>
40                 <key>num_inputs</key>
41                 <value>2</value>
42                 <type>int</type>
43         </param>
44         <param>
45                 <name>Vec Length</name>
46                 <key>vlen</key>
47                 <value>1</value>
48                 <type>int</type>
49         </param>
50         <check>$num_inputs &gt; 1</check>
51         <check>$vlen &gt; 0</check>
52         <sink>
53                 <name>in</name>
54                 <type>$type</type>
55                 <vlen>$vlen</vlen>
56                 <nports>$num_inputs</nports>
57         </sink>
58         <source>
59                 <name>out</name>
60                 <type>$type</type>
61                 <vlen>$vlen</vlen>
62         </source>
63 </block>