// 加法器
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.math_real.all;
entity adder is
port (
in1 : in real;
in2 : in real;
out1 : out real
);
end entity adder;
architecture behavioral of adder is
begin
out1 <= in1 + in2;
end architecture behavioral;