pacman.utilities.utility_objs package

Module contents

class pacman.utilities.utility_objs.ChipCounter(n_cores_per_chip: int = 15, sdram_per_chip: int = 104857600)

Bases: object

A counter of how many chips are needed to hold machine vertices. This does not look at the fixed_locations of the vertices at all. The value produced will be a (hopefully) worst-case estimate and should not be used to decide failure in terms of space!

add_core(resources: AbstractSDRAM)[source]
property n_chips: int
Return type:

int