Repair a verified behavior in chipsalliance/chisel.
Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). Attempting to construct a Chisel util Queue with zero entries through Queue.apply fails during FIRRTL emission because the generated hardware contains a zero-sized memory. A depth-zero queue has no…
The task
Attempting to construct a Chisel util Queue with zero entries through Queue.apply fails during FIRRTL emission because the generated hardware contains a zero-sized memory. A depth-zero queue has no storage, so Queue.apply(enq, 0) must be valid and return a DecoupledIO that directly connects the enqueue and dequeue…
Part of henryen/OriGent-SFT-Data.