Previous topic

spinnman.model.mailbox_command module

Next topic

spinnman.model.run_time_error module

This Page

spinnman.model.router_diagnostics module

class spinnman.model.router_diagnostics.RouterDiagnostics(control_register, error_status, register_values)[source]

Bases: object

Represents a set of diagnostic information available from a chip router

Parameters:
  • control_register (int) – The value of the control register
  • error_status (int) – The value of the error_status
  • register_values (iterable of int) – The values of the 16 router registers
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

If the number of register values is not 16

Attributes

error_status The error status
mon The “mon” part of the control register
n_dropped_fixed_route_packets The number of fixed-route packets received that were dropped
n_dropped_multicast_packets The number of multicast packets received that were dropped
n_dropped_nearest_neighbour_packets The number of nearest-neighbour packets received that were dropped
n_dropped_peer_to_peer_packets The number of peer-to-peer packets received that were dropped
n_external_fixed_route_packets The number of fixed-route packets received from external links
n_external_multicast_packets The number of multicast packets received from external links
n_external_nearest_neighbour_packets The number of nearest-neighbour packets received from external links
n_external_peer_to_peer_packets The number of peer-to-peer packets received from external links
n_local_fixed_route_packets The number of fixed-route packets received from local cores
n_local_multicast_packets The number of multicast packets received from local cores
n_local_nearest_neighbour_packets The number of nearest-neighbour packets received from local cores
n_local_peer_to_peer_packets The number of peer-to-peer packets received from local cores
registers The values in all of the registers.
user_registers The values in the user control registers
wait_1 The wait_1 part of the control register
wait_2 The wait_2 part of the control register