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). When Surelog elaborates a SystemVerilog constant expression containing $bits , it can reduce the argument prematurely. In particular, for $bits(routing matrix p 0 i ) , where routing matrix p is a…

The task

When Surelog elaborates a SystemVerilog constant expression containing `$bits`, it can reduce the argument prematurely. In particular, for `$bits(routing_matrix_p[0][i])`, where `routing_matrix_p` is a parameter whose unpacked dimension is derived from another parameter and `i` is a localparam integer, the emitted…

Part of henryen/OriGent-SFT-Data.