Skip to content

Commit

Permalink
fix: fails when project is missing synthesis-stats.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Oct 13, 2023
1 parent 562ebd4 commit 300a179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def get_cell_count_from_synth(self):
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
Expand Down

0 comments on commit 300a179

Please sign in to comment.