delete_net update sdc net_wire_cap_map_
This commit is contained in:
parent
f457b75304
commit
ebc9614004
|
|
@ -187,6 +187,7 @@ public:
|
|||
bool isConstrained(const Net *net) const;
|
||||
// Build data structures for search.
|
||||
void searchPreamble();
|
||||
void deleteNetBefore(Net *net);
|
||||
|
||||
// SWIG sdc interface.
|
||||
AnalysisType analysisType() { return analysis_type_; }
|
||||
|
|
|
|||
12
sdc/Sdc.cc
12
sdc/Sdc.cc
|
|
@ -403,6 +403,18 @@ Sdc::initInstancePvtMaps()
|
|||
instance_pvt_maps_[mm_index] = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
Sdc::deleteNetBefore(Net *net)
|
||||
{
|
||||
if (net_wire_cap_map_) {
|
||||
for (int corner_index = 0; corner_index < corners_->count(); corner_index++) {
|
||||
net_wire_cap_map_[corner_index].erase(net);
|
||||
for (Pin *pin : *network_->drivers(net))
|
||||
drvr_pin_wire_cap_map_[corner_index].erase(pin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -4170,6 +4170,7 @@ Sta::deleteNetBefore(Net *net)
|
|||
}
|
||||
delete pin_iter;
|
||||
}
|
||||
sdc_->deleteNetBefore(net);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue