Class ChipInfo
java.lang.Object
uk.ac.manchester.spinnaker.messages.model.ChipInfo
- All Implemented Interfaces:
- HasChipLocation
Represents the system variables for a chip, received from the chip SDRAM.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintintlongintintintintintintintint[]getLEDs()intintgetLock()intintintintintintintintintintintintintbyte[]intintintintintgetSize()intbyte[]intintintintintintgetUser0()intgetUser1()intgetUser2()intgetUser4()byte[]intgetX()intgetY()booleanbooleanbooleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.manchester.spinnaker.machine.HasChipLocationasChipLocation, getScampCore, onSameChipAs
- 
Constructor Details- 
ChipInfoParse a system data block.- Parameters:
- systemData- The data retrieved from SDRAM on the board.
 
 
- 
- 
Method Details- 
getXpublic int getX()- Specified by:
- getXin interface- HasChipLocation
 
- 
getYpublic int getY()- Specified by:
- getYin interface- HasChipLocation
 
- 
getSize- Returns:
- The number of chips in the x- and y-dimensions.
 
- 
getDebugChip- Returns:
- The location of the chip to send debug messages to.
 
- 
isPeerToPeerAvailablepublic boolean isPeerToPeerAvailable()- Returns:
- Indicates if peer-to-peer is working on the chip.
 
- 
getNearestNeighbourLastIDpublic int getNearestNeighbourLastID()- Returns:
- The last ID used in nearest neighbour transaction.
 
- 
getEthernetChip- Returns:
- The location of the nearest chip with Ethernet.
 
- 
getHardwareVersionpublic int getHardwareVersion()- Returns:
- The version of the hardware in use.
 
- 
isEthernetAvailablepublic boolean isEthernetAvailable()- Returns:
- Indicates if Ethernet is available on this chip.
 
- 
getP2PBRepeatspublic int getP2PBRepeats()- Returns:
- Number of times to send out P2PB packets.
 
- 
getLogP2PSequenceLengthpublic int getLogP2PSequenceLength()- Returns:
- Log (base 2) of the peer-to-peer sequence length.
 
- 
getClockDivisorpublic int getClockDivisor()- Returns:
- The clock divisors for system & router clocks.
 
- 
getTimePhaseScalepublic int getTimePhaseScale()- Returns:
- The time-phase scaling factor.
 
- 
getClockMillisecondspublic long getClockMilliseconds()- Returns:
- The time since startup in milliseconds.
 
- 
getTimeMillisecondspublic int getTimeMilliseconds()- Returns:
- The number of milliseconds in the current second.
 
- 
getUnixTimestamppublic int getUnixTimestamp()- Returns:
- The time in seconds since midnight, 1st January 1970.
 
- 
getRouterTimePhaseTimerpublic int getRouterTimePhaseTimer()- Returns:
- The router time-phase timer.
 
- 
getCPUClockpublic int getCPUClock()- Returns:
- The CPU clock frequency in MHz.
 
- 
getSDRAMClockpublic int getSDRAMClock()- Returns:
- The SDRAM clock frequency in MHz.
 
- 
getNearestNeighbourForwardpublic int getNearestNeighbourForward()- Returns:
- Nearest-Neighbour forward parameter.
 
- 
getNearestNeighbourRetrypublic int getNearestNeighbourRetry()- Returns:
- Nearest-Neighbour retry parameter.
 
- 
getLinkPeekTimeoutpublic int getLinkPeekTimeout()- Returns:
- The link peek/poke timeout in microseconds.
 
- 
getLEDFlashPeriodpublic int getLEDFlashPeriod()- Returns:
- The LED period in millisecond units, or 10 to show load.
 
- 
getNetInitBCWaitTimepublic int getNetInitBCWaitTime()- Returns:
- The time to wait after last BC during network initialisation in 10 ms units.
 
- 
getNetInitPhasepublic int getNetInitPhase()- Returns:
- The phase of boot process (see enum netinit_phase_e).
 
- 
getBootChip- Returns:
- The location of the chip from which the system was booted.
 
- 
getLEDspublic int[] getLEDs()- Returns:
- The LED definitions.
 
- 
getRandomSeeedpublic int getRandomSeeed()- Returns:
- The random seed.
 
- 
isRootChippublic boolean isRootChip()- Returns:
- Indicates if this is the root chip.
 
- 
getNearestNeighbourDelaypublic int getNearestNeighbourDelay()- Returns:
- The delay between nearest-neighbour packets in microseconds.
 
- 
getSoftwareWatchdogCountpublic int getSoftwareWatchdogCount()- Returns:
- The number of watch dog timeouts before an error is raised.
 
- 
getSystemRAMHeapAddress- Returns:
- The base address of the system SDRAM heap.
 
- 
getSDRAMHeapAddress- Returns:
- The base address of the user SDRAM heap.
 
- 
getIOBUFSizepublic int getIOBUFSize()- Returns:
- The size of the iobuf buffer in bytes.
 
- 
getSystemSDRAMSizepublic int getSystemSDRAMSize()- Returns:
- The size of the system SDRAM in bytes.
 
- 
getSystemBufferSizepublic int getSystemBufferSize()- Returns:
- The size of the system buffer in words.
 
- 
getBootSignaturepublic int getBootSignature()- Returns:
- The boot signature.
 
- 
getNearestNeighbourMemoryAddress- Returns:
- The memory pointer for nearest neighbour global operations.
 
- 
getLockpublic int getLock()- Returns:
- The lock. (??)
 
- 
getLinksAvailable- Returns:
- Bit mask (6 bits) of links enabled.
 
- 
getLastBiffIDpublic int getLastBiffID()- Returns:
- Last ID used in BIFF packet.
 
- 
getBoardTestFlagspublic int getBoardTestFlags()- Returns:
- Board testing flags.
 
- 
getUser0public int getUser0()- Returns:
- The first user variable.
 
- 
getUser1public int getUser1()- Returns:
- The second user variable.
 
- 
getUser2public int getUser2()- Returns:
- The third user variable.
 
- 
getUser4public int getUser4()- Returns:
- The fourth user variable.
 
- 
getStatusMappublic byte[] getStatusMap()- Returns:
- The status map set during SCAMP boot.
 
- 
getPhysicalToVirtualCoreMappublic byte[] getPhysicalToVirtualCoreMap()- Returns:
- The physical core ID to virtual core ID map; entries with a value of 0xFF are non-operational cores.
 
- 
getVirtualToPhysicalCoreMappublic byte[] getVirtualToPhysicalCoreMap()- Returns:
- The virtual core ID to physical core ID map.
 
- 
getVirtualCoreIDs- Returns:
- A list of available cores by virtual core ID (including the monitor).
 
- 
getNumWorkingCorespublic int getNumWorkingCores()- Returns:
- The number of working cores.
 
- 
getNumSCAMPWorkingCorespublic int getNumSCAMPWorkingCores()- Returns:
- The number of SCAMP working cores.
 
- 
getSDRAMBaseAddress- Returns:
- The base address of SDRAM.
 
- 
getSystemRAMBaseAddress- Returns:
- The base address of System RAM.
 
- 
getSystemSDRAMBaseAddress- Returns:
- The base address of System SDRAM.
 
- 
getCPUInformationBaseAddress- Returns:
- The base address of the CPU information blocks.
 
- 
getSystemSDRAMHeapAddress- Returns:
- The base address of the system SDRAM heap.
 
- 
getRouterTableCopyAddress- Returns:
- The address of the copy of the routing tables.
 
- 
getP2PHopTableAddress- Returns:
- The address of the peer-to-peer hop tables.
 
- 
getAllocatedTagTableAddress- Returns:
- The address of the allocated tag table.
 
- 
getFirstFreeRouterEntrypublic int getFirstFreeRouterEntry()- Returns:
- The ID of the first free router entry.
 
- 
getNumActiveP2PAddressespublic int getNumActiveP2PAddresses()- Returns:
- The number of active peer-to-peer addresses.
 
- 
getAppDataTableAddress- Returns:
- The address of the application data table.
 
- 
getMonitorMailboxFlagspublic int getMonitorMailboxFlags()- Returns:
- The monitor incoming mailbox flags.
 
- 
getIPAddress- Returns:
- The IP address of the chip.
 
- 
getFixedRoutepublic int getFixedRoute()- Returns:
- A (virtual) copy of the router FR register.
 
- 
getBoardInfoAddress- Returns:
- A pointer to the board information structure.
 
 
-