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