pacman.operations.fixed_route_router package

Module contents

class pacman.operations.fixed_route_router.FixedRouteRouter

Bases: object

Computes the fixed routes used to direct data out traffic to the board-local gatherer processors.

__call__(machine, placements, destination_class)[source]

Runs the fixed route generator for all boards on machine

Parameters:
  • machine (Machine) – SpiNNMachine object
  • placements (Placements) – placements object
  • destination_class (type or tuple(type,..)) – the destination class to route packets to
Returns:

router tables for fixed route paths

Return type:

dict(tuple(int,int), FixedRouteEntry)

Raises: