Forum Discussion

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

Read/Write pio cores

In one of my projects I have two processors changing data through pio cores. One processor write data in his output pio and the another one read it in his input data. How can I avoid conflit in this operation. How can I be sure that one processor won't read this data when the other is writing it? I though to use mutex, but I'd like to know if there is another resource or strategy I can use to avoid this conflit. Can the pio cores guarantee by themselves that only one processor have access to it?

Thanks, and sorry for enoying the community again.
No RepliesBe the first to reply