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