HF RL Explorer

Repair a verified behavior in chipsalliance/surelog.

Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). Surelog's SystemVerilog preprocessor mishandles a function-like define whose single-line replacement text is followed by a one-line comment. For example, define FOO(n) n // comment is handled as…

The task

Surelog's SystemVerilog preprocessor mishandles a function-like `define whose single-line replacement text is followed by a one-line comment. For example, `define FOO(n) n // comment` is handled as though it were not a function-like macro definition. A later invocation such as `FOO(`BAR) therefore does not substitute…

Part of henryen/OriGent-SFT-Data.