From 3680b9b1ec21a51b36605f7fa78081d40db4ad28 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Fri, 26 Apr 2024 12:20:21 +0300 Subject: [PATCH] fix(configure): update synth stats paths for tt06 --- project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project.py b/project.py index 388844b..e62d3cd 100644 --- a/project.py +++ b/project.py @@ -321,7 +321,7 @@ class Project: else: return os.path.join(self.local_dir, "runs/wokwi/reports/metrics.csv") else: - return os.path.join(self.local_dir, "metrics.csv") + return os.path.join(self.local_dir, "stats/metrics.csv") def get_gl_path(self): if self.is_user_project: @@ -811,7 +811,7 @@ class Project: def get_cell_count_from_synth(self): num_cells = 0 try: - yosys_report = f"{self.local_dir}/synthesis-stats.txt" + yosys_report = f"{self.local_dir}/stats/synthesis-stats.txt" with open(yosys_report) as fh: for line in fh.readlines(): m = re.search(r"Number of cells:\s+(\d+)", line)