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 lacks an optimization for unnecessary memory-write priority relations. When an RTL memory is lowered to a $mem v2 memory cell, a write port's WR PRIORITY MASK may claim priority over another write port…

The task

Yosys lacks an optimization for unnecessary memory-write priority relations. When an RTL memory is lowered to a `$mem_v2` memory cell, a write port's `WR_PRIORITY_MASK` may claim priority over another write port even when the two ports can never write the same memory bit in the same clock cycle. This includes cases…

Part of henryen/OriGent-RL-Data.