Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). Chisel accepts a negative integer shift amount for static << and operations. For example, elaborating (x: UInt) -1 succeeds even though a negative shift amount is not a legal static shift. This occurs…
The task
Chisel accepts a negative integer shift amount for static `<<` and `>>` operations. For example, elaborating `(x: UInt) >> -1` succeeds even though a negative shift amount is not a legal static shift. This occurs for both left and right shifts on `UInt`, `SInt`, and `FixedPoint` operands, including when such an…
Part of henryen/OriGent-SFT-Data.