Forum Discussion

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

NIOS II multi core system

hi i am using cyclone II EP2C35F6726C6, i have try to create dual core system but unable to download .elf file. so can you suggest NIOS II IDE software building step

5 Replies

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

    I would like to do the same on Arria and Stratix ... where each NIOS has its own IMEM for code and stack/heap ... did you get any answers Sachin ?

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

    You need to think about:

    - how to get the code loaded for the final system - ie when not using JTAG.

    - whether the two nios are completely independant, or whether they work as a pair.

    - whether you are going to compile the code separately, or as a single object (might be difficult if you use the Altera build scripts).

    You almost certainly need to expose the 'soft reset' signals - maybe so that the second nios is held in reset until the first has finished its initialisation and loaded the code for both from EPCS.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok thanks DSL

    "how to get the code loaded for the final system - ie when not using JTAG."

    The first issue I have is loading code into the independent NIOS II's via the ECLIPSE ... I guess I can easily duplicate the one NIOS II and see if the

    ECLIPSE environment understands that there are two "hello_world" .elf's that are to be loaded into separate NIOS II's ... if I could do that then I

    could test each NOIS II at a time then try them both running together .

    "whether the two nios are completely independant, or whether they work as a pair"

    I would like them to be completely independent... where the Avalon MM fabric handles arbitration to shared Avalon MM slaves.

    "- whether you are going to compile the code separately, or as a single object (might be difficult if you use the Altera build scripts)."

    I would like to be able to compile code separately as two .elf's that could be loaded into separate IMEM instantiated for each NIOS II.

    I am looking for a pointer to an example by Altera or a thread here where it has been done before.

    Thanks, Bob.