Class Constants

java.lang.Object
uk.ac.manchester.spinnaker.messages.Constants

public abstract class Constants extends Object
Miscellaneous SpiNNaker constants.
  • Field Details

    • UDP_MESSAGE_MAX_SIZE

      public static final int UDP_MESSAGE_MAX_SIZE
      The max size a UDP packet can be.
      See Also:
    • SCP_SCAMP_PORT

      public static final int SCP_SCAMP_PORT
      The default port of the connection.
      See Also:
    • UDP_BOOT_CONNECTION_DEFAULT_PORT

      public static final int UDP_BOOT_CONNECTION_DEFAULT_PORT
      The default port of the connection.
      See Also:
    • SYSTEM_VARIABLE_BASE_ADDRESS

      public static final int SYSTEM_VARIABLE_BASE_ADDRESS
      The base address of the system variable structure in system RAM.
      See Also:
    • ROUTER_REGISTER_BASE_ADDRESS

      public static final int ROUTER_REGISTER_BASE_ADDRESS
      The base address of a routers diagnostic filter controls.
      See Also:
    • ROUTER_REGISTER_P2P_ADDRESS

      public static final int ROUTER_REGISTER_P2P_ADDRESS
      The base address of a routers p2p routing table.
      See Also:
    • ROUTER_FILTER_CONTROLS_OFFSET

      public static final int ROUTER_FILTER_CONTROLS_OFFSET
      Offset 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_POSITION
      Point where default filters finish and user set-able ones are available.
      See Also:
    • ROUTER_DIAGNOSTIC_FILTER_SIZE

      public static final int ROUTER_DIAGNOSTIC_FILTER_SIZE
      The size of a router diagnostic filter control register in bytes.
      See Also:
    • NO_ROUTER_DIAGNOSTIC_FILTERS

      public static final int NO_ROUTER_DIAGNOSTIC_FILTERS
      Number of router diagnostic filters.
      See Also:
    • CPU_INFO_OFFSET

      public static final int CPU_INFO_OFFSET
      The address of the start of the VCPU structure (copied from sark.h).
      See Also:
    • CPU_INFO_BYTES

      public static final int CPU_INFO_BYTES
      How many bytes the CPU info data takes up.
      See Also:
    • CPU_USER_0_START_ADDRESS

      public static final int CPU_USER_0_START_ADDRESS
      The address at which user0 register starts.
      See Also:
    • CPU_USER_1_START_ADDRESS

      public static final int CPU_USER_1_START_ADDRESS
      The address at which user1 register starts.
      See Also:
    • CPU_USER_2_START_ADDRESS

      public static final int CPU_USER_2_START_ADDRESS
      The address at which user2 register starts.
      See Also:
    • CPU_IOBUF_ADDRESS_OFFSET

      public static final int CPU_IOBUF_ADDRESS_OFFSET
      The address at which the iobuf address starts.
      See Also:
    • MAX_TAG_ID

      public static final int MAX_TAG_ID
      max user requested tag value.
      See Also:
    • BMP_ADC_MAX

      public static final int BMP_ADC_MAX
      The 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_5
      Multiplier 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_3
      Multiplier 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_12
      Multiplier to convert from ADC value to volts for 12 V lines.
      See Also:
    • BMP_TEMP_SCALE

      public static final double BMP_TEMP_SCALE
      Multiplier to convert from temperature probe values to degrees Celsius.
      See Also:
    • BMP_MISSING_TEMP

      public static final int BMP_MISSING_TEMP
      Temperature value returned when a probe is not connected.
      See Also:
    • BMP_MISSING_FAN

      public static final int BMP_MISSING_FAN
      Fan speed value returned when a fan is absent.
      See Also:
    • BMP_POWER_ON_TIMEOUT

      public static final double BMP_POWER_ON_TIMEOUT
      Timeout for BMP power-on commands to reply.
      See Also:
    • BMP_TIMEOUT

      public static final double BMP_TIMEOUT
      Timeout 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_TIME
      Time to sleep after powering on boards (in seconds).
      See Also:
    • SCP_TIMEOUT_DEFAULT

      public static final int SCP_TIMEOUT_DEFAULT
      This is the default timeout when using SCP, in milliseconds.
      See Also:
    • SCP_RETRY_DEFAULT

      public static final int SCP_RETRY_DEFAULT
      This is the default retry limit when using SCP.
      See Also:
    • WORD_SIZE

      public static final int WORD_SIZE
      Number of bytes in a SpiNNaker word.
      See Also:
    • IPV4_SIZE

      public static final int IPV4_SIZE
      Number of bytes in an IPv4 address.
      See Also:
    • BYTE_MASK

      public static final int BYTE_MASK
      Mask of the low 8 bits of a word.
      See Also:
    • NBBY

      public static final int NBBY
      Number of bits per byte.
      See Also:
    • SDP_PAYLOAD_WORDS

      public static final int SDP_PAYLOAD_WORDS
      Maximum number of words in a full SDP packet.
      See Also: