Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). When Surelog elaborates a SystemVerilog function whose return type is an enumeration and emits UHDM, it models the function's return variable from the enumeration's underlying base type instead of…
The task
When Surelog elaborates a SystemVerilog function whose return type is an enumeration and emits UHDM, it models the function's return variable from the enumeration's underlying base type instead of preserving the enumeration type. For example, a function returning an enum whose base type is logic [1:0] receives a…
Part of henryen/OriGent-SFT-Data.