Page 1 of 1

31 Clients chan ends to 1 server chan end

Posted: Fri Jan 07, 2011 8:03 pm
by lilltroll
Version: 1.1
Status: Public release
License: BSD
Download: /files/project_builds/test_31_Clients_chan_ends_to_1_server_chan_end_1v1.zip

This project is to share an example of how you can setup other topologies than point to point channels in XC with help of asm.

This DEMO sends textmessages from 31 different client to one receiving server.

Thereafter it send 31 messages from one thread with different channel ends for each message.

It also uses interpretation of the text-strings to take fully use of the channels. You can also see an example of the use of replicators.

Re: 31 Clients chan ends to 1 server chan end

Posted: Sat Jan 08, 2011 1:28 pm
by Jamie
But this example doesn't work properly yet..?

Re: 31 Clients chan ends to 1 server chan end

Posted: Sat Jan 08, 2011 11:25 pm
by lilltroll
From Richard@XMOS
"A pause is probably the easiest fix but it is somewhat fragile (the timing might change with different optimisation levels and new toolchain releases etc.). You could alternatively try adding some code to synchronise between cores after the server has allocated its channel end but before the clients start sending."

Re: 31 Clients chan ends to 1 server chan end

Posted: Sun Jan 09, 2011 12:55 pm
by lilltroll
It works on my XDK? But it doesn't use sync yet. It should work on all G4s !?
You have to built it , I only provide the source to save space.

Re: 31 Clients chan ends to 1 server chan end

Posted: Mon Jan 10, 2011 8:35 am
by lilltroll
I added so the program scans for the last chanend on a core, regarding the server. e.g. 0x1F. But I haven't fixed the sync yet, so I wait with a new release until that.

Re: 31 Clients chan ends to 1 server chan end

Posted: Sun Feb 06, 2011 8:57 am
by lilltroll
This example is totally ignorant to the programming of the switch and interconnect. It works stand alone, but included in a larger project, things get "messy" :(

Re: 31 Clients chan ends to 1 server chan end

Posted: Sun May 10, 2015 9:48 am
by Moreno
Education is becoming common and all the parents now understand the dissertation writers service benefits of education and they are educating their children for their better future. They know only education has power to make them worthy.