3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-17 10:33:52 +00:00
yosys/passes/memory
Marcelina Kościelnicka eb76d35e80 memory_dff: Fix needlessly duplicating enable bits.
When the register being merged into the EN signal happens to be a $sdff,
the current code creates a new $mux for every bit, even if they happen
to be identical (as is usually the case), preventing proper grouping
further down the flow.  Fix this by adding a simple cache.

Fixes #2409.
2020-10-22 13:03:42 +02:00
..
Makefile.inc
memory.cc
memory_bram.cc
memory_collect.cc
memory_dff.cc
memory_map.cc
memory_memx.cc
memory_nordff.cc
memory_share.cc
memory_unpack.cc