Previous topic

spinnman.messages.scp.impl.scp_count_state_response module

Next topic

spinnman.messages.scp.impl.scp_flood_fill_end_request module

This Page

spinnman.messages.scp.impl.scp_flood_fill_data_request module

class spinnman.messages.scp.impl.scp_flood_fill_data_request.SCPFloodFillDataRequest(nearest_neighbour_id, block_no, base_address, data)[source]

Bases: spinnman.messages.scp.abstract_messages.abstract_scp_request.AbstractSCPRequest

A request to start a flood fill of data

Parameters:
  • nearest_neighbour_id (int) – The id of the packet, between 0 and 127
  • block_no (int) – Which block this block is, between 0 and 255
  • base_address (int) – The base address where the data is to be loaded
  • data (bytearray) – The data to load, between 4 and 256 bytes and the size must be divisible by 4
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

  • If the id is out of range
  • If the block number is out of range
  • If the base_address is not a positive integer
  • If the data is too long or too short
  • If the length of the data is not divisible by 4

Attributes

argument_1 The first argument, or None if no first argument
argument_2 The second argument, or None if no second argument
argument_3 The third argument, or None if no third argument
data The data, or None if no data
scp_request_header The SCP request header of the message
sdp_header The SDP header of the message

Methods

get_scp_response()

Detailed Methods

get_scp_response()[source]