File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3791,33 +3791,12 @@ bool dbNetwork::isConnected(const Net* net, const Pin* pin) const
37913791 dbModNet* modnet;
37923792 staToDb (net, dbnet, modnet);
37933793
3794- // Compare flat nets
37953794 dbNet* pin_dbnet = findFlatDbNet (pin);
3796-
37973795 if (dbnet != nullptr ) {
37983796 return dbnet->isConnected (pin_dbnet);
37993797 }
3800-
3801- // Compare hier nets
38023798 if (modnet != nullptr ) {
38033799 return modnet->isConnected (pin_dbnet);
3804-
3805- // dbModNet* term_modnet = hierNet(pin);
3806- // if (term_modnet == nullptr) {
3807- // return false;
3808- // }
3809- //
3810- // // Compare hier nets directly
3811- // if (modnet == term_modnet) {
3812- // return true;
3813- // }
3814- //
3815- // // Compare flat nets related to the hier nets
3816- // dbNet* related_dbnet = findRelatedDbNet(modnet);
3817- // if (related_dbnet != nullptr
3818- // && related_dbnet == findRelatedDbNet(term_modnet)) {
3819- // return true;
3820- // }
38213800 }
38223801
38233802 return false ;
@@ -3831,7 +3810,6 @@ bool dbNetwork::isConnected(const Net* net1, const Net* net2) const
38313810
38323811 dbNet* flat_net1 = findFlatDbNet (net1);
38333812 dbNet* flat_net2 = findFlatDbNet (net2);
3834-
38353813 if (flat_net1 != nullptr && flat_net1 == flat_net2) {
38363814 return true ;
38373815 }
You can’t perform that action at this time.
0 commit comments