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 continuous assignment whose left-hand side is a variable bit-select with an arithmetic constant-expression index, it drops all but the first operand of that index. For…
The task
When Surelog elaborates a continuous assignment whose left-hand side is a variable bit-select with an arithmetic constant-expression index, it drops all but the first operand of that index. For example, with a local parameter I = 1, `logic [I-1:0] sig;` and `assign sig[I-1] = 1;`, the elaborated UHDM represents the…
Part of henryen/OriGent-SFT-Data.