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 that applies bitwise negation ( ~ ) to a sized, multi-bit integral constant, the constant is folded incorrectly. For example, a module may…
The task
When Surelog elaborates a SystemVerilog constant expression that applies bitwise negation (`~`) to a sized, multi-bit integral constant, the constant is folded incorrectly. For example, a module may declare `parameter logic [1:0] RESULT = 2'b00;` and an instantiation may override it with `.RESULT(~(2'b00))`. The…
Part of henryen/OriGent-SFT-Data.