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 fixed-width shift helpers currently reject a Python integer as the shift amount. Calling pyrtl.shift left logical(w, 2) (and the corresponding arithmetic/logical right-shift helpers)…
The task
PyRTL's public fixed-width shift helpers currently reject a Python integer as the shift amount. Calling `pyrtl.shift_left_logical(w, 2)` (and the corresponding arithmetic/logical right-shift helpers) raises `pyrtl.PyrtlError`, forcing users to hand-write slicing and concatenation for a constant shift.
Part of henryen/OriGent-SFT-Data.