mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-04 16:49:35 +02:00
Sta::unsetAnnotatedSlew
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
@@ -899,6 +899,10 @@ public:
|
||||
const MinMaxAll *min_max,
|
||||
const RiseFallBoth *rf,
|
||||
float slew);
|
||||
void unsetAnnotatedSlew(Vertex *vertex,
|
||||
const Scene *scene,
|
||||
const MinMaxAll *min_max,
|
||||
const RiseFallBoth *rf);
|
||||
void writeSdf(std::string_view filename,
|
||||
const Scene *scene,
|
||||
char divider,
|
||||
|
||||
+18
-1
@@ -3875,7 +3875,6 @@ Sta::setAnnotatedSlew(Vertex *vertex,
|
||||
const RiseFallBoth *rf,
|
||||
float slew)
|
||||
{
|
||||
ensureGraph();
|
||||
for (const MinMax *mm : min_max->range()) {
|
||||
DcalcAPIndex ap_index = scene->dcalcAnalysisPtIndex(mm);
|
||||
for (const RiseFall *rf1 : rf->range()) {
|
||||
@@ -3887,6 +3886,24 @@ Sta::setAnnotatedSlew(Vertex *vertex,
|
||||
graph_delay_calc_->delayInvalid(vertex);
|
||||
}
|
||||
|
||||
void
|
||||
Sta::unsetAnnotatedSlew(Vertex *vertex,
|
||||
const Scene *scene,
|
||||
const MinMaxAll *min_max,
|
||||
const RiseFallBoth *rf)
|
||||
{
|
||||
for (const MinMax *mm : min_max->range()) {
|
||||
DcalcAPIndex ap_index = scene->dcalcAnalysisPtIndex(mm);
|
||||
for (const RiseFall *rf1 : rf->range()) {
|
||||
vertex->setSlewAnnotated(false, rf1, ap_index);
|
||||
}
|
||||
}
|
||||
if (vertex->isDriver(network_))
|
||||
graph_delay_calc_->delayInvalid(vertex);
|
||||
else
|
||||
delaysInvalidFromFanin(vertex);
|
||||
}
|
||||
|
||||
void
|
||||
Sta::writeSdf(std::string_view filename,
|
||||
const Scene *scene,
|
||||
|
||||
Reference in New Issue
Block a user