Forum Discussion
5 Replies
- Altera_Forum
Honored 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
Honored 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
Honored 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. - Altera_Forum
Honored Contributor
Have you read through this older document? http://www.altera.com/literature/tt/tt_nios2_multiprocessor_tutorial.pdf
- Altera_Forum
Honored Contributor
Ted,
No but I will ... Many Thanks, Bob.