HF RL Explorer

Repair a verified behavior in yosyshq/yosys.

Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). Yosys mishandles member selection when a dimension of a packed struct member is declared with an ascending range. It computes the packed offset as though that dimension were descending, so SystemVerilog…

The task

Yosys mishandles member selection when a dimension of a packed struct member is declared with an ascending range. It computes the packed offset as though that dimension were descending, so SystemVerilog indexing and slicing select the wrong element or bits.

Part of henryen/OriGent-RL-Data.