Repair a verified behavior in pymtl/pymtl3.
Repair a verified behavior in pymtl/pymtl3.: a task in OriGent-SFT-Data (Harbor dataset). The public multi-entry stream queues NormalQueueRTL , PipeQueueRTL , and BypassQueueRTL in pymtl3.stdlib.stream.queues incorrectly assume that num entries is a power of two. A declared capacity such as 3 is…
The task
The public multi-entry stream queues `NormalQueueRTL`, `PipeQueueRTL`, and `BypassQueueRTL` in `pymtl3.stdlib.stream.queues` incorrectly assume that `num_entries` is a power of two. A declared capacity such as 3 is accepted by the constructor, but simulation can eventually raise an `IndexError` while using the queue.
Part of henryen/OriGent-SFT-Data.