How do I use shared memory in XC? Topic is solved

If you have a simple question and just want an answer.
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

How do I use shared memory in XC?

Post by infiniteimprobability »

Sharing memory is prohibited by the compiler in normal XC, for good reason (race conditions, memory corruptions, restriction to same tile...). However there are cases where it is very useful, appropriate, safe and fast.

How do I do this?

Engineer at XMOS
View Solution
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

See below link for a short discussion and worked examples of vatious different ways of sharing memory in XC

http://www.xcore.com/forum/viewtopic.php?f=26&t=3061

Engineer at XMOS