Forum Discussion
Altera_Forum
Honored Contributor
21 years agopre-initialized onchip memory
I have a design that uses several onchip memories. To keep it simple here, say I have: main_memory & my_init_memory. Naturally, the main_memory is the code space for my Nios II processor, and ...
Altera_Forum
Honored Contributor
21 years agoTerry,
if you do not use this 'my_init_array' in your software (hello_world.c) , this array is optimized away and filled with default zeros. So write code, that makes use of this data array. You have a 'Post-processing to create my_init_memory.hex'. This file is placed in your FPGA directory and will be used by my_init_memory.vhd during FPGA compilation. Mike