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 LUT-oriented synthesis flows lower relational comparisons too aggressively to ordinary arithmetic logic. cmp2lut.v only handles a one-bit relational result when one operand is constant and both operand…

The task

The LUT-oriented synthesis flows lower relational comparisons too aggressively to ordinary arithmetic logic. `cmp2lut.v` only handles a one-bit relational result when one operand is constant and both operand widths fit in the configured LUT width; every other `$lt`, `$le`, `$gt`, or `$ge` cell is left for the ALU…

Part of henryen/OriGent-RL-Data.