Skip to content

Commit

Permalink
tools: AutoTuner: autotuner: distributed: Make autotuner run only det…
Browse files Browse the repository at this point in the history
…ailed route

Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak authored and glatosinski committed Sep 30, 2024
1 parent 72a6198 commit e39d199
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/AutoTuner/src/autotuner/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ def read_metrics(cls, file_name):
num_drc = value["route__drc_errors"]
if stage == "detailedroute" and "route__wirelength" in value:
wirelength = value["route__wirelength"]
if stage == "finish" and "timing__setup__ws" in value:
if stage == "detailedroute" and "timing__setup__ws" in value:
worst_slack = value["timing__setup__ws"]
if stage == "finish" and "power__total" in value:
if stage == "detailedroute" and "power__total" in value:
total_power = value["power__total"]
if stage == "finish" and "design__instance__utilization" in value:
if stage == "detailedroute" and "design__instance__utilization" in value:
final_util = value["design__instance__utilization"]
ret = {
"clk_period": clk_period,
Expand Down Expand Up @@ -531,7 +531,7 @@ def openroad(base_dir, parameters, flow_variant, path=""):

make_command = export_command
make_command += f"make -C {base_dir}/flow DESIGN_CONFIG=designs/"
make_command += f"{args.platform}/{args.design}/config.mk"
make_command += f"{args.platform}/{args.design}/config.mk route"
make_command += f" PLATFORM={args.platform}"
make_command += f" FLOW_VARIANT={flow_variant} {parameters}"
make_command += f" EQUIVALENCE_CHECK=0"
Expand Down

0 comments on commit e39d199

Please sign in to comment.