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 Verilog frontend rejects a generate conditional whose then item is null. For example, parsing a module containing if (condition); inside generate / endgenerate fails with ERROR: syntax error, unexpected…

The task

The Verilog frontend rejects a generate conditional whose then item is null. For example, parsing a module containing `if (condition);` inside `generate`/`endgenerate` fails with `ERROR: syntax error, unexpected ';'`. The same construct occurs in the implicit generate context permitted directly in a module body. The…

Part of henryen/OriGent-RL-Data.