Forum Discussion
Improving NIOS2 performance, problems with memory map
- 3 years ago
Thanks for that. I've looked at the description of mgptop and I'm not really any the wiser. In the mean time I've got it to link by putting onchip memory just below the SDRAM so there aren't big gaps in memory space. There look to be a lot of settings that should improve performance (e.g. separate interrupt stack) but I'm guessing a lot of them may also just break the project. I'm reluctant to change anything I don't really understand.
Hi,
Greetings and welcome to Intel's forum.
This error usually indicates that you exceed the amount of space allowed for global variables.
You may try to open the BSP in the BSP editor and set mgpopt to local in the GUI. Regenerate the BSP and recompile your project and it should be able to work.
-mgptop=global should be in the makefile CFLAGS by default and should just be able to change it to mgpopt=local.
Hope to hear on your feedback. Thank you
Regards,
Kelly