spinnman.model.enums package

Submodules

spinnman.model.enums.cpu_state module

class spinnman.model.enums.cpu_state.CPUState(value, doc='')[source]

Bases: enum.Enum

SARK CPU States

CPU_STATE_12 = 12
CPU_STATE_13 = 13
CPU_STATE_14 = 14
C_MAIN = 6
DEAD = 0
FINISHED = 11
IDLE = 15
INITIALISING = 4
PAUSED = 10
POWERED_DOWN = 1
READY = 5
RUNNING = 7
RUN_TIME_EXCEPTION = 2
SYNC0 = 8
SYNC1 = 9
WATCHDOG = 3

spinnman.model.enums.diagnostic_filter_default_routing_status module

class spinnman.model.enums.diagnostic_filter_default_routing_status.DiagnosticFilterDefaultRoutingStatus(value, doc='')[source]

Bases: enum.Enum

Default routing flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

DEFAULT_ROUTED = 0
NON_DEFAULT_ROUTED = 1

spinnman.model.enums.diagnostic_filter_destination module

class spinnman.model.enums.diagnostic_filter_destination.DiagnosticFilterDestination(value, doc='')[source]

Bases: enum.Enum

Destination flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

DUMP = 0
LOCAL = 1
LOCAL_MONITOR = 2

spinnman.model.enums.diagnostic_filter_emergency_routing_status module

class spinnman.model.enums.diagnostic_filter_emergency_routing_status.DiagnosticFilterEmergencyRoutingStatus(value, doc='')[source]

Bases: enum.Enum

Emergency routing status flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

FIRST_STAGE = 2
FIRST_STAGE_COMBINED = 1
NORMAL = 0
SECOND_STAGE = 3

spinnman.model.enums.diagnostic_filter_packet_type module

class spinnman.model.enums.diagnostic_filter_packet_type.DiagnosticFilterPacketType(value, doc='')[source]

Bases: enum.Enum

Packet type flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

FIXED_ROUTE = 3
MULTICAST = 0
NEAREST_NEIGHBOUR = 2
POINT_TO_POINT = 1

spinnman.model.enums.diagnostic_filter_payload_status module

class spinnman.model.enums.diagnostic_filter_payload_status.DiagnosticFilterPayloadStatus(value, doc='')[source]

Bases: enum.Enum

Payload flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

WITHOUT_PAYLOAD = 1
WITH_PAYLOAD = 0

spinnman.model.enums.diagnostic_filter_source module

class spinnman.model.enums.diagnostic_filter_source.DiagnosticFilterSource(value, doc='')[source]

Bases: enum.Enum

Source flags for the diagnostic filters. Note that only one has to match for the counter to be incremented

LOCAL = 0
NON_LOCAL = 1

spinnman.model.enums.mailbox_command module

class spinnman.model.enums.mailbox_command.MailboxCommand(value, doc='')[source]

Bases: enum.Enum

Commands sent between an application and the monitor processor

SHM_CMD = 4
SHM_IDLE = 0
SHM_MSG = 1
SHM_NOP = 2
SHM_SIGNAL = 3

spinnman.model.enums.p2p_table_route module

class spinnman.model.enums.p2p_table_route.P2PTableRoute(value, doc='')[source]

Bases: enum.Enum

P2P Routing table routes

EAST = 0
MONITOR = 7
NONE = 6
NORTH = 2
NORTH_EAST = 1
SOUTH = 5
SOUTH_WEST = 4
WEST = 3

spinnman.model.enums.run_time_error module

class spinnman.model.enums.run_time_error.RunTimeError(value, doc='')[source]

Bases: enum.Enum

SARK Run time errors

ABORT = 9
API = 19
DABT = 5
DIVBY0 = 11
ENABLE = 15
EVENT = 12
FIQ = 7
IOBUF = 14
IRQ = 6
MALLOC = 10
NONE = 0
NULL = 16
PABT = 4
PKT = 17
RESET = 1
SARK_VERSRION_INCORRECT = 20
SVC = 3
SWERR = 13
TIMER = 18
UNDEF = 2
VIC = 8

Module contents