Skip to content

Commit 058210c

Browse files
committed
gpl: always create new instances from TD mode in top-level
Signed-off-by: Augusto Berndt <[email protected]>
1 parent 7dd5365 commit 058210c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/gpl/src/nesterovPlace.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,11 +1209,12 @@ nesterovDbCbk::nesterovDbCbk(NesterovPlace* nesterov_place)
12091209
void NesterovPlace::createCbkGCell(odb::dbInst* db_inst)
12101210
{
12111211
auto gcell_index = nbc_->createCbkGCell(db_inst);
1212-
for (auto& nesterov : nbVec_) {
1213-
// TODO: manage regions, not every NB should create a
1214-
// gcell.
1215-
nesterov->createCbkGCell(db_inst, gcell_index);
1216-
}
1212+
// Always create gcell on top-level
1213+
nbVec_[0]->createCbkGCell(db_inst, gcell_index);
1214+
// TODO: properly create new gcell in each region
1215+
// for (auto& nesterov : nbVec_) {
1216+
// nesterov->createCbkGCell(db_inst, gcell_index);
1217+
// }
12171218
}
12181219

12191220
void NesterovPlace::destroyCbkGCell(odb::dbInst* db_inst)

0 commit comments

Comments
 (0)