From 20da8c7fbb342e221df7a12331a28aa3dd0439e6 Mon Sep 17 00:00:00 2001 From: "D. Mitch Bailey" Date: Fri, 30 Oct 2020 13:34:51 +0900 Subject: [PATCH] Changes for version 0.17.35 part 3 CVC: Removed unused code CVC: Removed cleanup message --- src/CCvcDb_utility.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/CCvcDb_utility.cc b/src/CCvcDb_utility.cc index 86e0ea9..a6973b2 100755 --- a/src/CCvcDb_utility.cc +++ b/src/CCvcDb_utility.cc @@ -1058,14 +1058,13 @@ void CCvcDb::Cleanup() { RemoveLock(); try { cvcParameters.cvcPowerPtrList.Clear(leakVoltagePtr_v, netVoltagePtr_v, netCount); // defined power deleted here - cout << "Cleared power pointer list" << endl; + if ( gDebug_cvc ) cout << "Cleared power pointer list" << endl; int myDeleteCount = 0; for ( netId_t net_it = 0; net_it < netCount; net_it++ ) { CPower * myPower_p = netVoltagePtr_v[net_it].full; if ( leakVoltageSet ) { CPower * myLeakPower_p = leakVoltagePtr_v[net_it].full; if ( leakVoltagePtr_v.size() > net_it && myLeakPower_p && myPower_p != myLeakPower_p ) { // unique leak power deleted here - //cout << "leak pointer at " << net_it << endl; if ( myLeakPower_p->extraData ) { if ( gDebug_cvc ) cout << "DEBUG: extra data at net " << net_it << endl; } @@ -1074,7 +1073,6 @@ void CCvcDb::Cleanup() { } } if ( netVoltagePtr_v.size() > net_it && myPower_p ) { // calculated power deleted here - //cout << "net pointer at " << net_it << endl; if ( myPower_p->extraData ) { if ( gDebug_cvc ) cout << "DEBUG: extra data at net " << net_it << endl; } @@ -1725,7 +1723,6 @@ instanceId_t CCvcDb::FindNetInstance(netId_t theNetId, instanceId_t theInstance) bool CCvcDb::IsInternalNet(netId_t theNetId, instanceId_t theInstance) { // true if net is internal to instance if ( theInstance == UNKNOWN_INSTANCE || theNetId == UNKNOWN_NET ) return false; // bad instance or net - CInstance * myInstance_p = instancePtr_v[theInstance]; instanceId_t myParent = netParent_v[theNetId]; if ( myParent == 0 && theInstance == 0 ) return false; // top level nets are not internal return( IsSubcircuitOf(myParent, theInstance) );