Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). The chisel3.util.Enum generator mishandles one-entry enumerations. Enum(1) calculates log2Ceil(1) = 0 and therefore attempts to construct its sole UInt literal, 0, with a forced width of 0 bits…
The task
The chisel3.util.Enum generator mishandles one-entry enumerations. Enum(1) calculates log2Ceil(1) = 0 and therefore attempts to construct its sole UInt literal, 0, with a forced width of 0 bits. Literal construction rejects that value immediately with an IllegalArgumentException, before the returned enumeration…
Part of henryen/OriGent-SFT-Data.