HF RL Explorer

Repair a verified behavior in ucsbarchlab/pyrtl.

Repair a verified behavior in ucsbarchlab/pyrtl.: a task in OriGent-SFT-Data (Harbor dataset). PyRTL's optimization pass is supposed to support hardware blocks that have not yet been synthesized, including blocks containing multibit wires and higher-level nets. However, constant propagation…

The task

PyRTL's optimization pass is supposed to support hardware blocks that have not yet been synthesized, including blocks containing multibit wires and higher-level nets. However, constant propagation mishandles bitwise inversion of a multibit constant in such a block. For example, if a four-bit `pyrtl.Const` with value…

Part of henryen/OriGent-SFT-Data.