From c9378d6706eb8c6801dbe65d8281791b4983baa4 Mon Sep 17 00:00:00 2001 From: dsengupta0628 Date: Fri, 29 May 2026 17:28:35 +0000 Subject: [PATCH 1/4] test secure ci with dbsta lev drv cleanup Signed-off-by: dsengupta0628 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 0a1b0872a0..480c65e628 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 0a1b0872a07b1e0d1ecdc5e50697c2fe80134aa4 +Subproject commit 480c65e628befb140953347e2267ce8aa0dd3adc From 645a369970a34835b91a087e6be468108d6bd5ca Mon Sep 17 00:00:00 2001 From: dsengupta0628 Date: Wed, 10 Jun 2026 19:19:39 +0000 Subject: [PATCH 2/4] fix the util regexp Signed-off-by: dsengupta0628 --- flow/scripts/util.tcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flow/scripts/util.tcl b/flow/scripts/util.tcl index ab445ebd9b..2b6ab94996 100644 --- a/flow/scripts/util.tcl +++ b/flow/scripts/util.tcl @@ -74,7 +74,10 @@ proc recover_power_helper { } { } proc extract_stage { input_file } { - if { ![regexp {/([0-9])_(([0-9])_)?} $input_file match num1 _ num2] } { + # Match the stage prefix on the basename, not the full path: an ancestor + # dir like ".../4_slices/3_place.odb" would otherwise match "4_" -> stage 4. + set stage_file [file tail $input_file] + if { ![regexp {^([0-9])_(([0-9])_)?} $stage_file match num1 _ num2] } { puts "Error: Could not determine design stage from $input_file" exit 1 } From 0b46c2862abe838888effab6702b00affcd217e0 Mon Sep 17 00:00:00 2001 From: dsengupta0628 Date: Wed, 10 Jun 2026 19:47:15 +0000 Subject: [PATCH 3/4] address gemini review Signed-off-by: dsengupta0628 --- flow/scripts/util.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/scripts/util.tcl b/flow/scripts/util.tcl index 2b6ab94996..f37337fd22 100644 --- a/flow/scripts/util.tcl +++ b/flow/scripts/util.tcl @@ -77,7 +77,7 @@ proc extract_stage { input_file } { # Match the stage prefix on the basename, not the full path: an ancestor # dir like ".../4_slices/3_place.odb" would otherwise match "4_" -> stage 4. set stage_file [file tail $input_file] - if { ![regexp {^([0-9])_(([0-9])_)?} $stage_file match num1 _ num2] } { + if { ![regexp {^([0-9])_(?:([0-9])_)?} $stage_file match num1 num2] } { puts "Error: Could not determine design stage from $input_file" exit 1 } From f853b11d0e765b172ae9b2c8f50cd0369cd7d1a2 Mon Sep 17 00:00:00 2001 From: dsengupta0628 Date: Wed, 10 Jun 2026 20:22:57 +0000 Subject: [PATCH 4/4] cleanup Signed-off-by: dsengupta0628 --- flow/scripts/util.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/scripts/util.tcl b/flow/scripts/util.tcl index f37337fd22..e2ea5ae6ee 100644 --- a/flow/scripts/util.tcl +++ b/flow/scripts/util.tcl @@ -75,7 +75,7 @@ proc recover_power_helper { } { proc extract_stage { input_file } { # Match the stage prefix on the basename, not the full path: an ancestor - # dir like ".../4_slices/3_place.odb" would otherwise match "4_" -> stage 4. + # dir like ".../4_something/3_place.odb" would otherwise match "4_" -> stage 4. set stage_file [file tail $input_file] if { ![regexp {^([0-9])_(?:([0-9])_)?} $stage_file match num1 num2] } { puts "Error: Could not determine design stage from $input_file"