diff --git a/openlane/config/pdk_compat.py b/openlane/config/pdk_compat.py index c985de23..fef84b85 100644 --- a/openlane/config/pdk_compat.py +++ b/openlane/config/pdk_compat.py @@ -24,9 +24,9 @@ def migrate_old_config(config: Mapping[str, Any]) -> Dict[str, Any]: if "SYNTH_DRIVING_CELL_PIN" in new: del new["SYNTH_DRIVING_CELL"] del new["SYNTH_DRIVING_CELL_PIN"] - new["SYNTH_DRIVING_CELL"] = ( - f"{config['SYNTH_DRIVING_CELL']}/{config['SYNTH_DRIVING_CELL_PIN']}" - ) + new[ + "SYNTH_DRIVING_CELL" + ] = f"{config['SYNTH_DRIVING_CELL']}/{config['SYNTH_DRIVING_CELL_PIN']}" # 2. Migrate SYNTH_TIE{HI,LO}_CELL if "SYNTH_TIEHI_PORT" in new: @@ -171,9 +171,9 @@ def migrate_old_config(config: Mapping[str, Any]) -> Dict[str, Any]: del new["KLAYOUT_DRC_TECH_SCRIPT"] - new["SYNTH_CLK_DRIVING_CELL"] = ( - f"{config['SYNTH_CLK_DRIVING_CELL']}/{config['SYNTH_DRIVING_CELL_PIN']}" - ) + new[ + "SYNTH_CLK_DRIVING_CELL" + ] = f"{config['SYNTH_CLK_DRIVING_CELL']}/{config['SYNTH_DRIVING_CELL_PIN']}" # x3. Timing Corners lib_sta: Dict[str, List[str]] = {} @@ -230,7 +230,6 @@ def process_sta(key: str): new["DEFAULT_CORNER"] = f"nom_{default_pvt}" new["TIMING_VIOLATION_CORNERS"] = ["*tt*"] new["LIB"] = lib_sta - new["TIMING_VIOLATION_CORNERS"] = ["*tt*"] # x4. Constraints (sky130/gf180mcu) if new["PDK"].startswith("sky130") or new["PDK"].startswith("gf180mcu"):