Skip to content

Commit 46a64a1

Browse files
committed
match new genMetrics.py schema
Signed-off-by: Jack Luar <[email protected]>
1 parent 22a1136 commit 46a64a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/AutoTuner/src/autotuner/utils.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,14 @@ def openroad(
307307
base_dir, f"flow/reports/{args.platform}/{args.design}", flow_variant
308308
)
309309
)
310+
results_path = os.path.abspath(
311+
os.path.join(
312+
base_dir, f"flow/results/{args.platform}/{args.design}", flow_variant
313+
)
314+
)
310315
os.makedirs(log_path, exist_ok=True)
311316
os.makedirs(report_path, exist_ok=True)
317+
os.makedirs(results_path, exist_ok=True)
312318

313319
if install_path is None:
314320
install_path = os.path.join(base_dir, "tools/install")
@@ -338,6 +344,9 @@ def openroad(
338344
metrics_command += f" -v {flow_variant}"
339345
metrics_command += f" -d {args.design}"
340346
metrics_command += f" -p {args.platform}"
347+
metrics_command += f" --logs {log_path}"
348+
metrics_command += f" --reports {report_path}"
349+
metrics_command += f" --results {results_path}"
341350
metrics_command += f" -o {metrics_file}"
342351
run_command(
343352
args,

0 commit comments

Comments
 (0)