Skip to content

Conversation

mossblaser
Copy link
Member

Adds:

  • spinn5_eth_coords: Generate a list of board coordinates with Ethernet
    connectivity in a SpiNNaker machine.
  • spinn5_local_eth_coord: Get the coordinates of a chip's local ethernet
    connected chip.
  • spinn5_chip_coord: Get the coordinates of a chip on its board.
  • spinn5_fpga_link: Get the identity of the FPGA link which corresponds with
    the supplied link.

Some of this code is taken from the numerous defunct branches aiming to improve Ethernet performance by using multiple links.

Adds:

* spinn5_eth_coords: Generate a list of board coordinates with Ethernet
  connectivity in a SpiNNaker machine.
* spinn5_local_eth_coord: Get the coordinates of a chip's local ethernet
  connected chip.
* spinn5_chip_coord: Get the coordinates of a chip on its board.
* spinn5_fpga_link: Get the identity of the FPGA link which corresponds with
  the supplied link.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so I understand: (4, 3) -> (0, 0)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that lookup would return (-4, -3) for the key (4, 3) since the lookup gives the offset of the ethernet connected chip from the current chip. In this case it would indeed point at (0, 0) as the Ethernet connected chip.

I spent so long trying to find a closed-form version of this function and falling back on a LUT was very much a last resort (although the one used by ST and Luis).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks :)

@mundya
Copy link
Member

mundya commented Jul 30, 2015

LGTM.

mossblaser added a commit that referenced this pull request Jul 30, 2015
@mossblaser mossblaser merged commit b995a24 into master Jul 30, 2015
@mossblaser mossblaser deleted the board-geometry-functions branch July 30, 2015 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants