Class MachineDefaults
java.lang.Object
uk.ac.manchester.spinnaker.machine.MachineDefaults
Default values for a SpiNNaker machine comprised of SpiNNaker-1 chips running
on boards of version 2 through 5.
- Author:
- Christian-B
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Width of field of hash code for holding (one dimension of the) chip coordinate.static final int
Width of field of hash code for holding processor ID.static final int
DTCM available on each standard Processor.static final Map<ChipLocation,
EnumSet<Direction>> Ignore Links info for a four chip board.static final int
The offset from zero in chips to get half size root values.static final int
Maximum links available on a standard Router.static final int
The maximum number of cores present on a chip.static final int
Maximum X coordinate for a chip regardless of the type of machine.static final int
Maximum Y coordinate for a chip regardless of the type of machine.static final int
The number of router diagnostic counters.static final int
Clock speed in MHz of a standard Processor.static final int
Standard number of Processors on each Chip.static final int
Width of field of hash code for holding region ID.static final int
Entries available on a standard Router.static final int
Default SDRAM per chip after SCAMP has reserved space for itself.static final int
The number of rows of chips on each 48 Chip board.static final int
The number of columns of chips on each 48 Chip board.static final int
The height of only known triad in chips.static final int
The width of the triad in chips. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateChipLocation
(int x, int y) Checks the X and Y coordinate parameters are legal ones regardless of the type of machine.static void
validateCoreLocation
(int x, int y, int p) Checks the X, Y, and P coordinate parameters are legal ones regardless of the type of machine.
-
Field Details
-
SDRAM_PER_CHIP
public static final int SDRAM_PER_CHIPDefault SDRAM per chip after SCAMP has reserved space for itself.- See Also:
-
PROCESSOR_CLOCK_SPEED
public static final int PROCESSOR_CLOCK_SPEEDClock speed in MHz of a standard Processor.- See Also:
-
DTCM_AVAILABLE
public static final int DTCM_AVAILABLEDTCM available on each standard Processor.- See Also:
-
PROCESSORS_PER_CHIP
public static final int PROCESSORS_PER_CHIPStandard number of Processors on each Chip.- See Also:
-
ROUTER_AVAILABLE_ENTRIES
public static final int ROUTER_AVAILABLE_ENTRIESEntries available on a standard Router.- See Also:
-
MAX_LINKS_PER_ROUTER
public static final int MAX_LINKS_PER_ROUTERMaximum links available on a standard Router.- See Also:
-
MAX_X
public static final int MAX_XMaximum X coordinate for a chip regardless of the type of machine.- See Also:
-
MAX_Y
public static final int MAX_YMaximum Y coordinate for a chip regardless of the type of machine.- See Also:
-
SIZE_X_OF_ONE_BOARD
public static final int SIZE_X_OF_ONE_BOARDThe number of rows of chips on each 48 Chip board.- See Also:
-
SIZE_Y_OF_ONE_BOARD
public static final int SIZE_Y_OF_ONE_BOARDThe number of columns of chips on each 48 Chip board.- See Also:
-
TRIAD_HEIGHT
public static final int TRIAD_HEIGHTThe height of only known triad in chips. Spalloc arranges boards in groups of three — triads — that tile out to form a large machine.- See Also:
-
TRIAD_WIDTH
public static final int TRIAD_WIDTHThe width of the triad in chips. Spalloc arranges boards in groups of three — triads — that tile out to form a large machine.- See Also:
-
HALF_SIZE
public static final int HALF_SIZEThe offset from zero in chips to get half size root values.- See Also:
-
NUM_ROUTER_DIAGNOSTIC_COUNTERS
public static final int NUM_ROUTER_DIAGNOSTIC_COUNTERSThe number of router diagnostic counters.- See Also:
-
COORD_SHIFT
public static final int COORD_SHIFTWidth of field of hash code for holding (one dimension of the) chip coordinate.- See Also:
-
MAX_NUM_CORES
public static final int MAX_NUM_CORESThe maximum number of cores present on a chip.- See Also:
-
CORE_SHIFT
public static final int CORE_SHIFTWidth of field of hash code for holding processor ID.- See Also:
-
REGION_SHIFT
public static final int REGION_SHIFTWidth of field of hash code for holding region ID.- See Also:
-
FOUR_CHIP_DOWN_LINKS
Ignore Links info for a four chip board.
-
-
Method Details
-
validateChipLocation
Checks the X and Y coordinate parameters are legal ones regardless of the type of machine.- Parameters:
x
- X coordinate of the chips locationy
- Y coordinate of the chips location- Throws:
IllegalArgumentException
- Thrown if either x or y is negative or too big.
-
validateCoreLocation
Checks the X, Y, and P coordinate parameters are legal ones regardless of the type of machine.- Parameters:
x
- X coordinate of the core/chip's locationy
- Y coordinate of the core/chip's locationp
- P coordinate of the core's location- Throws:
IllegalArgumentException
- Thrown if x, y, or p are negative or too big.
-