Skip to content

Commit 4c28721

Browse files
committed
remove env var for midifying legalizing algorithm. Now negotiation is the default
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
1 parent 357dddc commit 4c28721

6 files changed

Lines changed: 4 additions & 30 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ configuration file.
140140
| <a name="DISABLE_VIA_GEN"></a>DISABLE_VIA_GEN| Passed as -disable_via_gen to detailed_route.| |
141141
| <a name="DONT_BUFFER_PORTS"></a>DONT_BUFFER_PORTS| Do not buffer input/output ports during floorplanning.| 0|
142142
| <a name="DONT_USE_CELLS"></a>DONT_USE_CELLS| Dont use cells eases pin access in detailed routing.| |
143-
| <a name="DPL_USE_DIAMOND_LEGALIZER"></a>DPL_USE_DIAMOND_LEGALIZER| Use the former diamond search legalizer for detailed placement instead of the default negotiation legalizer.| 0|
144143
| <a name="DPO_MAX_DISPLACEMENT"></a>DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1|
145144
| <a name="EARLY_SIZING_CAP_RATIO"></a>EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| |
146145
| <a name="ENABLE_DPO"></a>ENABLE_DPO| Enable detail placement with improve_placement feature.| 1|
@@ -469,7 +468,6 @@ configuration file.
469468
- [CLUSTER_FLOPS_ARGS](#CLUSTER_FLOPS_ARGS)
470469
- [DETAIL_PLACEMENT_ARGS](#DETAIL_PLACEMENT_ARGS)
471470
- [DONT_BUFFER_PORTS](#DONT_BUFFER_PORTS)
472-
- [DPL_USE_DIAMOND_LEGALIZER](#DPL_USE_DIAMOND_LEGALIZER)
473471
- [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO)
474472
- [ENABLE_PLACE_REPAIR_TIMING](#ENABLE_PLACE_REPAIR_TIMING)
475473
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
@@ -515,7 +513,6 @@ configuration file.
515513
- [CTS_SNAPSHOT](#CTS_SNAPSHOT)
516514
- [CTS_SNAPSHOTS](#CTS_SNAPSHOTS)
517515
- [DETAILED_METRICS](#DETAILED_METRICS)
518-
- [DPL_USE_DIAMOND_LEGALIZER](#DPL_USE_DIAMOND_LEGALIZER)
519516
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
520517
- [LEC_AUX_VERILOG_FILES](#LEC_AUX_VERILOG_FILES)
521518
- [LEC_CHECK](#LEC_CHECK)
@@ -540,7 +537,6 @@ configuration file.
540537

541538
- [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
542539
- [DETAILED_METRICS](#DETAILED_METRICS)
543-
- [DPL_USE_DIAMOND_LEGALIZER](#DPL_USE_DIAMOND_LEGALIZER)
544540
- [ENABLE_RESISTANCE_AWARE](#ENABLE_RESISTANCE_AWARE)
545541
- [GLOBAL_ROUTE_ARGS](#GLOBAL_ROUTE_ARGS)
546542
- [GLOBAL_ROUTE_USE_CUGR](#GLOBAL_ROUTE_USE_CUGR)

‎flow/scripts/cts.tcl‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ set_placement_padding -global \
4646
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
4747
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
4848

49-
set dpl_args {}
50-
append_env_var dpl_args DPL_USE_DIAMOND_LEGALIZER -use_diamond_legalizer 0
51-
set result [catch { log_cmd detailed_placement {*}$dpl_args } msg]
49+
set result [catch { log_cmd detailed_placement } msg]
5250
if { $result != 0 } {
5351
save_progress 4_1_error
5452
error "Detailed placement failed in CTS: $msg"
@@ -73,7 +71,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
7371
run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v
7472
}
7573

76-
set result [catch { log_cmd detailed_placement {*}$dpl_args } msg]
74+
set result [catch { log_cmd detailed_placement } msg]
7775
if { $result != 0 } {
7876
save_progress 4_1_error
7977
error "Detailed placement failed in CTS: $msg"

‎flow/scripts/detail_place.tcl‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ proc do_dpl { } {
1616
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
1717
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
1818
set dpl_args [env_var_or_empty DETAIL_PLACEMENT_ARGS]
19-
append_env_var dpl_args DPL_USE_DIAMOND_LEGALIZER -use_diamond_legalizer 0
2019
log_cmd detailed_placement {*}$dpl_args
2120

2221
if { $::env(ENABLE_DPO) } {

‎flow/scripts/global_route.tcl‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ proc global_route_helper { } {
6969

7070
# Running DPL to fix overlapped instances
7171
# Run to get modified net by DPL
72-
set dpl_args {}
73-
append_env_var dpl_args DPL_USE_DIAMOND_LEGALIZER -use_diamond_legalizer 0
7472
log_cmd global_route -start_incremental
75-
log_cmd detailed_placement {*}$dpl_args
73+
log_cmd detailed_placement
7674
# Route only the modified net by DPL
7775
log_cmd global_route -end_incremental {*}$res_aware \
7876
-congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_design.rpt
@@ -88,7 +86,7 @@ proc global_route_helper { } {
8886
}
8987

9088
log_cmd global_route -start_incremental
91-
log_cmd detailed_placement {*}$dpl_args
89+
log_cmd detailed_placement
9290
log_cmd check_placement -verbose
9391
# Route only the modified net by DPL
9492
log_cmd global_route -end_incremental {*}$res_aware \

‎flow/scripts/variables.json‎

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flow/scripts/variables.yaml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -639,14 +639,6 @@ DPO_MAX_DISPLACEMENT:
639639
description: |
640640
Specifies how far an instance can be moved when optimizing.
641641
default: 5 1
642-
DPL_USE_DIAMOND_LEGALIZER:
643-
description: |
644-
Use the former diamond search legalizer for detailed placement instead of the default negotiation legalizer.
645-
default: 0
646-
stages:
647-
- place
648-
- cts
649-
- grt
650642
GPL_RANDOM_SEED:
651643
description: |
652644
Specifies a random seed for global placement. Useful for perturbation studies.

0 commit comments

Comments
 (0)