Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThis did not work (seemingly load(i) always was 0 in some or all cases ):
signal load: std_logic_vector (63 downto 0) := (others => '0');
...
load(conv_integer(address)) <= '1';
...
< now we use load(...) >
...
This did work:
signal load: std_logic_vector (63 downto 0);
...
G1: for i in 0 to 63 generate
begin
load(i) <= '1' when (conv_integer(address) = i) else '0';
end generate G1
...
< now we use load(...) >
...
-Michael