Altera_Forum
Honored Contributor
12 years agorom generating code problem
hiii
i've built my ROM containing data of 384000 i stated the data of 76800 and others to be "ZZ....ZZ" when i compile the code it takes time and finally return with this warning ( Warning: memo_rom.vhd(76836): (vcom-1074) Non-locally static OTHERS choice is allowed only if it is the only choice of the only association. ) the problem is that it got an error message when i start simualtion ( Fatal: (vsim-3734) Index value 971456 is out of range 383999 downto 0.# Time: 100 ns Iteration: 2 Process: /......./img_rom/line__76841 File: memo_rom_img.vhd# Fatal error in Architecture behavioral at memo_rom_img.vhd line 76841 ) Note what is written on line 76841 is data_out <= rom_data(conv_integer(addr)) when(en = '1') ; what should i do.. Niveen..