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). When the OPT DFF pass processes an asynchronous-reset flip-flop whose data input is fed by a sufficiently long chain of muxes containing feedback from the flip-flop output, the pass can fail to terminate…

The task

When the OPT_DFF pass processes an asynchronous-reset flip-flop whose data input is fed by a sufficiently long chain of muxes containing feedback from the flip-flop output, the pass can fail to terminate while simplifying the mux-feedback patterns. A one-bit $adff with such a mux-feedback chain is enough to trigger…

Part of henryen/OriGent-RL-Data.