File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
tools/AutoTuner/src/autotuner Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff 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
2424append_env_var cts_args -sink_clustering_size CTS_CLUSTER_SIZE 1
2525append_env_var cts_args -sink_clustering_max_diameter CTS_CLUSTER_DIAMETER 1
2626append_env_var cts_args CTS_BUF_LIST -buf_list 1
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments