A little bit confused: Threads, Cores, Processors?

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
johnswenson1
Member++
Posts: 16
Joined: Sun Jul 14, 2013 5:14 am

Post by johnswenson1 »

There is also a code issue that comes with the change. In the old paradigm you would use the XC statement:
on stdcore[1]
With the new paradigm it is:
on tile[1]

Which to use is determined by the xn file you are using. If you are using a new board with a recent xn file you will need to use the "tile[]" version. This means that if you copy some of the example code, or get something from another project that uses the stdcore[] version it won't work.

And the error messages you get out of the compiler are not terribly helpful. You get something along the lines of "missing tileref".

I'm currently working with two XMOS devel boards, one whose xn file has the old paradigm and one that has the new, its little confusing when doing multi-core (err multi-tile) projects trying to connect two boards.

Johns .


User avatar
TSC
Experienced Member
Posts: 111
Joined: Sun Mar 06, 2011 11:39 pm

Post by TSC »

@johnswenson1. Why don't you modify the .xn file of the older board so that it also uses tile[] to make things less confusing?

Are the two boards connected through an xlink? If so, it could be easier to make a new single .xn which covers both boards so for example if each board has two tiles, they could be specified by tile[0, 1, 2, 3].