File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,8 @@ void dbSta::postReadLef(dbTech* tech, dbLib* library)
284284
285285void dbSta::postReadDef (dbBlock* block)
286286{
287- if (!block->getParent ()) {
287+ // If this is the top block of the main chip:
288+ if (!block->getParent () && block->getChip () == block->getDb ()->getChip ()) {
288289 db_network_->readDefAfter (block);
289290 db_cbk_->addOwner (block);
290291 db_cbk_->setNetwork (db_network_);
Original file line number Diff line number Diff line change @@ -662,8 +662,7 @@ void dbChip::destroy(dbChip* chip_)
662662 dbProperty::destroyProperties (chip);
663663 db->chip_hash_ .remove (chip);
664664 db->chip_tbl_ ->destroy (chip);
665- db->_chip = 0 ;
666665}
667666// User Code End dbChipPublicMethods
668667} // namespace odb
669- // Generator Code End Cpp
668+ // Generator Code End Cpp
You can’t perform that action at this time.
0 commit comments