Skip to content

Commit 305531c

Browse files
RRozakeszpotanski
authored andcommitted
tools: AutoTuner: autotuner: distributed: Make autotuner run only detailed route
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
1 parent 0dc243d commit 305531c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎tools/AutoTuner/src/autotuner/distributed.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ def read_metrics(cls, file_name):
132132
num_drc = value["route__drc_errors"]
133133
if stage == "detailedroute" and "route__wirelength" in value:
134134
wirelength = value["route__wirelength"]
135-
if stage == "finish" and "timing__setup__ws" in value:
135+
if stage == "detailedroute" and "timing__setup__ws" in value:
136136
worst_slack = value["timing__setup__ws"]
137-
if stage == "finish" and "power__total" in value:
137+
if stage == "detailedroute" and "power__total" in value:
138138
total_power = value["power__total"]
139-
if stage == "finish" and "design__instance__utilization" in value:
139+
if stage == "detailedroute" and "design__instance__utilization" in value:
140140
final_util = value["design__instance__utilization"]
141141
ret = {
142142
"clk_period": clk_period,
@@ -568,7 +568,7 @@ def openroad(base_dir, parameters, flow_variant, path=""):
568568

569569
make_command = export_command
570570
make_command += f"make -C {base_dir}/flow DESIGN_CONFIG=designs/"
571-
make_command += f"{args.platform}/{args.design}/config.mk"
571+
make_command += f"{args.platform}/{args.design}/config.mk route"
572572
make_command += f" PLATFORM={args.platform}"
573573
make_command += f" FLOW_VARIANT={flow_variant} {parameters}"
574574
make_command += f" EQUIVALENCE_CHECK=0"

0 commit comments

Comments
 (0)