diff options
| author | Andrew Waterman | 2017-04-15 00:00:48 -0700 |
|---|---|---|
| committer | GitHub | 2017-04-15 00:00:48 -0700 |
| commit | bb12fe7f61d12f51cf5d56b2a66aca0a1234abb3 (patch) | |
| tree | d35d084caa11f654c66a3f423ac0444cda0fcd24 /src/main/scala/chisel3/util/Valid.scala | |
| parent | da8dad1acd37d1a67f52ffae0aa5cd8104598eac (diff) | |
Fix assignment from 0-entry Vec: add test (#580)
* Partially revert 8e4ddc62db448b613ae327792e72defca4d115d4
It was an incomplete fix for handling Vec(0).
* Fix assignment from 0-entry Vec: add test
375e2b6a0a456c55298d82837d28986de6211ebc introduced a regression for bundles
containing zero-entry Vecs. Until zero-width UInts are supported, the
zero-entry Vecs need to be flattened out before doing asUInt/asTypeOf on
a bundle. Undoing that commit's replacement of Data.flatten with
Aggregate.getElements is the best interim fix.
Diffstat (limited to 'src/main/scala/chisel3/util/Valid.scala')
0 files changed, 0 insertions, 0 deletions
