CheckCapacitanceLimits::findLimit library default

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-12-08 07:34:56 -07:00
parent dd7782e10b
commit 88c49f1ea7
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ CheckCapacitanceLimits::checkCapacitance1(const Pin *pin,
} }
} }
// return the tightest limit. // Return the tightest limit.
void void
CheckCapacitanceLimits::findLimit(const Pin *pin, CheckCapacitanceLimits::findLimit(const Pin *pin,
const Corner *corner, const Corner *corner,
@ -179,7 +179,7 @@ CheckCapacitanceLimits::findLimit(const Pin *pin,
if (!exists1 if (!exists1
&& corner_port->direction()->isAnyOutput() && corner_port->direction()->isAnyOutput()
&& min_max == MinMax::max()) && min_max == MinMax::max())
corner_port->libertyLibrary()->defaultMaxSlew(limit1, exists1); corner_port->libertyLibrary()->defaultMaxCapacitance(limit1, exists1);
if (exists1 if (exists1
&& (!exists && (!exists
|| min_max->compare(limit, limit1))) { || min_max->compare(limit, limit1))) {