Unverified Commit ac641fb1 authored by Schuyler Eldridge's avatar Schuyler Eldridge Committed by GitHub
Browse files

Enable Cat of Zero Element Vec (#1623)



* 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>
parent baea2da8
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