Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

performance issue

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?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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