Regarding something I read in a Xilinx manual saying this:
Because floating-point operations use considerable resources relative to integer/fixed point operations, the Vivado HLS tool utilizes those resources as efficiently as possible.
I was thinking about the following option:
If that is true about floating-point cores utilizing more resources, why can't we convert every float we have to u32 with a union like this:
union converter{
float f32;
unsigned int u32;
}
do the operations always with the u32 and then in the end convert everything back to float?
I saw some examples of people doing this in really small designs, but never in big ones with lots of float operations.