Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Commits on Oct 19, 2020

  1. 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: Schuyler Eldridge <schuyler.eldridge@sifive.com>
    
    * Test elaboration of Cat on zero-element Seq
    
    Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
    (cherry picked from commit ac641fb)
    seldridge authored and mergify-bot committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    9232b29 View commit details
    Browse the repository at this point in the history