Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). Surelog incorrectly reduces the typespec that it emits for a SystemVerilog size cast when the cast width is a non-literal constant expression. For example, after declaring localparam CAST WIDTH = 2…
The task
Surelog incorrectly reduces the typespec that it emits for a SystemVerilog size cast when the cast width is a non-literal constant expression. For example, after declaring `localparam CAST_WIDTH = 2;`, the cast `(CAST_WIDTH + 1)'(hart_count)` is represented in elaborated UHDM as an `integer_typespec` whose immediate…
Part of henryen/OriGent-SFT-Data.