Previous topic

spinnman.messages.scp.impl.scp_router_clear_request module

Next topic

spinnman.messages.scp.impl.scp_send_signal_request module

This Page

spinnman.messages.scp.impl.scp_router_init_request module

class spinnman.messages.scp.impl.scp_router_init_request.SCPRouterInitRequest(x, y, n_entries, table_address, base_address, app_id)[source]

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

A request to initialize the router on a chip

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
  • n_entries (int) – The number of entries in the table, more than 0
  • table_address (int) – The allocated table address
  • base_address (int) – The base_address containing the entries
  • app_id (int) – The id of the application with which to associate the routes. If not specified, defaults to 0.
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

  • If x is out of range
  • If y is out of range
  • If n_entries is 0 or less
  • If table_address is not positive
  • If base_address is not positive

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]