pacman.utilities.file_format_converters package

Submodules

pacman.utilities.file_format_converters.convert_to_file_core_allocations module

class pacman.utilities.file_format_converters.convert_to_file_core_allocations.ConvertToFileCoreAllocations[source]

Bases: object

Converts placements to core allocations

pacman.utilities.file_format_converters.convert_to_file_machine module

class pacman.utilities.file_format_converters.convert_to_file_machine.ConvertToFileMachine[source]

Bases: object

Converter from memory machine to file machine

pacman.utilities.file_format_converters.convert_to_file_machine_graph module

class pacman.utilities.file_format_converters.convert_to_file_machine_graph.ConvertToFileMachineGraph[source]

Bases: object

Converts a memory based graph into a file based graph

pacman.utilities.file_format_converters.convert_to_file_machine_graph_pure_multicast module

class pacman.utilities.file_format_converters.convert_to_file_machine_graph_pure_multicast.ConvertToFileMachineGraphPureMulticast[source]

Bases: object

Converts a memory based graph into a file based graph

pacman.utilities.file_format_converters.convert_to_file_placement module

class pacman.utilities.file_format_converters.convert_to_file_placement.ConvertToFilePlacement[source]

Bases: object

Converts memory placements to file placements

pacman.utilities.file_format_converters.convert_to_memory_multi_cast_routes module

class pacman.utilities.file_format_converters.convert_to_memory_multi_cast_routes.ConvertToMemoryMultiCastRoutes[source]

Bases: object

Converts between file routing paths and the pacman representation of the routes

route_translation = {'SOUTH': (False, 5), 'NORTH': (False, 2), 'CORE_15': (True, 15), 'CORE_14': (True, 14), 'NORTH_EAST': (False, 1), 'CORE_16': (True, 16), 'CORE_17': (True, 17), 'CORE_10': (True, 10), 'CORE_11': (True, 11), 'CORE_12': (True, 12), 'CORE_13': (True, 13), 'EAST': (False, 0), 'CORE_6': (True, 6), 'CORE_7': (True, 7), 'CORE_4': (True, 4), 'CORE_5': (True, 5), 'CORE_2': (True, 2), 'CORE_3': (True, 3), 'CORE_0': (True, 0), 'CORE_1': (True, 1), 'CORE_8': (True, 8), 'CORE_9': (True, 9), 'SOUTH_WEST': (False, 4), 'WEST': (False, 3)}

pacman.utilities.file_format_converters.convert_to_memory_placements module

class pacman.utilities.file_format_converters.convert_to_memory_placements.ConvertToMemoryPlacements[source]

Bases: object

Takes the file-based placements, machine, machine graph and constraints and builds a memory placements object

pacman.utilities.file_format_converters.create_file_constraints module

class pacman.utilities.file_format_converters.create_file_constraints.CreateConstraintsToFile[source]

Bases: object

Creates constraints file from the machine and machine graph

Module contents