update signoff script to enhance the readability of STA results

This commit is contained in:
Passant 2022-10-30 12:25:37 -07:00
parent d9cf226c62
commit a73c9b1d90
1 changed files with 3 additions and 0 deletions

View File

@ -259,12 +259,15 @@ def check_errors(
logging.info(f"{log_name} STA: Passed")
f.write(f"{log_name} STA: Passed\n")
elif "max_transition and max_capacitance" in lines[-1]:
logging.info(lines[-1])
logging.info(f"{log_name} STA: Passed (except: max_tran & max_cap)")
f.write(f"{log_name} STA: Passed (except: max_tran & max_cap)\n")
elif "max_transition" in lines[-1]:
logging.info(lines[-1])
logging.info(f"{log_name} STA: Passed (except: max_tran)")
f.write(f"{log_name} STA: Passed (except: max_tran)\n")
elif "max_capacitance" in lines[-1]:
logging.info(lines[-1])
logging.info(f"{log_name} STA: Passed (except: max_cap)")
f.write(f"{log_name} STA: Passed (except: max_cap)\n")
else: