Altera_Forum
Honored Contributor
16 years agoHow to check if the onchip_mem is full?
I'm running AN429 sample code (VIP core) on my 3C120 evaluation board. I add button pio to the SOPC which already have VIP core inside. Quartus can generate ptf ok. However, when I try to build the count_binary sample code, it says memory full. How can I check if the memory is full? Does it mean I have to go to SOPC builder and change each memory address? (I tried the auto addressing but it generated some other errors) Thx
make -s all includes Compiling count_binary.c... Linking count_binary_0.elf... /cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_mem is full (count_binary_0.elf section .text). Region needs to be 17528 bytes larger. /cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 000007db] overlaps section .exceptions [00000020 -> 000001c7] /cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rwdata [000007dc -> 0000232f] overlaps section .text [000001c8 -> 0000c477] /cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .bss [00002330 -> 0000254b] overlaps section .text [000001c8 -> 0000c477] collect2: ld returned 1 exit status make: *** [count_binary_0.elf] Error 1 Build completed in 3.015 seconds