coreblocks
coreblocks copied to clipboard
Ring priority encoder
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
andRingMultiPriorityEncoder
Based on #573