HF RL Explorer

Repair a verified behavior in yosyshq/yosys.

Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). Yosys incorrectly retains initial-value bits for flip-flops removed by opt clean . For example, after synthesizing a module containing a two-bit register with initial Q = 0 , where both register bits are…

The task

Yosys incorrectly retains initial-value bits for flip-flops removed by `opt_clean`. For example, after synthesizing a module containing a two-bit register with `initial Q = 0`, where both register bits are clocked but only `Q[1]` is observable through an output, the unused `Q[0]` flip-flop is removed while its `init`…

Part of henryen/OriGent-RL-Data.