long size = val & 0x3f;
dispatch((int)addr, (int)size);
}
- if (box_inAddr.dataReadyForShip() && box_out.readyForItemFromShip()) {
+ if (box_inAddr.dataReadyForShip() && box_out.readyForDataFromShip()) {
Packet packet = box_inAddr.peekPacketForShip();
if (packet.destination.getDestinationName().equals("read")) {
box_out.addDataFromShip(readMem((int)box_inAddr.removeDataForShip()));