diff options
| author | mergify[bot] | 2022-12-07 00:41:55 +0000 |
|---|---|---|
| committer | GitHub | 2022-12-07 00:41:55 +0000 |
| commit | 41d0d4cd075130cb6b4e41a7c7b6183830b5b9bc (patch) | |
| tree | 1a97fffec711926237366ecb3aa8648c55245df9 /src/main/scala/chisel3/util/experimental/decode/decoder.scala | |
| parent | fa11cd7b807656fd3ab8ef62530d77f669584239 (diff) | |
Make PriorityMux stack safe (backport #2854) (#2855)
* Make PriorityMux stack safe (#2854)
It used to be implemented with recursion, now it's implemented with a
stack safe reverse and foldLeft.
Also there were no tests for PriorityMux so I added one which helps
prove the change is functionally correct.
(cherry picked from commit 269ce472e9aa0c242fc028871a1fd5b045c82f83)
# Conflicts:
# src/test/scala/chiselTests/util/PipeSpec.scala
* Resolve backport conflicts
Co-authored-by: Jack Koenig <koenig@sifive.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/scala/chisel3/util/experimental/decode/decoder.scala')
0 files changed, 0 insertions, 0 deletions
