From b0cb3ed6bfeba3df1dd87006ee68e80454898fad Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Thu, 8 Oct 2026 04:14:16 +0000 Subject: [PATCH] load.tcl: apply WIRE_LOAD_MODEL in load_design open.tcl already applies WIRE_LOAD_MODEL; do the same in load_design so stages that load the design through load.tcl get wire delay on nets without parasitics too. Signed-off-by: Matt Liberty --- flow/scripts/load.tcl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flow/scripts/load.tcl b/flow/scripts/load.tcl index 1b3a6c4632..7d70b67769 100644 --- a/flow/scripts/load.tcl +++ b/flow/scripts/load.tcl @@ -51,6 +51,11 @@ proc load_design { design_file sdc_file } { log_cmd source $::env(PLATFORM_DIR)/setRC.tcl } + if { [env_var_exists_and_non_empty WIRE_LOAD_MODEL] } { + # OpenSTA applies a wire-load model only to nets without parasitics. + log_cmd set_wire_load_model -name $::env(WIRE_LOAD_MODEL) + } + if { [env_var_equals LIB_MODEL CCS] } { puts "Using CCS delay calculation" log_cmd set_delay_calculator prima