Bases: object
Represents a subset of the cores on a chip
| Parameters: |
|
|---|---|
| Raises spinnman.exceptions.SpinnmanInvalidParameterException: | |
If there is more than one core listed with the same id |
|
Attributes
| processor_ids | The subset of processor ids on the chip |
| x | The x-coordinate of the chip |
| y | The y-coordinate of the chip |
Methods
| add_processor(processor_id) | Adds a processor id to this subset |
Detailed Methods
Adds a processor id to this subset
| Parameters: | processor_ids (int) – A processor id |
|---|---|
| Returns: | Nothing is returned |
| Return type: | None |
| Raises spinnman.exceptions.SpinnmanInvalidParameterException: | |
| If there is already a processor in the subset with the same id | |