diff options
| author | Andrew Waterman | 2016-03-30 21:58:54 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-04-01 16:34:35 -0700 |
| commit | 001aab20b38861067f413bd6b828d7d4c40050ad (patch) | |
| tree | 4726dbc97d2077fb3ea479bb545e979a4bda830f /src/test | |
| parent | 8d71195234c18fb9148f7b198dbea60acd7f3e42 (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
