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 parses and elaborates a module containing typedef bit $clog2(9):1 clog2 index t; with UHDM generation and elaboration enabled, the generated UHDM model leaves the range bound as a $clog2…

The task

When Surelog parses and elaborates a module containing `typedef bit [$clog2(9):1] clog2_index_t;` with UHDM generation and elaboration enabled, the generated UHDM model leaves the range bound as a `$clog2` system-function call instead of evaluating the constant expression. This leaves an elaborated packed-array width…

Part of henryen/OriGent-SFT-Data.