Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The SystemVerilog frontend rejects a generate loop that declares and initializes its loop variable in the loop header. For example, in SystemVerilog mode, for (genvar i = 0; i < 2; i = i + 1) ... fails during…
The task
The SystemVerilog frontend rejects a generate loop that declares and initializes its loop variable in the loop header. For example, in SystemVerilog mode, `for (genvar i = 0; i < 2; i = i + 1) ...` fails during parsing with a syntax error at `genvar`.
Part of henryen/OriGent-RL-Data.