Skip to content

Commit

Permalink
Fix Yosys DFF mapping (#875)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ethanwu10 authored Sep 10, 2024
1 parent 51e6364 commit c501945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hammer/synthesis/yosys/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c501945

Please sign in to comment.