Skip to content

Commit dcf5d69

Browse files
committed
Merge branch 'master' into heatmap-units
2 parents 18afa79 + dce7d10 commit dcf5d69

File tree

13 files changed

+19
-682
lines changed

13 files changed

+19
-682
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: create new gcell in its proper region
1215+
// for (auto& nesterov : nbVec_) {
1216+
// nesterov->createCbkGCell(db_inst, gcell_index);
1217+
// }
12171218
}
12181219

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

src/odb/include/odb/dbId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class dbId
2020
dbId(unsigned int id) : id_(id) {}
2121

2222
operator unsigned int() const { return id_; }
23-
unsigned int& id() { return id_; }
23+
unsigned int id() const { return id_; }
2424

2525
bool isValid() const { return id_ != invalid; }
2626
void clear() { id_ = invalid; }

src/odb/src/db/dbArrayTable.h

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)