Skip to content

ROHD swizzle output variable must be equal to the swizzle result width #308

Closed Answered by chykon
quekyj asked this question in Q&A
Discussion options

You must be logged in to vote

There is a method zeroExtend. Or have I misunderstood something?

f <= [d, c, a].rswizzle().zeroExtend(f.width);

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@quekyj
Comment options

@chykon
Comment options

Answer selected by quekyj
Comment options

You must be logged in to vote
4 replies
@chykon
Comment options

@mkorbel1
Comment options

@mkorbel1
Comment options

@mkorbel1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants