Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The peepopt dffmux pattern mishandles register initial-value ( init ) attributes when signal bits are connected by RTLIL aliases. In particular, if a 4-bit $dff drives one input of a 4-bit $mux , the other…
The task
The `peepopt` dffmux pattern mishandles register initial-value (`init`) attributes when signal bits are connected by RTLIL aliases. In particular, if a 4-bit `$dff` drives one input of a 4-bit `$mux`, the other mux input is `{2'00, i}`, `i` is 2 bits wide, and an alias wire carrying the register output has `init =…
Part of henryen/OriGent-RL-Data.