Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). A Chisel Arbiter configured with exactly one input exposes an io.chosen output whose emitted hardware width is 1 bit. That width comes from the legacy log2Up convention, which incorrectly returns 1…
The task
A Chisel Arbiter configured with exactly one input exposes an io.chosen output whose emitted hardware width is 1 bit. That width comes from the legacy log2Up convention, which incorrectly returns 1 for an input value of 1. The selected index for a one-input arbiter is uniquely determined and needs no index bits.
Part of henryen/OriGent-SFT-Data.