Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

performance issue

Altera_Forum
Honored Contributor II
1,082 Views

wish to run a program as fast as i can. 

does making it run from the on_chip_memory will speed thing up? 

 

i have tried this thing: 

 

int testTimes(void) __attribute__ ((section(".on_chip_memory"))); 

int testTimes() 

{...} 

 

but i get the next build error: 

39 AM - (SEVERE) elf2flash: Boot copier overlaps data in flash[Jul 12, 2005 10] 

 

does anybody knows way?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
213 Views

Hi, 

surely on_chip_memory will be faster tha an external memory, but to have the best performance u should use tightly coupled memory (nios II 5.0). 

What reset and exception address have u set?where is your program,data memory linked?
0 Kudos
Altera_Forum
Honored Contributor II
213 Views

See the full featured hardware design and the tightly coupled memories example software for more details.

0 Kudos
Reply