1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
\r
7 <category ids="2,5" />
\r
10 This block multiplies 2 input values, adding the result to a third one.
\r
13 This block does d=a*b+c.
\r
14 a/b are provided by input port.
\r
15 c is set via the wishbone interconnector
\r
16 d is forwarded to an output port and can be retrieved via the wishbone interconnector
\r
23 <parameter name="wb_c" type="expression" width="$wb_data_width" value="0" context="wb" wishbone="w,data,perm"/>
\r
24 <parameter name="wb_d" type="expression" width="2*$wb_data_width" value="0" context="wb" wishbone="r"/>
\r
25 <parameter name="wb_do_op" type="boolean" width="1" value="false" context="wb" wishbone="w,true,trigger"/>
\r
27 <parameter name="in_width" type="string" value="10" context="user"/>
\r
33 <input name="clk" type="boolean" width="1" purpose="clock" />
\r
34 <input name="rst" type="boolean" width="1" purpose="reset" />
\r
35 <input name="a" type="expression" width="$in_width" />
\r
36 <input name="b" type="expression" width="$in_width" />
\r
40 <output name="d" type="expression" width="2*$in_width" />
\r