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). The opt expr pass fails to exploit constant zero bits at the least-significant end of a $mul operand. For example, for a multiplier with 4-bit inputs {a, 1'b0} and {b, 1'b0} and an 8-bit result, opt expr…

The task

The `opt_expr` pass fails to exploit constant zero bits at the least-significant end of a `$mul` operand. For example, for a multiplier with 4-bit inputs `{a, 1'b0}` and `{b, 1'b0}` and an 8-bit result, `opt_expr` leaves the original 4-bit by 4-bit multiplication and 8-bit result intact instead of narrowing the cell.…

Part of henryen/OriGent-RL-Data.