mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: fails when project is missing synthesis-stats.txt
This commit is contained in:
+1
-1
@@ -803,7 +803,7 @@ class Project:
|
||||
if m is not None:
|
||||
num_cells = int(m.group(1))
|
||||
|
||||
except IndexError:
|
||||
except (IndexError, FileNotFoundError):
|
||||
logging.warning(f"couldn't open yosys cell report for cell checking {self}")
|
||||
|
||||
return num_cells
|
||||
|
||||
Reference in New Issue
Block a user