Class FPGALinkData
java.lang.Object
uk.ac.manchester.spinnaker.machine.datalinks.AbstractDataLink
uk.ac.manchester.spinnaker.machine.datalinks.FPGALinkData
- All Implemented Interfaces:
HasChipLocation
A description of a particular inter-board link.
- Author:
- Christian-B
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal FpgaIdThe ID of the FPGA port being used.final intThe link ID from the FPGA perspective.Fields inherited from class uk.ac.manchester.spinnaker.machine.datalinks.AbstractDataLink
boardAddress, direction, location -
Constructor Summary
ConstructorsConstructorDescriptionFPGALinkData(int fpgaLinkId, FpgaId fpgaId, HasChipLocation location, Direction linkId, InetAddress boardAddress) Build an instance. -
Method Summary
Methods inherited from class uk.ac.manchester.spinnaker.machine.datalinks.AbstractDataLink
asChipLocation, getX, getYMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.manchester.spinnaker.machine.HasChipLocation
getScampCore, onSameChipAs
-
Field Details
-
fpgaLinkId
public final int fpgaLinkIdThe link ID from the FPGA perspective. -
fpgaId
The ID of the FPGA port being used.
-
-
Constructor Details
-
FPGALinkData
public FPGALinkData(int fpgaLinkId, FpgaId fpgaId, HasChipLocation location, Direction linkId, InetAddress boardAddress) Build an instance.- Parameters:
fpgaLinkId- The link ID from the FPGA perspective.fpgaId- The ID of the FPGA port being used.location- The location/chip being linked tolinkId- The ID/direction coming out of the chipboardAddress- IP address of the data link on the board.
-
-
Method Details
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractDataLink
-
equals
Description copied from class:AbstractDataLink- Specified by:
equalsin classAbstractDataLink
-
toString
-