spinnman.messages.spinnaker_boot package

Submodules

spinnman.messages.spinnaker_boot.spinnaker_boot_message module

class spinnman.messages.spinnaker_boot.spinnaker_boot_message.SpinnakerBootMessage(opcode, operand_1, operand_2, operand_3, data=None, offset=0)[source]

Bases: object

A message used for booting the board

Parameters:
Raises:

spinnman.exceptions.SpinnmanInvalidParameterException – If the opcode is not a valid value

bytestring

The message as a bytestring

data

The data

Returns:The data or None if no data
Return type:bytearray
static from_bytestring(data, offset)[source]
opcode

The operation of this packet

Returns:The operation code
Return type:spinnman.messages.spinnaker_boot.spinnaker_boot_op_code.SpinnakerBootOpCode
operand_1

The first operand

Returns:The operand
Return type:int
operand_2

The second operand

Returns:The second operand
Return type:int
operand_3

The third operand

Returns:The third operand
Return type:int

spinnman.messages.spinnaker_boot.spinnaker_boot_messages module

SpinnakerBootMessages

class spinnman.messages.spinnaker_boot.spinnaker_boot_messages.SpinnakerBootMessages(board_version=None)[source]

Bases: object

Represents a set of boot messages to be sent to boot the board

builds the boot messages needed to boot the spinnaker machine

Parameters:

board_version (int) – The version of the board to be booted

Raises:
messages

Get an iterable of message to be sent.

spinnman.messages.spinnaker_boot.spinnaker_boot_op_code module

class spinnman.messages.spinnaker_boot.spinnaker_boot_op_code.SpinnakerBootOpCode(value, doc='')[source]

Bases: enum.Enum

Boot message Operation Codes

FLOOD_FILL_BLOCK = 3
FLOOD_FILL_CONTROL = 5
FLOOD_FILL_START = 1
HELLO = 65

Module contents