Forum Discussion
Altera_Forum
Honored Contributor
17 years agoI thought of something like below (with an array variable for the addresses). I saw, that you have APEX II, which has an asynchronous RAM/ROM, different from all newer FPGA types.
genrom:
for i in 1 to 10 generate
tcgrom: lpm_rom
generic map ( lpm_widthad => 7,
lpm_outdata => "unregistered",
lpm_address_control => "unregistered",
lpm_file => "table.hex", -- init data
lpm_width => 14)
port map ( address => prm(i), q => ttfs(i));
end generate;