Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). The elaborated UHDM model computes the SystemVerilog $bits size of an unpacked array as if only one element were present. For example, given logic 7:0 samples 2 , using $bits(samples) as a parameter…
The task
The elaborated UHDM model computes the SystemVerilog `$bits` size of an unpacked array as if only one element were present. For example, given `logic [7:0] samples [2]`, using `$bits(samples)` as a parameter override produces 8 instead of the specified total number of bits. This affects constant folding of the…
Part of henryen/OriGent-SFT-Data.