03-08-2018 08:45 PM - edited 03-08-2018 08:48 PM
Hi all,
I have some code that basically involves this:
void foo(...) {
x_complex<float> ch1, ch2, product_0, product_1, combined, C0, C1; #pragma HLS RESOURCE variable=product_0 core=FMul_nodsp #pragma HLS RESOURCE variable=product_1 core=FMul_nodsp #pragma HLS RESOURCE variable=product_0 core=FAddSub_nodsp #pragma HLS RESOURCE variable=product_1 core=FAddSub_nodsp #pragma HLS RESOURCE variable=combined core=FAddSub_nodsp #pragma HLS RESOURCE variable=combined core=FMul_nodsp product_0 = C0 * ch1; product_1 = C1 * ch2; combined = product_0 + product_1;
}
I want no DSP usage here, but the fmul operation ends up using 3 DSP slices each. FAddSub does not. How can DSP slice instantiation be prevented for the multiply case?
03-14-2018 06:46 PM
So, it can be concluded that the Cores utilization directives in HLS simply do not work?
03-09-2018 07:40 AM
C'mon folks, resource allocation for complex number math is a pretty basic feature - doesn't anyone know?
03-12-2018 01:57 PM
Folks - has no one used HLS directives for controlling DSP usage for complex number math? Seriously?!
03-14-2018 06:46 PM
So, it can be concluded that the Cores utilization directives in HLS simply do not work?