Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). The public pad operation on UInt and SInt loses literal identity when it widens a literal. For example, after 5.U.pad(8) or (-5).S.pad(8) , isLit returns false instead of true. The same happens for a…
The task
The public `pad` operation on `UInt` and `SInt` loses literal identity when it widens a literal. For example, after `5.U.pad(8)` or `(-5).S.pad(8)`, `isLit` returns false instead of true. The same happens for a literal with an explicitly declared width, such as `5.U(8.W).pad(16)` or `(-5).S(8.W).pad(16)`, whenever…
Part of henryen/OriGent-SFT-Data.