Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). Surelog does not preserve the enum kind of a SystemVerilog function return value when the function's return type is an enum typedef with an explicitly declared base type such as logic 1:0 …
The task
Surelog does not preserve the enum kind of a SystemVerilog function return value when the function's return type is an enum typedef with an explicitly declared base type such as `logic [1:0]`. Elaborated UHDM represents that function's `vpiReturn` object as `logic_var` instead of `enum_var`.
Part of henryen/OriGent-SFT-Data.