Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). When a ChiselEnum member is defined with Value(UInt(literal)) , ChiselEnum currently discards any width explicitly specified on that literal. Width inference uses only the minimum number of bits…
The task
When a `ChiselEnum` member is defined with `Value(UInt(literal))`, `ChiselEnum` currently discards any width explicitly specified on that literal. Width inference uses only the minimum number of bits required by the literal's numeric value. Consequently, in this example:
Part of henryen/OriGent-SFT-Data.