Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). Surelog's UHDM elaboration miscompiles a positional system-function argument that begins with a unary ~ or ! operator. Parsing and elaborating a legal expression such as result = data…
The task
Surelog's UHDM elaboration miscompiles a positional system-function argument that begins with a unary `~` or `!` operator. Parsing and elaborating a legal expression such as `result = data[$bits(~data)-1:0];` succeeds, but the resulting UHDM model gives that single `$bits` call two `vpiArgument` records: one for the…
Part of henryen/OriGent-SFT-Data.