floating point conversion VHDL 2008
The second and third arguments of the three-argument form of to_float() are the exponent and fraction sizes. By passing appropriate values it is possible to generate either. The defaults are 8 and 23 respectively, which results in a float32.