/dports/cad/cvc/cvc-1.1.0-4-gd172016/src/ |
H A D | CVirtualNet.cc | 42 if ( theNetId == UNKNOWN_NET ) { in operator ()() 53 finalNetId = theNetId; in operator ()() 88 if ( (*this)[theNextNet].nextNetId == theNetId && theNextNet != theNetId ) { in Set() 92 (*this)[theNetId].nextNetId = theNextNet; in Set() 101 myFinalNetId = theNetId; in Set() 117 (*this)[theNetId].finalNetId = myFinalNetId; in Set() 120 (*this).lastUpdate_v[theNetId] = theTime; in Set() 147 theOutputFile << theNetId << endl; in DebugVirtualNet() 148 while ( theNetId != (*this)[theNetId].nextNetId ) { in DebugVirtualNet() 149 …theOutputFile << "->" << (*this)[theNetId].nextNetId << " r=" << (*this)[theNetId].resistance << e… in DebugVirtualNet() [all …]
|
H A D | CCvcDb_utility.cc | 53 assert(theNetId == GetEquivalentNet(theNetId)); in MinVoltage() 70 assert(theNetId == GetEquivalentNet(theNetId)); in MinSimVoltage() 92 assert(theNetId == GetEquivalentNet(theNetId)); in MinResistance() 105 assert(theNetId == GetEquivalentNet(theNetId)); in MinLeakVoltage() 121 assert(theNetId == GetEquivalentNet(theNetId)); in SimVoltage() 199 assert(theNetId == GetEquivalentNet(theNetId)); in SimResistance() 209 assert(theNetId == GetEquivalentNet(theNetId)); in MaxVoltage() 277 theNetId = equivalentNet_v[theNetId]; in GetGreatestEquivalentNet() 286 theNetId = equivalentNet_v[theNetId]; in GetLeastEquivalentNet() 294 theNetId = equivalentNet_v[theNetId]; in GetEquivalentNet() [all …]
|
H A D | CCvcDb.hh | 212 bool IsSCRCLogicNet(netId_t theNetId); 314 voltage_t MinSimVoltage(netId_t theNetId); 316 voltage_t MinLeakVoltage(netId_t theNetId); 317 voltage_t SimVoltage(netId_t theNetId); 321 voltage_t MaxSimVoltage(netId_t theNetId); 323 voltage_t MaxLeakVoltage(netId_t theNetId); 326 netId_t GetEquivalentNet(netId_t theNetId); 346 …nline bool IsVerifiedPower(netId_t theNetId) {return ! (netStatus_v[theNetId][NEEDS_MIN_CHECK] || … in IsVerifiedPower() argument 347 || netStatus_v[theNetId][NEEDS_MAX_CHECK] || netStatus_v[theNetId][NEEDS_MAX_CONNECTION]); } in IsVerifiedPower() 367 bool IsAnalogNet(netId_t theNetId); [all …]
|
H A D | CVirtualNet.hh | 61 CVirtualNet& operator() (CVirtualNetVector& theVirtualNet_v, netId_t theNetId); 77 inline bool IsTerminal(netId_t theNetId) { return ( theNetId == (*this)[theNetId].nextNetId ); } in IsTerminal() argument 80 void Set(netId_t theNetId, netId_t theNextNet, resistance_t theResistance, eventKey_t theTime); 81 void DebugVirtualNet(netId_t theNetId, string theTitle = "", ostream& theOutputFile = cout);
|
H A D | CPower.hh | 87 CMiniPower(CPower * thePower_p, netId_t theNetId); 88 CMiniPower(netId_t theNetId); 89 CMiniPower(netId_t theNetId, voltage_t theSimVoltage, bool theCreateExtraData = false); 147 CPower(CPower * thePower_p, netId_t theNetId); 148 CPower(netId_t theNetId); 149 CPower(netId_t theNetId, voltage_t theSimVoltage, bool theCreateExtraData = false); 150 …CPower(netId_t theNetId, voltage_t theMinVoltage, voltage_t theSimVoltage, voltage_t theMaxVoltage… 216 voltage_t MaxVoltage(netId_t theNetId); 217 voltage_t MinVoltage(netId_t theNetId); 218 voltage_t SimVoltage(netId_t theNetId); [all …]
|
H A D | CPower.cc | 72 netId = theNetId; in CPower() 214 CPower::CPower(netId_t theNetId) { in CPower() argument 221 netId = theNetId; in CPower() 236 netId = theNetId; in CPower() 256 netId = theNetId; in CPower() 481 return (*this)[theNetId].full->maxVoltage; in MaxVoltage() 487 return (*this)[theNetId].full->minVoltage; in MinVoltage() 493 return (*this)[theNetId].full->simVoltage; in SimVoltage() 685 if ( (*this)[theNetId].full == NULL ) { in CalculatePower() 686 (*this)[theNetId].full = new CPower(theNetId); in CalculatePower() [all …]
|
H A D | CCvcDb.cc | 1181 netId_t mySearchNetId = theNetId; in RecalculateFinalResistance() 1354 while ( theNetId != theVirtualNet_v[theNetId].nextNetId ) { in PropagateConnectionType() 1359 theNetId = theVirtualNet_v[theNetId].nextNetId; in PropagateConnectionType() 1583 minNet_v[theNetId].nextNetId != maxNet_v[theNetId].nextNetId && // different paths to min/max in CalculateResistorVoltage() 1584 …( minNet_v.IsTerminal(minNet_v[theNetId].nextNetId) || theNetId == maxNet_v[minNet_v[theNetId].nex… in CalculateResistorVoltage() 1585 …( maxNet_v.IsTerminal(maxNet_v[theNetId].nextNetId) || theNetId == minNet_v[maxNet_v[theNetId].nex… in CalculateResistorVoltage() 1610 myPower_p->netId = theNetId; in CalculateResistorVoltage() 2354 …if ( myDebug ) cout << "Net " << theNetId << " input " << inverterNet_v[theNetId] << " " << highLo… in SetInverterHighLow() 2361 return(theNetId); in SetInverterInput() 2367 …if ( myDebug ) cout << "Net " << theNetId << " input " << inverterNet_v[theNetId] << " " << highLo… in SetInverterInput() [all …]
|
H A D | CConnectionCount.cc | 28 CDeviceCount::CDeviceCount(netId_t theNetId, CCvcDb * theCvcDb_p, instanceId_t theInstanceId) { in CDeviceCount() argument 30 netId = theNetId; in CDeviceCount() 31 …for ( auto device_it = theCvcDb_p->firstSource_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it… in CDeviceCount() 57 …for ( auto device_it = theCvcDb_p->firstDrain_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it … in CDeviceCount() 86 …for ( auto device_it = theCvcDb_p->firstGate_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it =… in CDeviceCount()
|
H A D | CCvcDb_print.cc | 143 string CCvcDb::NetAlias(netId_t theNetId, bool thePrintCircuitFlag) { in NetAlias() argument 145 CPower * myPower_p = netVoltagePtr_v[theNetId].full; in NetAlias() 167 if ( theNetId == UNKNOWN_NET ) return "unknown"; in NetName() 168 instanceId_t myParentId = netParent_v[theNetId]; in NetName() 170 …return instancePtr_v[myParentId]->master_p->internalSignal_v[theNetId] + NetAlias(theNetId, thePri… in NetName() 367 if ( bulkNet_v[device_it] == theNetId ) { in PrintBulkConnections() 373 if ( bulkNet_v[device_it] == theNetId ) { in PrintBulkConnections() 957 reportFile << NetName(theNetId, PRINT_CIRCUIT_ON); in PrintNetWithModelCounts() 968 theOutputFile << NetName(theNetId) << endl; in PrintBackupNet() 969 netId_t myNetId = GetEquivalentNet(theNetId); in PrintBackupNet() [all …]
|
H A D | CCvcDb_init.cc | 533 deviceId_t CCvcDb::FindUniqueSourceDrainConnectedDevice(netId_t theNetId) { in FindUniqueSourceDrainConnectedDevice() argument 535 …for ( deviceId_t device_it = firstSource_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it = nex… in FindUniqueSourceDrainConnectedDevice() 541 …for ( deviceId_t device_it = firstDrain_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it = next… in FindUniqueSourceDrainConnectedDevice() 1283 CPower * mySourcePower_p = netVoltagePtr_v[theNetId].full; in SetSCRCGatePower() 1291 …SetSCRCParentPower(theNetId, device_it, IsPmos_(deviceType_v[device_it]), theSCRCSignalCount, theS… in SetSCRCGatePower() 1344 bool CCvcDb::IsSCRCLogicNet(netId_t theNetId) { in IsSCRCLogicNet() argument 1345 CPower * myMinPower = netVoltagePtr_v[minNet_v[theNetId].finalNetId].full; in IsSCRCLogicNet() 1346 CPower * myMaxPower = netVoltagePtr_v[maxNet_v[theNetId].finalNetId].full; in IsSCRCLogicNet() 1350 if ( connectionCount_v[theNetId].sourceDrainType != NMOS_PMOS ) return false; in IsSCRCLogicNet() 1545 void CCvcDb::PrintInputNetsWithMinMaxSuggestions(netId_t theNetId) { in PrintInputNetsWithMinMaxSuggestions() argument [all …]
|
H A D | CConnectionCount.hh | 61 CDeviceCount(netId_t theNetId, CCvcDb * theCvcDb, instanceId_t theInstanceId = 0);
|
H A D | CCvcDb_interactive.cc | 242 string CCvcDb::ShortString(netId_t theNetId, bool thePrintSubcircuitNameFlag) { in ShortString() argument 244 if ( netVoltagePtr_v[theNetId].full ) { in ShortString() 245 string myStandardDefinition = netVoltagePtr_v[theNetId].full->StandardDefinition(); in ShortString() 246 if ( IsCalculatedVoltage_(netVoltagePtr_v[theNetId].full) ) { in ShortString() 251 if ( string(netVoltagePtr_v[theNetId].full->definition) != myStandardDefinition ) { in ShortString() 252 myShortString = myShortString + netVoltagePtr_v[theNetId].full->definition + " => "; in ShortString() 259 string CCvcDb::LeakShortString(netId_t theNetId, bool thePrintSubcircuitNameFlag) { in LeakShortString() argument 261 CPower * myLeakPower_p = leakVoltagePtr_v[theNetId].full; in LeakShortString()
|
H A D | CConnection.hh | 63 void AddConnectedDevices(netId_t theNetId, list<deviceId_t>& myPmosToCheck, list<deviceId_t>& myNmo…
|
H A D | CConnection.cc | 355 void AddConnectedDevices(netId_t theNetId, list<deviceId_t>& myPmosToCheck, list<deviceId_t>& myNmo… in AddConnectedDevices() argument 357 …for ( deviceId_t device_it = theFirstDevice_v[theNetId]; device_it != UNKNOWN_DEVICE; device_it = … in AddConnectedDevices()
|