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 incorrectly represents a SystemVerilog DPI-C imported function whose declared return type is chandle . For example, after parsing and elaborating a module containing import "DPI-C" function…

The task

Surelog incorrectly represents a SystemVerilog DPI-C imported function whose declared return type is `chandle`. For example, after parsing and elaborating a module containing `import "DPI-C" function chandle get_handle();`, the function's `vpiReturn` object in the emitted UHDM model is a `ref_var` instead of a…

Part of henryen/OriGent-SFT-Data.