Forum Discussion
Altera_Forum
Honored Contributor
13 years agohow to use another vhdl file's function?
bin2bcd7 is not in the scope and error at H1:bin2bcd7 port map (X"0001" => bin_in, bcd7_out => HEX0); bin2bcd7.vhd library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_...
Altera_Forum
Honored Contributor
13 years agoI didn't understand your problem or question, but I think this line
H1:bin2bcd7 port map (X"0001" => bin_in, bcd7_out => HEX0); should beH1:bin2bcd7 port map (bin_in => X"0001", bcd7_out => HEX0);