From 6bbebebce0216ebce046a21ce76a3250dc5bf510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 9 Jun 2026 11:42:31 +0200 Subject: [PATCH] open: skip CRPR pre-CTS to avoid OOM on high-reconvergence clocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pre-CTS there is no clock tree, so CRPR (clock reconvergence pessimism removal) has no real launch/capture common-path delay to remove and its correction is ~0. On designs with high clock reconvergence the CRPR tag set can still grow to tens of GB and OOM the process while contributing nothing to the reported slacks. Disable CRPR for design_stage < 4, mirroring the existing set_propagated_clock gate. At stage >= 4 (CTS onward) CRPR is unchanged. Signed-off-by: Øyvind Harboe --- flow/scripts/open.tcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flow/scripts/open.tcl b/flow/scripts/open.tcl index c9241ca506..24039e726c 100644 --- a/flow/scripts/open.tcl +++ b/flow/scripts/open.tcl @@ -53,6 +53,12 @@ proc read_timing { input_file } { if { $design_stage >= 4 } { # CTS has run, so propagate clocks set_propagated_clock [all_clocks] + } else { + # Pre-CTS there is no clock tree, so CRPR has no real launch/capture + # common-path delay to remove and its correction is ~0. On designs with + # high clock reconvergence the CRPR tag set can still grow to tens of GB + # and OOM the process. Skip it pre-CTS. + sta::set_crpr_enabled 0 } if { $design_stage >= 6 && [file exist $::env(RESULTS_DIR)/6_final.spef] } {