--- Quote Start ---
originally posted by mendonca@May 12 2006, 03:35 PM
paolo,
i'm using pio once my application demands high degree of parallelism. when i use a shared memory the processors "suffer" with the conflict in access it. the use of extern memories, as ddr sdram, to store stack, heap, data and instructions also presents a obstacle to my goals, my implementation is big enough so that it doesn't fit totally on-chip. i'm trying to minimize this problem.
but thank you too much, paolo. if the use of pios cores "among" processors didn't damage your board i think i'm safe to try my experiments. if you (or somebody else) have some suggestions about resources offered by nios which can help me to improve the parallelism among my processors, they will be welcome.
regards,
mendonca.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15345)
--- quote end ---
--- Quote End ---
mendonca,
to make 2 (or more) processors exchange informations with PIO, the PIO core should be connect to the DATA MASTERS of each processor,and a Mutex should be added into your multiprocessor system.Besides,you should request a lock of the mutex core in your software codes before accessing the shared resource(PIO core).
i have completed a multiprocessor system which an on-ship memory and a LED PIO is shared in for test.The documents in the Nios directory help me a lot.
This document is helpful to you too,i think.
http://www.altera.com/literature/tt/tt_nio...or_tutorial.pdf (
http://www.altera.com/literature/tt/tt_nios2_multiprocessor_tutorial.pdf)
sorry for my english expression.
good luck,
vincent