i am thinking,wheather it is possible in vhdl to convert 2D array in 1D array.
and secondly ,,how one can convert fixed point real number in floating point real number.. is it possible with ieee.numeric_std.all and ieee_std_logic_unsigned.all
thanks
i am thinking,wheather it is possible in vhdl to convert 2D array in 1D array.
and secondly ,,how one can convert fixed point real number in floating point real number.. is it possible with ieee.numeric_std.all and ieee_std_logic_unsigned.all
thanks
You can easily do it in a loop - probably in some handy conversion function.
As for fixed point - there is no definition for fixed point real number. You can use the unsigned type to represent fixed point. As for floating point, there is no standard conversion from fixed point - you will need to use a vendor IP core for this.
how one can convert fixed point real number in floating point real number.. is it possible with ieee.numeric_std.all and ieee_std_logic_unsigned.all
thanks
Not directly with ieee.numeric_std.all or ieee_std_logic_unsigned. Use ieee.fixed_pkg for all of your fixed point work. If you use numeric_std.all or std_logic_unsigned, you'll just be re-creating all of the work that is already done for you in fixed_pkg.