My question below relates to the Labview FPGA module ver 1.1.
Does the Xilinx compiler optimize out static calculations? For example, if I were to have a multiply function that multiplies two hardcoded constants(not controls), say 4 and 2, would the compiler resolve this as a constant 8, or would hardware be built in that actually performs this calculation? (4x2 is trivial, but for more complicated cascading arithmetic operations, I want to include functions to perform these operations in code for easy modification and reference).
Any additional hard-to-find tips about compiler optimizations are welcomed in addition to responses to the above question.
Thanks,
~Dan Price
P.S. I'm new to the board and fairly new to labview, so any help with the above question is greatly appreciated!