pacman.utilities.utility_objs package

Module contents

class pacman.utilities.utility_objs.ChipCounter

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]

Adds a core (or if needed a Chip) to the count

Parameters:

resources (AbstractSDRAM)

property n_chips: int
Return type:

int