HF RL Explorer

Repair a verified behavior in verilator/verilator.

Repair a verified behavior in verilator/verilator.: a task in OriGent-RL-Data (Harbor dataset). Verilator rejects any use of the SystemVerilog $countbits system function, even though the related $countones function is accepted. For example, compiling a module that assigns $countbits(value, 1'b1) …

The task

Verilator rejects any use of the SystemVerilog `$countbits` system function, even though the related `$countones` function is accepted. For example, compiling a module that assigns `$countbits(value, 1'b1)`, `$countbits(value, 1'b0)`, or `$countbits(value, 1'b0, 1'b1)` fails because `$countbits` is not recognized.

Part of henryen/OriGent-RL-Data.