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

Private GIT Repository
moved clocks list to graph
[blast.git] / lib / references / average-Nx3.xml
index 76893224ba537df7c86626928611a43966fc233a..eded9d422a8696223be0033ac818b0c1cdb5e04d 100644 (file)
@@ -4,31 +4,27 @@
     <name>\r
       block average\r
     </name>\r
     <name>\r
       block average\r
     </name>\r
-    <category ids="1,4" />  \r
+    <category ids="4" />  \r
     <description>\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
     </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
   </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
       <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
     </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
     </outputs>    \r
   </interfaces>\r
 \r