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). SystemVerilog constant evaluation of $bits mishandles a hierarchical-path operand that names a packed-struct member and then selects one element of that member's packed array. For a variable of a…

The task

SystemVerilog constant evaluation of `$bits` mishandles a hierarchical-path operand that names a packed-struct member and then selects one element of that member's packed array. For a variable of a packed struct type containing `logic [1:0][15:0] key`, evaluating `$bits(variable.key[0])` currently returns the width…

Part of henryen/OriGent-SFT-Data.