Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). When Yosys reads SystemVerilog with read verilog -sv , the Verilog frontend rejects the enum keyword. In particular, a module cannot declare an enumerated variable directly or through an enum typedef, so a…
The task
When Yosys reads SystemVerilog with `read_verilog -sv`, the Verilog frontend rejects the `enum` keyword. In particular, a module cannot declare an enumerated variable directly or through an enum typedef, so a state variable declared from such a type cannot be assigned or compared using its enumerators.
Part of henryen/OriGent-RL-Data.