mirror of https://github.com/efabless/caravel.git
update signoff script to enhance the readability of STA results
This commit is contained in:
parent
d9cf226c62
commit
a73c9b1d90
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue