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 Anlogic technology mapping for Yosys $alu cells produces an incorrect netlist when Y WIDTH is greater than 2. For example, mapping a 4-bit $alu with all inputs low leaves the highest Y bit undefined…

The task

The Anlogic technology mapping for Yosys `$alu` cells produces an incorrect netlist when `Y_WIDTH` is greater than 2. For example, mapping a 4-bit `$alu` with all inputs low leaves the highest `Y` bit undefined; other input combinations also produce incorrect `Y` or `CO` results.

Part of henryen/OriGent-RL-Data.