[enhancement] priority_sel should support any cases type #1729
Labels
dslx
DSLX (domain specific language) implementation / front-end
enhancement
New feature or request
🧦 sox
What's hard to do? (limit 100 words)
currently
priority_sel
can only be used w/ scalar type (uN
), see:https://google.github.io/xls/dslx_std/#priority_sel
Current best alternative workaround (limit 100 words)
using
one_hot
in combination w/ amatch
expression decoding the one_hot result and cases w/ arbitrary expression allow support for compound type likestruct
,tuple
andarray
.Your view of the "best case XLS enhancement" (limit 100 words)
making
priority_sel
support arbitrary types in the case array.The text was updated successfully, but these errors were encountered: