max_slew/fanout/capacitance_violation_count tcl accessors

This commit is contained in:
James Cherry 2021-05-28 16:21:43 -07:00
parent 34c312fd52
commit 8e01d33857
1 changed files with 21 additions and 0 deletions

View File

@ -4718,6 +4718,13 @@ check_slew_limits(Net *net,
return Sta::sta()->checkSlewLimits(net, violators, corner, min_max);
}
size_t
max_slew_violation_count()
{
cmdLinkedNetwork();
return Sta::sta()->checkSlewLimits(nullptr, true, nullptr, MinMax::max())->size();
}
void
report_slew_limit_short_header()
{
@ -4751,6 +4758,13 @@ check_fanout_limits(Net *net,
return Sta::sta()->checkFanoutLimits(net, violators, min_max);
}
size_t
max_fanout_violation_count()
{
cmdLinkedNetwork();
return Sta::sta()->checkFanoutLimits(nullptr, true, MinMax::max())->size();
}
void
report_fanout_limit_short_header()
{
@ -4783,6 +4797,13 @@ check_capacitance_limits(Net *net,
return Sta::sta()->checkCapacitanceLimits(net, violators, corner, min_max);
}
size_t
max_capacitance_violation_count()
{
cmdLinkedNetwork();
return Sta::sta()->checkCapacitanceLimits(nullptr, true,nullptr,MinMax::max())->size();
}
void
report_capacitance_limit_short_header()
{