Forum Discussion
Altera_Forum
Honored Contributor
14 years agomultiprocessor: Share same variable
Hi ,
I try to implement a c-code for multiprocessor architecture(3 CPU). I need to know if it is possible that the three processor share the same variable. For example i declare an integer "var" for the three code, if CPU1 change the value of var, then the CPU2 or CPU3 should know the new value of var. On my architecture the three CPU share a on-chip memery through mutex. Thank you11 Replies
- Altera_Forum
Honored Contributor
I also tried communicating with PIOs.
I defined o/p and i/p PIOs for cores, connecting o/p PIO of one core to input of others. In my case, 3 cores poll on their i/p PIOs for a signal to be raised by the 4th core o/p PIO. But in this case also I am facing the same issue as my previous post. The latter core being programmed always PAUSE the previous running core. Please Suggest.