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

Private GIT Repository
changed ref/impls xsd and xml
[blast.git] / lib / references / checker.xml
1 <!DOCTYPE checker>
2 <block version="0.1">
3   <informations>
4     <name>checker</name>
5     <category ids=""/>
6     <description>
7       checks if an input is lower/greater a value, or within an interval.
8     </description>
9   </informations>
10   <parameters>
11     <parameter value="8" type="natural" context="generic" name="in_width"/>
12     <parameter value="1" type="natural" context="generic" name="check_type"/>
13     <parameter value="0" type="natural" context="generic" name="inf_value"/>
14     <parameter value="0" type="natural" context="generic" name="sup_value"/>
15   </parameters>
16   <interfaces>
17     <inputs>
18       <input endian="little" type="boolean" purpose="clock" multiplicity="1" width="1" name="clk"/>
19       <input endian="little" type="boolean" purpose="reset" multiplicity="1" width="1" name="reset"/>
20       <input endian="little" type="expression" purpose="data" multiplicity="1" width="$in_width" name="data_in"/>
21       <control iface="data_in"/>
22     </inputs>
23     <outputs>
24       <output endian="little" type="expression" purpose="data" multiplicity="1" width="$in_width" name="data_out"/>
25       <output endian="little" type="boolean" purpose="data" multiplicity="1" width="1" name="check_out"/>      
26       <control iface="data_out"/>
27       <control iface="check_out"/>
28     </outputs>
29   </interfaces>
30 </block>