Forum Discussion
Hi,
No, the DSP block is unable to operate for just adding two 32 bits.
Please refer to section 3 for the DSP block operation mode:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_nfp_dsp.pdf
Regards -SK
It looks like if I use m18x18plus36 mode, and chain in; DSP can add 36 bit to 64 bit. The question is if I can connect chain in port to ALM logic.
Here is the instantiation that works in simulation.
dsp_18x18Plus36pluschain u44 (
.accumulate(1'h0), // accumulate.accumulate
.aclr(3'h0), // aclr.aclr
.ax(18'h0_0001), // ax.ax
.ay(18'h0_0002), // ay.ay
.bx(18'h0_2000), // bx.bx
.by(18'h0_0600), // by.by
.chainin(64'h0001_0002_0003_0040), // chainin.chainin
.chainout(), // chainout.chainout
.clk({3{mod_clk}}), // clk.clk
.ena(1'h1), // ena.ena
.loadconst(1'h0), // loadconst.loadconst
.negate(1'h0), // negate.negate
.resulta(), // resulta.resulta
.sub(1'h0) // sub.sub
);