select a xlink

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
Guest

select a xlink

Post by Guest »

Hi all,
I'm a newbie.there are 2 xConnect links X0LB X0LC in XS1-L8-64-48TQFP,how to select a xlink to send and receive token in program.I read some code like this:

getr r0,2
ldc r1,1
shl r1,r1,24
ldc r2,2
or r1,r1,r2 //nodeid 1, coreid 0, chanend id 0 ; target address 0x01000002
setd res[r0],r1

which xlink does the instruction getr select? X0LB or X0LC ?


thanks


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm
Contact:

Post by Bianco »

That depends on how the switch is configured.
Post Reply