From bbb199548b6b2eed020b2c0d884bf23ac061cad8 Mon Sep 17 00:00:00 2001 From: Ethan Wu Date: Tue, 3 Sep 2024 14:22:48 -0700 Subject: [PATCH] Fix Yosys DFF mapping Remove `-map-only` flag that was breaking synthesis, causing many DFFs to be emitted as Yosys internal abstract cells instead of being mapped to the available DFF cells. --- hammer/synthesis/yosys/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hammer/synthesis/yosys/__init__.py b/hammer/synthesis/yosys/__init__.py index fbfe135b0..5e6460f1d 100644 --- a/hammer/synthesis/yosys/__init__.py +++ b/hammer/synthesis/yosys/__init__.py @@ -270,7 +270,7 @@ def syn_generic(self) -> bool: # Technology mapping of flip-flops """) for liberty_file in self.liberty_files_tt.split(): - self.verbose_append(f"dfflibmap -map-only -liberty {liberty_file}") + self.verbose_append(f"dfflibmap -liberty {liberty_file}") self.verbose_append("opt") self.write_sdc_file()