Repair a verified behavior in ucsbarchlab/pyrtl.
Repair a verified behavior in ucsbarchlab/pyrtl.: a task in OriGent-SFT-Data (Harbor dataset). PyRTL's public pyrtl.match bitpattern(w, bitpattern) helper incorrectly rejects otherwise valid bit patterns when the effective pattern contains no explicit 0 symbols, no explicit 1 symbols, or only…
The task
PyRTL's public `pyrtl.match_bitpattern(w, bitpattern)` helper incorrectly rejects otherwise valid bit patterns when the effective pattern contains no explicit `0` symbols, no explicit `1` symbols, or only wildcard symbols. For example, constructing a matcher for a 6-bit wire with `'?1??1?'`, `'00??00'`, or `'??????'`…
Part of henryen/OriGent-SFT-Data.