summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/MultiAssign.scala
diff options
context:
space:
mode:
authormergify[bot]2023-01-09 22:57:22 +0000
committerGitHub2023-01-09 22:57:22 +0000
commit12785c6b2b8e378a5aa9db1833df7486d8f2a486 (patch)
treed2c33c19c9dca8fc52e522a3de15fdc89ff089a9 /src/test/scala/chiselTests/MultiAssign.scala
parent116210ff806ccdda91b4c3343f78bad66783d0e6 (diff)
Improve performance of ChiselEnum annotations (#2923) (#2927)
ChiselEnums check if they should create annotations every time an instance of them is bound. Because so many annotations would be created, they check to see if an equivalent annotation has already been added to the annotations. Previously, this used a linear search of the annotations, now it uses a HashSet. (cherry picked from commit 96bde092e449281dc70ebdb05f21695468c3e5fa) Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'src/test/scala/chiselTests/MultiAssign.scala')
0 files changed, 0 insertions, 0 deletions