|
63 | 63 | import uk.ac.manchester.spinnaker.machine.board.PhysicalCoords;
|
64 | 64 | import uk.ac.manchester.spinnaker.machine.board.TriadCoords;
|
65 | 65 | import uk.ac.manchester.spinnaker.machine.tags.IPTag;
|
66 |
| -import uk.ac.manchester.spinnaker.machine.tags.TrafficIdentifier; |
67 | 66 | import uk.ac.manchester.spinnaker.utils.validation.IPAddress;
|
68 | 67 |
|
69 | 68 | /**
|
@@ -324,15 +323,12 @@ public void fastDataWrite(@ValidX int gatherX, @ValidY int gatherY,
|
324 | 323 | @ValidX int x, @ValidY int y, long address, byte[] bytes,
|
325 | 324 | AsyncResponse response) {
|
326 | 325 | bgAction(response, () -> {
|
327 |
| -// var fdi = j.getFastDataIn( |
328 |
| -// new CoreLocation(gatherX, gatherY, gatherP), |
329 |
| -// new IPTag(ethAddress, iptag, ethX, ethY, "localhost", |
330 |
| -// null, true, TrafficIdentifier.BUFFERED.label)); |
331 |
| -// fdi.fastWrite(new ChipLocation(x, y), |
332 |
| -// new MemoryLocation(address), wrap(bytes)); |
333 |
| - var txrx = j.getTransceiver(); |
334 |
| - txrx.writeMemory(new ChipLocation(gatherX + x, gatherY + y), |
335 |
| - new MemoryLocation(address), bytes); |
| 326 | + var fdi = j.getFastDataIn( |
| 327 | + new CoreLocation(gatherX, gatherY, gatherP), |
| 328 | + new IPTag(ethAddress, iptag, ethX, ethY, "localhost", |
| 329 | + null, true, "DATA_SPEED_UP")); |
| 330 | + fdi.fastWrite(new ChipLocation(x, y), |
| 331 | + new MemoryLocation(address), wrap(bytes)); |
336 | 332 | return accepted().build();
|
337 | 333 | });
|
338 | 334 | }
|
|
0 commit comments