Forum Discussion

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

dividing memory sections

Hi!

Is it possible to devide a memory section (for example a sram, 8MB) into to logical blocks (for example 4MB + 4MB)? I want to run nios-code in the one part and handle user-data in the other part.

Best Regards

Mark

3 Replies

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

    You can do that by writing your own linker script. You can use the automatically generated one as a template.

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

    What version of the tools are you using? The BSP editor (available in beta versions of 8.1 and 9.0) now standard in 9.1 makes it fairly easy to create your own sections out of memory.

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

    --- Quote Start ---

    What version of the tools are you using? The BSP editor (available in beta versions of 8.1 and 9.0) now standard in 9.1 makes it fairly easy to create your own sections out of memory.

    Jake

    --- Quote End ---

    Thank you. I'll check it.