From 8fc1f1c6ab96b1d03477ad2abaca6fae1c6a612b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Fri, 16 Jan 2026 13:06:03 +0100 Subject: [PATCH] synth: clean out unneeded liberty cells from .rtlil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- flow/scripts/synth_canonicalize.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow/scripts/synth_canonicalize.tcl b/flow/scripts/synth_canonicalize.tcl index 1c4384e200..d04d4103c4 100644 --- a/flow/scripts/synth_canonicalize.tcl +++ b/flow/scripts/synth_canonicalize.tcl @@ -5,6 +5,8 @@ hierarchy -check -top $::env(DESIGN_NAME) source_env_var_if_exists SYNTH_CANONICALIZE_TCL +# Easier to read .rtlil, we'll load liberty cells later +delete =A:\liberty_cell=1 # Get rid of unused modules opt_clean -purge # The hash of this file will not change if files not part of synthesis do not change