Page 1 of 1

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

Posted: Tue Nov 02, 2010 5:28 pm
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 :-)

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

Posted: Tue Nov 02, 2010 5:55 pm
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

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

Posted: Tue Nov 02, 2010 8:35 pm
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?

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

Posted: Wed Nov 03, 2010 9:46 am
by XMatt
timer t;
unsigned x;
t :> x;
t when timerafter(x+100) :> void;

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

Posted: Sun Nov 07, 2010 6:37 pm
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.

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

Posted: Mon Nov 08, 2010 12:25 pm
by ale500
I can ouput 25 pixels of a 640x480 driver either bit-mapped or text :)

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

Posted: Thu Nov 11, 2010 1:04 pm
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.

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

Posted: Thu Nov 11, 2010 8:01 pm
by MuellerNick
Philosopher's answer:
On an XMOS, you can watch 8 µs going by within 1 µs.


Nick

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

Posted: Thu Nov 11, 2010 8:32 pm
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.

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

Posted: Thu Mar 17, 2011 8:53 pm
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.