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

[ESI] Lower ports with arrays of channels #5143

Open
teqdruid opened this issue May 5, 2023 · 0 comments
Open

[ESI] Lower ports with arrays of channels #5143

teqdruid opened this issue May 5, 2023 · 0 comments
Labels

Comments

@teqdruid
Copy link
Contributor

teqdruid commented May 5, 2023

When designing an arbiter (something which accepts N channels and muxes them into one), it'd be ideal to support lowering the following:

hw.module @Arb (%inputs: !hw.array<4 x !esi.channel<i32>>) -> ()

to something like:

hw.module @Arb (%inputs: !hw.array<4 x i32>, %inputs_valids: !hw.array<4 x i1>) -> (%inputs_readys: !hw.array<4 x i1>)
@teqdruid teqdruid added the ESI label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant