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:
[x] make the tests common for MultiPriorityEncoder and RingMultiPriorityEncoder
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:
MultiPriorityEncoder
andRingMultiPriorityEncoder
Based on #573