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 miscompiles a SystemVerilog DPI-C task import when the optional context attribute is present. For a declaration such as import "DPI-C" context task get 2(output int x); inside a module…

The task

Surelog miscompiles a SystemVerilog DPI-C task import when the optional `context` attribute is present. For a declaration such as `import "DPI-C" context task get_2(output int x);` inside a module, Surelog treats the task prototype as a function prototype. The elaborated UHDM output consequently contains a `function`…

Part of henryen/OriGent-SFT-Data.