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 interprets an unknown value on a multiplexer select inconsistently. The simulation model for the RTLIL $mux cell uses if (S) ... else ... , so an x or z select follows the else branch and returns A …

The task

Yosys interprets an unknown value on a multiplexer select inconsistently. The simulation model for the RTLIL `$mux` cell uses `if (S) ... else ...`, so an `x` or `z` select follows the else branch and returns `A`. This differs from Verilog's ternary operator and the existing `$_MUX_` simulation model: when the…

Part of henryen/OriGent-RL-Data.