Enum FpgaId
- All Implemented Interfaces:
Serializable,Comparable<FpgaId>
The FPGAs that manage inter-board links.
- Author:
- Christian-B
- See Also:
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
BOTTOM
The FGPA link that connects to the bottom and bottom right chips. -
LEFT
The FGPA link that connects to the left and top left chips. -
TOP_RIGHT
The FGPA link that connects to the top and right chips.
-
-
Field Details
-
id
public final int idThe physical ID for this link.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
byId
Obtain the enum from the ID.- Parameters:
id- The physical ID for the FPGA link.- Returns:
- The ID as an enum
- Throws:
ArrayIndexOutOfBoundsException- Thrown if the ID is outside the known range.
-