]> AND Private Git Repository - blast.git/blob - lib/references/average-Nx3.xml
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
added an example of source block
[blast.git] / lib / references / average-Nx3.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>\r
2 <block>\r
3   <informations>\r
4     <name>\r
5       block average\r
6     </name>\r
7     <category ids="4" />  \r
8     <description>\r
9       <brief>\r
10         This block does an average on 3 successives units, over a sequence of N inputs\r
11       </brief>\r
12       <detailed>\r
13         This block does an average on 3 successives units, over a sequence of N inputs\r
14       </detailed>     \r
15     </description>    \r
16   </informations>\r
17 \r
18   <parameters>\r
19     <parameter name="data_width" type="string" value="0" context="user"/>\r
20     <parameter name="nb_data" type="string" value="20" context="user"/>\r
21   </parameters>\r
22 \r
23   <interfaces>\r
24     <inputs>\r
25       <input name="clk" type="boolean" width="1" purpose="clock" />\r
26       <input name="rst" type="boolean" width="1" purpose="reset" />\r
27       <input name="data_i" type="expression" width="$data_width" />\r
28       <control iface="data_i" />\r
29     </inputs>\r
30     <outputs>\r
31       <output name="data_o" type="expression" width="$data_width" multiplicity="1"/>\r
32       <control iface="data_o" />\r
33     </outputs>    \r
34   </interfaces>\r
35 \r
36 </block>\r