mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-30 18:01:44 +02:00
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.