summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrew Waterman2016-03-30 21:58:54 -0700
committerAndrew Waterman2016-04-01 16:34:35 -0700
commit001aab20b38861067f413bd6b828d7d4c40050ad (patch)
tree4726dbc97d2077fb3ea479bb545e979a4bda830f /src/test
parent8d71195234c18fb9148f7b198dbea60acd7f3e42 (diff)
Return Seq, not Vec, from PriorityEncoderOH
It doesn't really make sense to create a one-hot result then follow it with a decoder. It's more performant to use a PriorityEncoder followed by a comparator. Discourage the former by returning Seq, not Vec. In Chisel2, it seems the return type was originally Seq, but was at some point inadvertently changed to Vec.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions