rohd
rohd copied to clipboard
Add automation to help with `List`s of signals as ports of a module
Motivation
There are scenarios where it's convenient to use a List<Logic>
, especially as an argument to functions or constructors for modules. Keeping it as a List
requires iterating through all the signals to punch associated ports. It would be nice to have some automation help with this.
Desired solution
One option might be to add a way to construct a LogicArray
from a List<Logic>
, which would make it easier to convert a List
argument to a LogicArray
port.
An alternative/addition might be to add something like addInputList
which automates punching a list of ports, with associated renaming.
Alternatives considered
No response
Additional details
No response