pacman.operations.tag_allocator_algorithms package

Module contents

pacman.operations.tag_allocator_algorithms.basic_tag_allocator()[source]

Basic tag allocator that goes though the boards available and applies the IP tags and reverse IP tags as needed.

Note

This does not actually allocate the tags, but just produces the plan of what to allocate. Allocations need access to the running machine.

Parameters:
  • machine (Machine) – The machine to set up tags to be allocated.
  • placements (Placements) – The placed vertices.
Returns:

list of IP Tags, list of Reverse IP Tags, tag allocation holder

Return type:

tuple(list(IPTag), list(ReverseIPTag), Tags)