Previous topic

spinnman.model.cpu_state module

Next topic

spinnman.model.diagnostic_filter_default_routing_status module

This Page

spinnman.model.diagnostic_filter module

class spinnman.model.diagnostic_filter.DiagnosticFilter(enable_interrupt_on_counter_event, match_emergency_routing_status_to_incoming_packet, destinations, sources, payload_statuses, default_routing_statuses, emergency_routing_statuses, packet_types)[source]

Bases: object

A router diagnostic counter filter, which counts packets passing through the router with certain properties. The counter will be incremented so long as the packet matches one of the values in each field i.e. one of each of the destinations, sources, payload_statuses, default_routing_statuses, emergency_routing_statuses and packet_types

Parameters:

Attributes

default_routing_statuses
destinations
emergency_routing_statuses
enable_interrupt_on_counter_event
filter_word A word of data that can be written to the router to set up the filter
match_emergency_routing_status_to_incoming_packet
packet_types
payload_statuses
sources

Methods

read_from_int(int_value)

Detailed Methods

static read_from_int(int_value)[source]