Merge pull request #310 from The-OpenROAD-Project-staging/sta_necessary_changes_before_mega_merge
Changes to bring back warning 1241 and fix lumpedCapDelayCalc
This commit is contained in:
commit
a93b51ec33
|
|
@ -168,7 +168,7 @@ LumpedCapDelayCalc::makeResult(const LibertyLibrary *drvr_library,
|
|||
for (const auto [load_pin, load_idx] : load_pin_index_map) {
|
||||
ArcDelay wire_delay = 0.0;
|
||||
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.setLoadSlew(load_idx, load_slew);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1518,8 +1518,11 @@ LibertyReader::readCapacitance(const LibertyPortSeq &ports,
|
|||
// min/max_transition
|
||||
attr_name = min_max->to_string() + "_transition";
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
// Default capacitance.
|
||||
|
|
|
|||
Loading…
Reference in New Issue