1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
\r
7 <category ids="3" />
\r
9 This block does d=a*b+c.
\r
10 a/b are provided by input port.
\r
11 c is set via the wishbone interconnector
\r
12 d is forwarded to an output port and can be retrieved via the wishbone interconnector
\r
18 <parameter name="wb_c" type="expression" width="$wb_data_width" value="0" context="wb" wishbone="w,data,perm"/>
\r
19 <parameter name="wb_d" type="expression" width="2*$wb_data_width" value="0" context="wb" wishbone="r"/>
\r
20 <parameter name="wb_do_op" type="boolean" width="1" value="false" context="wb" wishbone="w,true,trigger"/>
\r
22 <parameter name="in_width" type="string" value="10" context="user"/>
\r
28 <input name="clk" type="boolean" width="1" purpose="clock" />
\r
29 <input name="rst" type="boolean" width="1" purpose="reset" />
\r
30 <input name="a" type="expression" width="$in_width" />
\r
31 <input name="b" type="expression" width="$in_width" />
\r
35 <output name="d" type="expression" width="2*$in_width" />
\r