pacman.utilities.utility_objs package¶
Module contents¶
-
class
pacman.utilities.utility_objs.
Field
(lo, hi, value, tag=<SUPPORTED_TAGS.ROUTING: 1>, name=None)[source]¶ Bases:
object
Field object used in a field constraint for key allocation.
Parameters: -
tag
¶ The field tag.
Return type: SUPPORTED_TAGS
-
-
class
pacman.utilities.utility_objs.
SUPPORTED_TAGS
[source]¶ Bases:
enum.Enum
An enumeration.
-
APPLICATION
= 0¶
-
ROUTING
= 1¶
-
-
class
pacman.utilities.utility_objs.
ChipCounter
(n_cores_per_chip=15, sdram_per_chip=104857600)[source]¶ 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!