Skip to content

Commit 6836b18

Browse files
committed
updated CTS_BUF_DISTANCE handling + AT genMetric.py call fix
Removed sky130hd gcd from sample iteration test Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
1 parent bb5ebee commit 6836b18

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

flow/scripts/cts.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ set cts_args [list \
1818
-sink_clustering_enable \
1919
-balance_levels]
2020

21-
# TODO: The first three are no-ops since the arg order is wrong, but hard to get
21+
append_env_var cts_args CTS_BUF_DISTANCE -distance_between_buffers 1
22+
# TODO: The next two are no-ops since the arg order is wrong, but hard to get
2223
# through CI since nine designs change metrics and the PR is blocked
23-
append_env_var cts_args -distance_between_buffers CTS_BUF_DISTANCE 1
2424
append_env_var cts_args -sink_clustering_size CTS_CLUSTER_SIZE 1
2525
append_env_var cts_args -sink_clustering_max_diameter CTS_CLUSTER_DIAMETER 1
2626
append_env_var cts_args CTS_BUF_LIST -buf_list 1

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,

tools/AutoTuner/test/smoke_test_sample_iteration.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ class asap7SampleIterationSmokeTest(BaseSampleIterationSmokeTest):
7777
design = "gcd"
7878

7979

80-
class sky130hdSampleIterationSmokeTest(BaseSampleIterationSmokeTest):
81-
platform = "sky130hd"
82-
design = "gcd"
83-
84-
8580
class ihpsg13g2SampleIterationSmokeTest(BaseSampleIterationSmokeTest):
8681
platform = "ihp-sg13g2"
8782
design = "gcd"

0 commit comments

Comments
 (0)