Description
Is your feature request related to a problem? Please describe.
Similar to the ability to treat structs as signals in SystemVerilog.
Describe the solution you'd like
The LogicStructure
object would extend Logic
and could take a list of Logic
in its constructor. These LogicStructure
s could then be used just like a Logic
for assignments, conditional assignments, elements of interfaces, inputs/outputs of modules, etc.
The implementation of overridden Logic
methods would simply loop through the collection of Logic
s.
Down the road, this could potentially map to a generated SystemVerilog struct or be used to implement arrays convertible to SystemVerilog.
Describe alternatives you've considered
An alternative is to just let each user individually determine a convenient way to group signals. Probably many users would implement it similarly and have a same set of base requirements.