Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-sta-test-suite

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
This commit is contained in:
Jaehyun Kim 2026-03-16 12:20:36 +09:00
commit eea333c4bf
2 changed files with 5 additions and 2 deletions

View File

@ -168,7 +168,7 @@ LumpedCapDelayCalc::makeResult(const LibertyLibrary *drvr_library,
for (const auto [load_pin, load_idx] : load_pin_index_map) { for (const auto [load_pin, load_idx] : load_pin_index_map) {
ArcDelay wire_delay = 0.0; ArcDelay wire_delay = 0.0;
Slew load_slew = drvr_slew; Slew load_slew = drvr_slew;
thresholdAdjust(load_pin, drvr_library, rf, wire_delay, drvr_slew); thresholdAdjust(load_pin, drvr_library, rf, wire_delay, load_slew);
dcalc_result.setWireDelay(load_idx, wire_delay); dcalc_result.setWireDelay(load_idx, wire_delay);
dcalc_result.setLoadSlew(load_idx, load_slew); dcalc_result.setLoadSlew(load_idx, load_slew);
} }

View File

@ -1518,8 +1518,11 @@ LibertyReader::readCapacitance(const LibertyPortSeq &ports,
// min/max_transition // min/max_transition
attr_name = min_max->to_string() + "_transition"; attr_name = min_max->to_string() + "_transition";
port_group->findAttrFloat(attr_name, limit, exists); port_group->findAttrFloat(attr_name, limit, exists);
if (exists) if (exists) {
if (min_max == MinMax::max() && limit == 0.0)
libWarn(1241, port_group, "max_transition is 0.0.");
port->setSlewLimit(limit * time_scale_, min_max); port->setSlewLimit(limit * time_scale_, min_max);
}
} }
// Default capacitance. // Default capacitance.