Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). Yosys's public $alu cell defines CO as a Y WIDTH -bit output, where each bit CO i is the carry out of bit position i after forming AA + BB + CI (with BB conditionally inverted by BI ). The Anlogic synth…
The task
Yosys's public `$alu` cell defines `CO` as a `Y_WIDTH`-bit output, where each bit `CO[i]` is the carry out of bit position `i` after forming `AA + BB + CI` (with `BB` conditionally inverted by `BI`). The Anlogic `synth_anlogic` flow mishandles this contract in its arithmetic mapping: its techmap declares `CO` as a…
Part of henryen/OriGent-RL-Data.