Sta::unsetAnnotatedSlew
Signed-off-by: James Cherry <cherry@CerezoBook.local>
This commit is contained in:
parent
ffd54f38b1
commit
41a3d86d8c
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue