What can you do on an XMOS processor in 1 microsecond?

Off topic discussions that do not fit into any of the above can go here. Please keep it clean and respectful.
Post Reply
User avatar
jason
XCore Expert
Posts: 577
Joined: Tue Sep 08, 2009 5:15 pm
Contact:

What can you do on an XMOS processor in 1 microsecond?

Post by jason »

Following a recent tweet I received, I am quite interested in finding out what you guys think too - what can you achieve in 1 microsecond using XMOS?

Post your best answers below :-)


bearcat
Respected Member
Posts: 283
Joined: Fri Mar 19, 2010 4:49 am

Post by bearcat »

On an L1 in 1uS:

25 FIR Taps @ 32 bits
+ 11.2 IIR's @ 32 bits
+ some I/O
+ some XLINK
+ some time left
deviljelly
Newbie
Posts: 1
Joined: Tue Nov 02, 2010 8:31 pm

Post by deviljelly »

so...being a newbie.... I have a 100-200 byte message I need to get in and out of the core over IP... with a little bit if inspection and maybe routing.... possible?
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

timer t;
unsigned x;
t :> x;
t when timerafter(x+100) :> void;
User avatar
waluigi
Member++
Posts: 22
Joined: Sun Nov 07, 2010 6:33 pm

Post by waluigi »

XMatt wrote:timer t;
unsigned x;
t :> x;
t when timerafter(x+100) :> void;
Everyone knows that'll take longer than a microsecond.
ale500
Respected Member
Posts: 259
Joined: Thu Sep 16, 2010 9:15 am

Post by ale500 »

I can ouput 25 pixels of a 640x480 driver either bit-mapped or text :)
Last edited by ale500 on Thu Nov 11, 2010 4:48 pm, edited 1 time in total.
User avatar
paul
XCore Addict
Posts: 169
Joined: Fri Jan 08, 2010 12:13 am
Contact:

Post by paul »

125 instructions (500 if you are using all the threads!) - L1

And if you are using a G4 you can generate 2 microjoules.
Paul

On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
MuellerNick
Member++
Posts: 31
Joined: Fri Dec 11, 2009 9:33 am

Post by MuellerNick »

Philosopher's answer:
On an XMOS, you can watch 8 µs going by within 1 µs.


Nick
User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Post by segher »

In one microsecond, on one thread, you can do more than a thousandth of a
2048-bit public RSA en/decryption (one and a half time as much, even).

Or you can send one ninth of a bit at standard UART rates.
User avatar
snowman
Member
Posts: 13
Joined: Fri Dec 11, 2009 10:51 am
Contact:

Post by snowman »

Code: Select all

#pragma loop unroll
for (int i = 0; i < 100; i++) {
  c :> int;
}
Of course optimisation level is at least 1 and c is a streaming channel.
Post Reply