Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move FPGA/Spinnaker links creation data to Version #254

Merged
merged 4 commits into from
Apr 26, 2024
Merged

Conversation

Christian-B
Copy link
Member

@Christian-B Christian-B commented Apr 5, 2024

Previously the adding of FPGA and spinnaker links was handled by Machine based purely on the Machine's width and height.

This PR moves the data behind the adding of the links to the Versions

Getting the FPGA has been simplified from a fancy formula to a hard coded list
Based on:
https://drive.google.com/file/d/0B9312BuJXntlVWowQlJ3RE8wWVE/view?usp=sharing&resourcekey=0--Ypo5k1k8j20R9O3ZDu-YA

Added extra testing by

  1. Running the version before this PR to get the values
  2. Writing the tests and checking they passed
  3. Writing the Version methods and using them

Tested by:
SpiNNakerManchester/IntegrationTests#265

====
Note:
I noticed that spinnaker links are only added if the link is not used.
FPGA links are added EVEN if the link is used.

So multi board machines have FPGA links even though the hardware is used for board to board connectivity.

Would be very easy to change!

@coveralls
Copy link

coveralls commented Apr 16, 2024

Coverage Status

coverage: 92.696%. remained the same
when pulling ed80047 on links
into 6d1c35d on master.

@Christian-B Christian-B merged commit ffead2a into master Apr 26, 2024
9 checks passed
@Christian-B Christian-B deleted the links branch April 26, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants