x32_add - dspsandbox/Canvas GitHub Wiki
images/DSP-modules/x32_add.png
Description
ADD arithmetic with clear logic. Use x32_addNoOverflow to avoid overflow.
Ports
| Name | Direction | Width | Comment |
|---|---|---|---|
| in0 | Rx | 32 bit | |
| in1 | Rx | 32 bit | |
| clr | Rx | 1 bit | |
| out | Tx | 32 bit | out=in0+in1 IF clr=0 out=0 IF clr=1 |
Pipeline latency (clk @ 125 MHz)
1 clk cycle.