1 <!DOCTYPE threshold_extctl>
4 <name>threshold_extctl</name>
7 if keep_in is true, data_in is reported on data_out.
8 Otherwise, the dfault_value is reported on data_out.
12 <parameter value="8" type="natural" context="generic" name="in_width"/>
13 <parameter value="0" type="natural" context="generic" name="default_value"/>
17 <input endian="little" type="boolean" purpose="clock" multiplicity="1" width="1" name="clk"/>
18 <input endian="little" type="boolean" purpose="reset" multiplicity="1" width="1" name="reset"/>
19 <input endian="little" type="expression" purpose="data" multiplicity="1" width="$in_width" name="data_in"/>
20 <input endian="little" type="boolean" purpose="data" multiplicity="1" width="1" name="keep_in"/>
21 <control iface="data_in"/>
22 <control iface="keep_in"/>
25 <output endian="little" type="expression" purpose="data" multiplicity="1" width="$in_width" name="data_out"/>
26 <control iface="data_out"/>