Skip to content

Commit ad67756

Browse files
committed
odb: fix messed up mapping
Signed-off-by: osamahammad21 <[email protected]>
1 parent 5f7cd68 commit ad67756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb/src/db/dbDatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ dbIStream& operator>>(dbIStream& stream, _dbDatabase& obj)
311311
// Set the region_insts_map_ of the chipinst
312312
for (const auto& chip_region_inst : db->getChipRegionInsts()) {
313313
_dbChipInst* chipinst = (_dbChipInst*) chip_region_inst->getChipInst();
314-
chipinst->region_insts_map_[chip_region_inst->getId()]
314+
chipinst->region_insts_map_[chip_region_inst->getChipRegion()->getId()]
315315
= chip_region_inst->getId();
316316
}
317317
// User Code End >>

0 commit comments

Comments
 (0)