Previous topic

spinnman.messages.scp.impl.scp_write_memory_request module

Next topic

spinnman.messages.scp.scp_command module

This Page

spinnman.messages.scp.impl.scp_write_memory_words_request module

class spinnman.messages.scp.impl.scp_write_memory_words_request.SCPWriteMemoryWordsRequest(x, y, base_address, data)[source]

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

A request to write memory on a chip using words (little endian)

Parameters:
  • x (int) – The x-coordinate of the chip, between 0 and 255
  • y (int) – The y-coordinate of the chip, between 0 and 255
  • base_address (int) – The base_address to start writing to
  • data (iterable of int) – Up to 64 ints of data to write
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

  • If x is out of range
  • If y is out of range
  • If base_address is not positive
  • If the length of data is 0 or more than 256

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]