Skip to content

Commit c0818e1

Browse files
committed
autotuner: add set_routing_layers with fastroute.tcl is empty or missing
Previously this was missing and layers outside the allowed range could be used by grt in asap7. Signed-off-by: Matt Liberty <[email protected]>
1 parent b9e0081 commit c0818e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ def write_fast_route(variables, path):
495495
sys.exit(1)
496496
layer_cmd = "set_global_routing_layer_adjustment"
497497
new_file = FR_ORIGINAL
498+
# This is part of the defaults when no FASTROUTE_TCL is provided
499+
if len(new_file) == 0:
500+
new_file = "set_routing_layers -signal $::env(MIN_ROUTING_LAYER)-$::env(MAX_ROUTING_LAYER)"
498501
for key, value in variables.items():
499502
if key.startswith("LAYER_ADJUST"):
500503
layer = key.lstrip("LAYER_ADJUST")

0 commit comments

Comments
 (0)