fix: fails when project is missing synthesis-stats.txt

This commit is contained in:
Uri Shaked
2023-10-13 12:03:57 +03:00
parent 562ebd4f93
commit 300a179400
+1 -1
View File
@@ -803,7 +803,7 @@ class Project:
if m is not None: if m is not None:
num_cells = int(m.group(1)) num_cells = int(m.group(1))
except IndexError: except (IndexError, FileNotFoundError):
logging.warning(f"couldn't open yosys cell report for cell checking {self}") logging.warning(f"couldn't open yosys cell report for cell checking {self}")
return num_cells return num_cells