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 match bitpattern(w, bitpattern) currently returns only a one-bit WireVector indicating whether w matches a pattern. It accepts only 0 , 1 , ? , x , and X ; any other character is rejected with…

The task

PyRTL's `match_bitpattern(w, bitpattern)` currently returns only a one-bit WireVector indicating whether `w` matches a pattern. It accepts only `0`, `1`, `?`, `x`, and `X`; any other character is rejected with `pyrtl.PyrtlError`. This prevents wildcard positions from being exposed as named operand fields and prevents…

Part of henryen/OriGent-SFT-Data.