Skip to content

Commit 1ce8c5d

Browse files
committed
fast_route: cleanup of vestiges
global_place.tcl now stores FASTROUTE_TCL/set_routing_layers in .odb so the need for the brittle fast_route utility fn is gone Signed-off-by: Øyvind Harboe <[email protected]>
1 parent c22d243 commit 1ce8c5d

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

flow/scripts/global_place.tcl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ if { ![env_var_exists_and_non_empty FOOTPRINT] } {
1818
}
1919
}
2020

21-
fast_route
21+
if { [env_var_exists_and_non_empty FASTROUTE_TCL] } {
22+
log_cmd source $::env(FASTROUTE_TCL)
23+
} else {
24+
log_cmd \
25+
set_global_routing_layer_adjustment \
26+
$::env(MIN_ROUTING_LAYER)-$::env(MAX_ROUTING_LAYER) $::env(ROUTING_LAYER_ADJUSTMENT)
27+
log_cmd set_routing_layers -signal $::env(MIN_ROUTING_LAYER)-$::env(MAX_ROUTING_LAYER)
28+
}
2229

2330
set global_placement_args {}
2431

flow/scripts/util.tcl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ proc repair_tie_fanout_helper { } {
3535
repair_tie_fanout -separation $tie_separation $tiehi_pin
3636
}
3737

38-
proc fast_route { } {
39-
if { [env_var_exists_and_non_empty FASTROUTE_TCL] } {
40-
log_cmd source $::env(FASTROUTE_TCL)
41-
} else {
42-
log_cmd \
43-
set_global_routing_layer_adjustment \
44-
$::env(MIN_ROUTING_LAYER)-$::env(MAX_ROUTING_LAYER) $::env(ROUTING_LAYER_ADJUSTMENT)
45-
log_cmd set_routing_layers -signal $::env(MIN_ROUTING_LAYER)-$::env(MAX_ROUTING_LAYER)
46-
}
47-
}
48-
4938
proc repair_timing_helper { args } {
5039
set additional_args "$args -verbose"
5140
append_env_var additional_args SETUP_SLACK_MARGIN -setup_margin 1

0 commit comments

Comments
 (0)