Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNIOSII Reg
Hello to all, I am using Altera DE2 Board. When adding SRAM in SOPC Builder of quartus there is an error saying that "SRAM should be connected to avalon memory mapped tri-state master." How ...
Altera_Forum
Honored Contributor
10 years agohello sir !!
I used onchip memory in sopc builder (memory size 16000 and 32bits) and i generate the total sopc system. In niosII IDE window i used hello_world_small. In this system my niosII IDE working properly. If i change the program from select template then i get error message. This error is as follows. Kindly help me. make -s all includes Compiling hello_world.c... Linking hello_world_1.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_memory2_0 is full (hello_world_1.elf section .text). Region needs to be 29668 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 [00004020 -> 00004507] overlaps section .exceptions [00004020 -> 000041c7] /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 [00004508 -> 00005f33] overlaps section .text [000041c8 -> 0000f263] /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 [00005f34 -> 00006147] overlaps section .text [000041c8 -> 0000f263] collect2: ld returned 1 exit status make: *** [hello_world_1.elf] Error 1 Build completed in 5.17 seconds