Forum Discussion
Altera_Forum
Honored Contributor
21 years agoA problem about configuring the sys lib
Hi everyone, Whe I try to run my design on a dev board based on NiosII(NiosII 5.0), I configured the System Library properties as: Program memory(.text) sdram Readonly dat...
Altera_Forum
Honored Contributor
21 years agoThe problem is:
Readonly data memory(.rodata) flash This means you'll have to program the flash in order to get the data there (the download/run process only works to volatile memory), and you'll have to do it anytime your statically declared data changes, as well.... NOT good for test/development! I'd advocate testing your code with rodata, in volatile memory, and then, if you need to locate it in flash, to conserve space, do it only when you're closer to release. You've also got to be aware that your performance will be less, when reading from the flash, as well. Cheers, - slacker