pymtl / pymtl3

Pymtl 3 (Mamba), an open-source Python-based hardware generation, simulation, and verification framework
BSD 3-Clause "New" or "Revised" License
388 stars 46 forks source link

bypass queues should now support non-power-of-2 sizes #212

Closed nfc35 closed 3 years ago

nfc35 commented 3 years ago

Creating a pull request for a fix to the bypass queues in the ece5745-2021 version of pymtl3. Before they did not support queue sizes that were not a power of 2.

cbatten commented 3 years ago

@yo96 can you also take a look?

jsn1993 commented 3 years ago

@nfc35 Hey Nick, can you also add a test to the queue_test file to test non-power of two?

jsn1993 commented 3 years ago

@nfc35 good job! Next time you as the PR creator should be merging this.