Forum Discussion
Altera_Forum
Honored Contributor
10 years agomalloc problem
Hello I am using Quarts and Nios 9.1 versions. In my board I have external (altmemddr) and on-chip (inside Cyclone III) memory. In the system library properties all memory (including rwdata...
Altera_Forum
Honored Contributor
10 years agoI don't want to put a heap on altmemddr as I want that all variables will be handled in fast way (as it is done on the on-chip memory).
I have tried to allocate an array in this way: unsigned char CisSheetQueue[65535] __attribute__ ((section(".altmemddr.rwdata"))); // Locate this array in DDR But in this way the code (that burned to the flash memory) is jumping from 120K to 280K. And I have a limited space to program this code to the specific sector of the flash.