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 incorrectly maps Gowin tristate drivers. A source expression such as o = enable ? data : 1'bz has active-high enable semantics, but Gowin tristate primitives use an active-low output-enable input named…

The task

Yosys incorrectly maps Gowin tristate drivers. A source expression such as `o = enable ? data : 1'bz` has active-high enable semantics, but Gowin tristate primitives use an active-low output-enable input named `OEN`. With the default `synth_gowin` flow, the synthesized netlist follows the wrong polarity: the driver…

Part of henryen/OriGent-RL-Data.