public SinkPin getSinkPin(){
return tile.getSinkPin(wire);
}
public Node getSwitchBoxSink(Device dev){
SinkPin sp = tile.getSinks().get(wire);
int y = sp.switchMatrixTileOffset;
int x = y >> 16;
y = (y << 16) >> 16;
Node n = new Node(dev.getTile(tile.getRow()+y, tile.getColumn()+x),sp.switchMatrixSinkWire,null,0);
return n;