You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there is a VecInit.tabulate. But there isn't a VecInit.fill. This seems asymmetrical.
There is VecINit(Seq.fill(...) {...}) but this is more verbose. Why should there be one and not the other?
Type of issue: feature request
Impact: API addition (no impact on existing code)
Development Phase: request
Other information
It looks like there is a VecInit.tabulate. But there isn't a VecInit.fill. This seems asymmetrical.
There is VecINit(Seq.fill(...) {...}) but this is more verbose. Why should there be one and not the other?
https://www.chisel-lang.org/api/latest/chisel3/VecInit$.html#tabulate[T%3C:chisel3.Data](n:Int)(gen:Int=%3ET):chisel3.Vec[T]
If the current behavior is a bug, please provide the steps to reproduce the problem:
What is the current behavior?
There is only VecInit.tabulate, so you have to do somethign like VecInit.tabulate(num){unused => false.b})
What is the expected behavior?
That one could call VecInit.fill(num){false.b}
Please tell us about your environment:
What is the use case for changing the behavior?
more consistent, intuitive API
The text was updated successfully, but these errors were encountered: