One-to-many channels

Technical questions regarding the XTC tools and programming with XMOS.
ashleyb
Member
Posts: 14
Joined: Sun Dec 20, 2009 1:08 am

One-to-many channels

Post by ashleyb »

Hi All,
I noticed that many-to-one channels are able to be implemented (xlog and similar), but can we have one-to-many channels? I want to be able to distribute samples from an ADC to multiple threads running on multiple cores so that they can do their DSP magic on it in parallel (multiple channels are encoded within the signal).

I'm looking at implementation on an XDK or XC-2 at the moment, but may go up to an XMP-64 one day if I need that many cores.

Thanks,

Ashley


richard
Respected Member
Posts: 318
Joined: Tue Dec 15, 2009 12:46 am

Post by richard »

I'm afraid there is no hardware support for broadcasting the same message to multiple channel end destinations. You would need to implement this in software. For example you could have an array of destinations and iterate over the destinations sending the data to each one.
User avatar
otitov
XCore Addict
Posts: 207
Joined: Thu Dec 10, 2009 11:00 pm
Location: Mexico

Post by otitov »

wow! great idea! i would like to have it too! some kind of d-bus in hardware. just great.