I've got two core boards. My basic question is this (two parts):
part 1: when I have two of the same slices (e.g. SDRAM) slice how do I know what ports to assign each device?
part 2: If I want to move one device to another core board (.e.g. ethernet), do I have to change the port definitions? If so how do I know what to change them to?
Here's some context:
The setup I have is depicted in this manual: https://www.xmos.com/support/xkits?subc ... nent=16091
in section 2.1: I've got two core boards daisy chained together.
I also bought two SDRAM slices - one for each board. In the manual for the SDRAM component support for multiple SDRAM slices are mentioned:
https://www.xmos.com/download/public/XM ... rc0.a).pdf
I'll give it a try, but I have a question:
I assume I'm going to put just one SDRAM slice on each core board, but I'm not clear on how the ports are configured for two boards so that the software knows where to find each SDRAM slice ... perhaps it's in the .xn file, but I'm not sure. Can someone clarify how that happens?
A similar question goes for the ethernet slice: if I put the ethernet slice on one board, the ports have to be mapped a certain way. What about when the ethernet slice is moved to the second core board : how do the port mappings change?
Thanks in advance.
Multiple Core Boards with 1 SDRAM card each.
-
- Member++
- Posts: 24
- Joined: Sat Sep 18, 2010 4:05 am
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
If you have two sliceKITs chained together, you will end up with a system with four tiles(Each slice kit has a two tile device on it). You need to specify the tile number while declaring the ports and also you need to specify the tile number to run the logical cores.
Ex: Consider chaining two slice kits(you need to change the XN file to chain sliceKITs. Example is available in the link below):
http://www.xcore.com/questions/2633/xn- ... -slicekits
If you are running app_gpio_simple_demo on slice kit from the following link: https://github.com/xcore/sw_gpio_exampl ... pio_simple...
You will specify the tile number as:
#define TILE_NUM 1
If you have chained another slice kit and want to attach GPIO slice onto the SQUARE slot of second slice kit, you need to specify TILE NUMBER as 3.
#define TILE_NUM 3
Ex: Consider chaining two slice kits(you need to change the XN file to chain sliceKITs. Example is available in the link below):
http://www.xcore.com/questions/2633/xn- ... -slicekits
If you are running app_gpio_simple_demo on slice kit from the following link: https://github.com/xcore/sw_gpio_exampl ... pio_simple...
You will specify the tile number as:
#define TILE_NUM 1
If you have chained another slice kit and want to attach GPIO slice onto the SQUARE slot of second slice kit, you need to specify TILE NUMBER as 3.
#define TILE_NUM 3