Skip to content

Commit bf8e8e3

Browse files
committed
detailed route: remove ORFS vars that are unused
Detailed route allows passing any option directly to the detailed_route openroad command via the DETAILED_ROUTE_ARGS environment variable. This allows config.mk to pass any option to detailed routing and also external tools, like Autotuner. The ORFS variables that are in detail_route.tcl now are used by the PDK to provide defaults or from config.mk project files. This commit was written after a discussion about what ORFS should expose and serves as an example of some careful "Bonasai pruning". This commit follows the principle that simple common usage should be simple, complicated or uncommon use-cases should be possible. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 3fb524c commit bf8e8e3

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

docs/user/FlowVariables.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ Note:
151151
| `CELL_PAD_IN_SITES_DETAIL_PLACEMENT` | Cell padding on both sides in site widths to ease routability in detail placement. |
152152
| `PLACE_DENSITY` | The desired placement density of cells. It reflects how spread the cells would be on the core area. 1.0 = closely dense. 0.0 = widely spread. |
153153
| `PLACE_DENSITY_LB_ADDON` | Check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists. |
154-
| `REPAIR_PDN_VIA_LAYER` | Remove power grid vias which generate DRC violations after detailed routing. |
155154
| `GLOBAL_PLACEMENT_ARGS` | Use additional tuning parameters during global placement other than default args defined in gloabl_place.tcl. |
156155
| `ENABLE_DPO` | Enable detail placement with improve_placement feature. |
157156
| `DPO_MAX_DISPLACEMENT` | Specifies how far an instance can be moved when optimizing. |

flow/scripts/detail_route.tcl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ set_propagated_clock [all_clocks]
1010

1111
set_thread_count $::env(NUM_CORES)
1212

13-
if { [info exists ::env(PRE_DETAIL_ROUTE_TCL)] } {
14-
source $::env(PRE_DETAIL_ROUTE_TCL)
15-
}
16-
1713
set additional_args ""
18-
if { [info exists ::env(dbProcessNode)]} {
19-
append additional_args " -db_process_node $::env(dbProcessNode)"
20-
}
2114
if { [info exists ::env(OR_SEED)]} {
2215
append additional_args " -or_seed $::env(OR_SEED)"
2316
}
@@ -40,9 +33,6 @@ if { [info exists ::env(VIA_IN_PIN_MAX_LAYER)]} {
4033
if { [info exists ::env(DISABLE_VIA_GEN)]} {
4134
append additional_args " -disable_via_gen"
4235
}
43-
if { [info exists ::env(REPAIR_PDN_VIA_LAYER)]} {
44-
append additional_args " -repair_pdn_vias $::env(REPAIR_PDN_VIA_LAYER)"
45-
}
4636

4737
append additional_args " -save_guide_updates -verbose 1"
4838

0 commit comments

Comments
 (0)