Altera_Forum
Honored Contributor
16 years agonot compiling
hello all
i wrote down this simple divider code and for some reson it wont compile- it gives me the No feasible entries for infix operator "/" thats the code: library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_signed.all; entity div is generic (N : positive ); port ( a : in signed(N-1 downto 0); b : in signed (N-1 downto 0); div_res : out signed(2*N-1 downto 0) ); end entity; architecture behave_div of div is begin div_res<=a/ b; end behave_div; thanks