Assign core ID on multiple L1 chip connected with x-links

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
jagspaul
Experienced Member
Posts: 117
Joined: Tue Oct 18, 2011 3:28 pm

Assign core ID on multiple L1 chip connected with x-links

Post by jagspaul »

I am building a project with five L1 chip connected with x-links as following below block diagram.

Code: Select all

[BOOT Flash]
.........|
.........|
.........|.....x-linkA| x-linkB...................x-linkA|x-linkB.................x-linkA
[L1-Chip A]-----------|------------[ L1-Chip B]----------|--------[ L1-Chip C]---->
.....|
.....|
.....| x-linkB                          
.....|
.....|                     
.....|....x-linkB .................x-linkA| x-linkB .....................x-linkA               
.....|---------------[ L1-Chip D]---------|------------[ L1-Chip E]---->
I Like to assign core ID of L1 chip as follows

Chip .................. Core ID
L1-Chip A .................0
L1-Chip B .................1
L1-Chip C .................2
L1-Chip D .................3
L1-Chip E .................4

My question:
How to assign this core ID?
If it is automatically assigned then tell me the logic?
In this above diagram which L1 chip will get which core ID while automatically assign?

Regards
jags


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

Post by segher »

You set the ids in the XN file, in the <Node Id="XXX" ...> part. For L devices,
node id and core id are equal.