return col * bankDriver.getNumPatches() / bankDriver.getNumColumns() + row;
return col * bankData.getNumPatches() / bankData.getNumColumns() + row;
    private int getPatchNum(int row, int col) {        return col * bankDriver.getNumPatches() / bankDriver.getNumColumns()                + row;    }