From 00ee6a1956cd3d1c1654cff64a63dc044bce8f2a Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 11 Mar 2026 11:58:58 -0700 Subject: [PATCH] liberty max_transition warning resolves #403 Signed-off-by: James Cherry --- liberty/LibertyReader.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liberty/LibertyReader.cc b/liberty/LibertyReader.cc index c075ad07..32e551b4 100644 --- a/liberty/LibertyReader.cc +++ b/liberty/LibertyReader.cc @@ -1520,8 +1520,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.