You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function ChipFloorPlan in Training_pytorch/NeuroSIM/Chip.cpp, it calculate the double vector tileLocaEachLayer.
I presume that tileLocaEachLayer record the location of the first tile that store a layer.
The following code to calculate tileLocaEachLayer seems wrong.
for (int i=0; i<netStructure.size(); i++) {
if (i==0) {
tileLocaEachLayerRow.push_back(0);
tileLocaEachLayerCol.push_back(0);
} else {
// original code here// thisTileTotal += numTileEachLayer[0][i]*numTileEachLayer[1][i];
tileLocaEachLayerRow.push_back((int)thisTileTotal/(*numTileRow));
tileLocaEachLayerCol.push_back((int)thisTileTotal%(*numTileRow)-1);
}
// I think it should be moved here.
thisTileTotal += numTileEachLayer[0][i]*numTileEachLayer[1][i];
}
I think the calculation of thisTileTotal should be moved from the else clause to outside.
The text was updated successfully, but these errors were encountered:
In the function
ChipFloorPlan
in Training_pytorch/NeuroSIM/Chip.cpp, it calculate the double vectortileLocaEachLayer
.I presume that
tileLocaEachLayer
record the location of the first tile that store a layer.The following code to calculate
tileLocaEachLayer
seems wrong.I think the calculation of thisTileTotal should be moved from the else clause to outside.
The text was updated successfully, but these errors were encountered: