Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). In Chisel, the single-argument WireInit and RegInit constructors have the wrong width semantics when their initializer is a non-literal Bits value. For example, if source is an 8-bit hardware UInt …
The task
In Chisel, the single-argument `WireInit` and `RegInit` constructors have the wrong width semantics when their initializer is a non-literal `Bits` value. For example, if `source` is an 8-bit hardware `UInt`, both `WireInit(source)` and `RegInit(source)` currently copy width 8 into the result, so its width is already…
Part of henryen/OriGent-SFT-Data.