Class RouterInit
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<EmptyResponse>
uk.ac.manchester.spinnaker.messages.scp.RouterInit
- All Implemented Interfaces:
- SerializableMessage
A request to initialise the router on a chip. There is no response payload.
 
 Ultimately handled by rtr_mc_load() in sark_hw.c (via
 cmd_rtr() in scamp-cmd.c).
- 
Field SummaryFields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequestargument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequestsdpHeader
- 
Constructor SummaryConstructorsConstructorDescriptionRouterInit(HasChipLocation chip, int numEntries, MemoryLocation tableAddress, int baseIndex, AppID appID) 
- 
Method SummaryModifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequestaddToBufferMethods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequestgetMessageData
- 
Constructor Details- 
RouterInitpublic RouterInit(HasChipLocation chip, int numEntries, MemoryLocation tableAddress, int baseIndex, AppID appID) - Parameters:
- chip- The coordinates of the chip to clear the router of
- numEntries- The number of entries in the table (more than 0)
- tableAddress- The allocated address containing the data to init the router from.
- baseIndex- The base index in the router table where the entries are to be placed.
- appID- The ID of the application with which to associate the routes.
- Throws:
- IllegalArgumentException- If a bad address or entry count is given
 
 
- 
- 
Method Details- 
getSCPResponseDescription copied from class:SCPRequestParse the response to this message.- Specified by:
- getSCPResponsein class- SCPRequest<EmptyResponse>
- Parameters:
- buffer- The buffer to parse.
- Returns:
- The message response.
- Throws:
- UnexpectedResponseCodeException
 
 
-