[ESI] Lower ports with arrays of channels
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
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>) -> ()
```
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>)
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides no file paths, tests, or entry points to begin from. Start by locating the existing ESI channel lowering and determine how array-typed channels are currently handled. Done means lowering the shown array-of-channel module signature into value, valid, and ready arrays with the stated types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100