From c5b499e35eb262e586e2863a15e51eb2f05933c1 Mon Sep 17 00:00:00 2001 From: Kareem Farid Date: Wed, 16 Oct 2024 15:47:48 +0300 Subject: [PATCH 1/2] test dpo Signed-off-by: Kareem Farid --- openlane/scripts/openroad/common/dpl.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlane/scripts/openroad/common/dpl.tcl b/openlane/scripts/openroad/common/dpl.tcl index cf8158580..b48e3811e 100644 --- a/openlane/scripts/openroad/common/dpl.tcl +++ b/openlane/scripts/openroad/common/dpl.tcl @@ -18,6 +18,8 @@ remove_fillers detailed_placement\ -max_displacement [subst { $::env(PL_MAX_DISPLACEMENT_X) $::env(PL_MAX_DISPLACEMENT_Y) }] +improve_placement -max_displacement "5 1" + if { [info exists ::env(PL_OPTIMIZE_MIRRORING)] && $::env(PL_OPTIMIZE_MIRRORING) } { optimize_mirroring } From 1ab039d06a80d7637d65ca5aa0392923a9497054 Mon Sep 17 00:00:00 2001 From: Kareem Farid Date: Thu, 17 Oct 2024 11:56:08 +0300 Subject: [PATCH 2/2] Use flow values Signed-off-by: Kareem Farid --- openlane/scripts/openroad/common/dpl.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlane/scripts/openroad/common/dpl.tcl b/openlane/scripts/openroad/common/dpl.tcl index b48e3811e..ebee51d3c 100644 --- a/openlane/scripts/openroad/common/dpl.tcl +++ b/openlane/scripts/openroad/common/dpl.tcl @@ -18,7 +18,7 @@ remove_fillers detailed_placement\ -max_displacement [subst { $::env(PL_MAX_DISPLACEMENT_X) $::env(PL_MAX_DISPLACEMENT_Y) }] -improve_placement -max_displacement "5 1" +improve_placement -max_displacement [subst { $::env(PL_MAX_DISPLACEMENT_X) $::env(PL_MAX_DISPLACEMENT_Y) }] if { [info exists ::env(PL_OPTIMIZE_MIRRORING)] && $::env(PL_OPTIMIZE_MIRRORING) } { optimize_mirroring