Unverified Commit 6e75f67e authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Enable Cat of Zero Element Vec (#1623) (#1627)



* Return 0.U for asUInt of a zero-element Seq

Add a condition to SeqUtils.asUInt to have it return an unspecified
width 0.U when applied to an empty sequence. This enables the ability
to do a Cat of a zero-element sequence.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>

* Test elaboration of Cat on zero-element Seq

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit ac641fb1

)

Co-authored-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
parent 0ab89800
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment