kuznia-rdzeni / coreblocks

RISC-V out-of-order core for education and research purposes
https://kuznia-rdzeni.github.io/coreblocks/
BSD 3-Clause "New" or "Revised" License
33 stars 13 forks source link

Ring priority encoder #703

Closed lekcyjna123 closed 1 month ago

lekcyjna123 commented 1 month ago

Few times we had already a problem, where we would like to select something from the circular buffer. I have hit this once more in RS LSU and accidentally I have found out how to solve that issue. So here is an RingMultiPriorityEncoder which can be used in such situations.

ToDo:

Based on #573