<name>\r
block average\r
</name>\r
- <category ids="1,4" /> \r
+ <category ids="4" /> \r
<description>\r
- <brief>\r
- This block does an average on 3 successives units, over a sequence of N inputs\r
- </brief>\r
- <detailed>\r
- This block does an average on 3 successives units, over a sequence of N inputs\r
- </detailed> \r
+ This block does an average on 3 successives units, over a sequence of N inputs\r
</description> \r
</informations>\r
\r
<parameters>\r
- <parameter name="data_width" type="string" value="0" context="user"/>\r
- <parameter name="nb_data" type="string" value="20" context="user"/>\r
+ <parameter name="data_width" type="positive" value="8" context="user"/>\r
+ <parameter name="nb_data" type="positive" value="10" context="user"/>\r
</parameters>\r
\r
<interfaces>\r
<inputs>\r
<input name="clk" type="boolean" width="1" purpose="clock" />\r
<input name="rst" type="boolean" width="1" purpose="reset" />\r
- \r
<input name="data_i" type="expression" width="$data_width" />\r
+ <control iface="data_i" />\r
</inputs>\r
<outputs>\r
<output name="data_o" type="expression" width="$data_width" multiplicity="1"/>\r
+ <control iface="data_o" />\r
</outputs> \r
</interfaces>\r
\r