From 442612d912db823ecd44614593d23cfe7af8a1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Mon, 6 Jan 2025 14:10:36 +0100 Subject: [PATCH] synth: Run `clockgate` for automatic ICG insertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin PoviĊĦer --- flow/scripts/synth.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow/scripts/synth.tcl b/flow/scripts/synth.tcl index b8206a29b3..f096c584ee 100644 --- a/flow/scripts/synth.tcl +++ b/flow/scripts/synth.tcl @@ -65,8 +65,10 @@ foreach cell $::env(DONT_USE_CELLS) { # Technology mapping of flip-flops # dfflibmap only supports one liberty file if {[env_var_exists_and_non_empty DFF_LIB_FILE]} { + clockgate -liberty $::env(DFF_LIB_FILE) -min_net_size 8 {*}$dfflibmap_args dfflibmap -liberty $::env(DFF_LIB_FILE) {*}$dfflibmap_args } else { + clockgate -liberty $::env(DONT_USE_SC_LIB) -min_net_size 8 {*}$dfflibmap_args dfflibmap -liberty $::env(DONT_USE_SC_LIB) {*}$dfflibmap_args } opt