Class Constants
java.lang.Object
uk.ac.manchester.spinnaker.messages.Constants
public abstract class Constants extends Object
Miscellaneous SpiNNaker constants.
-
Field Summary
Fields Modifier and Type Field Description static int
BMP_ADC_MAX
The range of values the BMP's 12-bit ADCs can measure.static int
BMP_MISSING_FAN
Fan speed value returned when a fan is absent.static int
BMP_MISSING_TEMP
Temperature value returned when a probe is not connected.static double
BMP_POST_POWER_ON_SLEEP_TIME
Time to sleep after powering on boards (in seconds).static double
BMP_POWER_ON_TIMEOUT
Timeout for BMP power-on commands to reply.static double
BMP_TEMP_SCALE
Multiplier to convert from temperature probe values to degrees Celsius.static double
BMP_TIMEOUT
Timeout for other BMP commands to reply (in seconds).static double
BMP_V_SCALE_12
Multiplier to convert from ADC value to volts for 12 V lines.static double
BMP_V_SCALE_2_5
Multiplier to convert from ADC value to volts for lines less than 2.5 V.static double
BMP_V_SCALE_3_3
Multiplier to convert from ADC value to volts for 3.3 V lines.static int
BYTE_MASK
Mask of the low 8 bits of a word.static int
CPU_INFO_BYTES
How many bytes the CPU info data takes up.static int
CPU_INFO_OFFSET
The address of the start of the VCPU structure (copied from sark.h).static int
CPU_IOBUF_ADDRESS_OFFSET
The address at which the iobuf address starts.static int
CPU_USER_0_START_ADDRESS
The address at which user0 register starts.static int
CPU_USER_1_START_ADDRESS
The address at which user1 register starts.static int
CPU_USER_2_START_ADDRESS
The address at which user2 register starts.static int
IPV4_SIZE
Number of bytes in an IPv4 address.static int
MAX_TAG_ID
max user requested tag value.static int
NBBY
Number of bits per byte.static int
NO_ROUTER_DIAGNOSTIC_FILTERS
Number of router diagnostic filters.static int
ROUTER_DEFAULT_FILTERS_MAX_POSITION
Point where default filters finish and user set-able ones are available.static int
ROUTER_DIAGNOSTIC_FILTER_SIZE
The size of a router diagnostic filter control register in bytes.static int
ROUTER_FILTER_CONTROLS_OFFSET
Offset for the router filter controls first register (one word each).static int
ROUTER_REGISTER_BASE_ADDRESS
The base address of a routers diagnostic filter controls.static int
ROUTER_REGISTER_P2P_ADDRESS
The base address of a routers p2p routing table.static int
SCP_RETRY_DEFAULT
This is the default retry limit when using SCP.static int
SCP_SCAMP_PORT
The default port of the connection.static int
SCP_TIMEOUT_DEFAULT
This is the default timeout when using SCP, in milliseconds.static int
SDP_PAYLOAD_WORDS
Maximum number of words in a full SDP packet.static int
SYSTEM_VARIABLE_BASE_ADDRESS
The base address of the system variable structure in system RAM.static int
UDP_BOOT_CONNECTION_DEFAULT_PORT
The default port of the connection.static int
UDP_MESSAGE_MAX_SIZE
The max size a UDP packet can be.static int
WORD_SIZE
Number of bytes in a SpiNNaker word. -
Method Summary
-
Field Details
-
UDP_MESSAGE_MAX_SIZE
public static final int UDP_MESSAGE_MAX_SIZEThe max size a UDP packet can be.- See Also:
- Constant Field Values
-
SCP_SCAMP_PORT
public static final int SCP_SCAMP_PORTThe default port of the connection.- See Also:
- Constant Field Values
-
UDP_BOOT_CONNECTION_DEFAULT_PORT
public static final int UDP_BOOT_CONNECTION_DEFAULT_PORTThe default port of the connection.- See Also:
- Constant Field Values
-
SYSTEM_VARIABLE_BASE_ADDRESS
public static final int SYSTEM_VARIABLE_BASE_ADDRESSThe base address of the system variable structure in system RAM.- See Also:
- Constant Field Values
-
ROUTER_REGISTER_BASE_ADDRESS
public static final int ROUTER_REGISTER_BASE_ADDRESSThe base address of a routers diagnostic filter controls.- See Also:
- Constant Field Values
-
ROUTER_REGISTER_P2P_ADDRESS
public static final int ROUTER_REGISTER_P2P_ADDRESSThe base address of a routers p2p routing table.- See Also:
- Constant Field Values
-
ROUTER_FILTER_CONTROLS_OFFSET
public static final int ROUTER_FILTER_CONTROLS_OFFSETOffset for the router filter controls first register (one word each).- See Also:
- Constant Field Values
-
ROUTER_DEFAULT_FILTERS_MAX_POSITION
public static final int ROUTER_DEFAULT_FILTERS_MAX_POSITIONPoint where default filters finish and user set-able ones are available.- See Also:
- Constant Field Values
-
ROUTER_DIAGNOSTIC_FILTER_SIZE
public static final int ROUTER_DIAGNOSTIC_FILTER_SIZEThe size of a router diagnostic filter control register in bytes.- See Also:
- Constant Field Values
-
NO_ROUTER_DIAGNOSTIC_FILTERS
public static final int NO_ROUTER_DIAGNOSTIC_FILTERSNumber of router diagnostic filters.- See Also:
- Constant Field Values
-
CPU_INFO_OFFSET
public static final int CPU_INFO_OFFSETThe address of the start of the VCPU structure (copied from sark.h).- See Also:
- Constant Field Values
-
CPU_INFO_BYTES
public static final int CPU_INFO_BYTESHow many bytes the CPU info data takes up.- See Also:
- Constant Field Values
-
CPU_USER_0_START_ADDRESS
public static final int CPU_USER_0_START_ADDRESSThe address at which user0 register starts.- See Also:
- Constant Field Values
-
CPU_USER_1_START_ADDRESS
public static final int CPU_USER_1_START_ADDRESSThe address at which user1 register starts.- See Also:
- Constant Field Values
-
CPU_USER_2_START_ADDRESS
public static final int CPU_USER_2_START_ADDRESSThe address at which user2 register starts.- See Also:
- Constant Field Values
-
CPU_IOBUF_ADDRESS_OFFSET
public static final int CPU_IOBUF_ADDRESS_OFFSETThe address at which the iobuf address starts.- See Also:
- Constant Field Values
-
MAX_TAG_ID
public static final int MAX_TAG_IDmax user requested tag value.- See Also:
- Constant Field Values
-
BMP_ADC_MAX
public static final int BMP_ADC_MAXThe range of values the BMP's 12-bit ADCs can measure.- See Also:
- Constant Field Values
-
BMP_V_SCALE_2_5
public static final double BMP_V_SCALE_2_5Multiplier to convert from ADC value to volts for lines less than 2.5 V.- See Also:
- Constant Field Values
-
BMP_V_SCALE_3_3
public static final double BMP_V_SCALE_3_3Multiplier to convert from ADC value to volts for 3.3 V lines.- See Also:
- Constant Field Values
-
BMP_V_SCALE_12
public static final double BMP_V_SCALE_12Multiplier to convert from ADC value to volts for 12 V lines.- See Also:
- Constant Field Values
-
BMP_TEMP_SCALE
public static final double BMP_TEMP_SCALEMultiplier to convert from temperature probe values to degrees Celsius.- See Also:
- Constant Field Values
-
BMP_MISSING_TEMP
public static final int BMP_MISSING_TEMPTemperature value returned when a probe is not connected.- See Also:
- Constant Field Values
-
BMP_MISSING_FAN
public static final int BMP_MISSING_FANFan speed value returned when a fan is absent.- See Also:
- Constant Field Values
-
BMP_POWER_ON_TIMEOUT
public static final double BMP_POWER_ON_TIMEOUTTimeout for BMP power-on commands to reply.- See Also:
- Constant Field Values
-
BMP_TIMEOUT
public static final double BMP_TIMEOUTTimeout for other BMP commands to reply (in seconds).- See Also:
- Constant Field Values
-
BMP_POST_POWER_ON_SLEEP_TIME
public static final double BMP_POST_POWER_ON_SLEEP_TIMETime to sleep after powering on boards (in seconds).- See Also:
- Constant Field Values
-
SCP_TIMEOUT_DEFAULT
public static final int SCP_TIMEOUT_DEFAULTThis is the default timeout when using SCP, in milliseconds.- See Also:
- Constant Field Values
-
SCP_RETRY_DEFAULT
public static final int SCP_RETRY_DEFAULTThis is the default retry limit when using SCP.- See Also:
- Constant Field Values
-
WORD_SIZE
public static final int WORD_SIZENumber of bytes in a SpiNNaker word.- See Also:
- Constant Field Values
-
IPV4_SIZE
public static final int IPV4_SIZENumber of bytes in an IPv4 address.- See Also:
- Constant Field Values
-
BYTE_MASK
public static final int BYTE_MASKMask of the low 8 bits of a word.- See Also:
- Constant Field Values
-
NBBY
public static final int NBBYNumber of bits per byte.- See Also:
- Constant Field Values
-
SDP_PAYLOAD_WORDS
public static final int SDP_PAYLOAD_WORDSMaximum number of words in a full SDP packet.- See Also:
- Constant Field Values
-