Is there a way to instantiate DSP48E2 in Vivado HLS?
I'm using Vivado HLS and I'm having many difficulties for infering correctly the DSP48E2 when only using it as adder (my target device is a Kintex US+). So I would like to know if there is a way to explicitly instantiate the DSP in my C-code?
The pragma and the test equation I'm using for now are:
I realized Vivado HLS only infers a DSP48 for certains cases, in fonction of the size of A, B & my_result ! I still do not figure out how it works. For exemple, if A, B & my_result are 22, 24 & 10 bits-size respectively Vivado will infer a DSP. But it will NOT if they are 22, 22 & 10 bits-size respectively.
My goal is to implement a two 24-bit adder using one DSP, for doing something like that:
...is that possible? Is there any way to explicitely instantiate a DSP in order to avoir the troubles for the infering?