VHDL allow to pass real (floating point) numbers through ports?
For this code:
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.math_real.all;
entity FPP_MULT is
port(A : in integer; --input operands
B : in real
);
end FPP_MULT;
architecture (...)
Output:
Error (10414): VHDL Unsupported Feature error at real.vhd(8): cannot synthesize non-constant real objects or values
Error: Quartus II Create Symbol File was unsuccessful. 1 error, 0 warnings