portSubset property

  1. @override
Logic portSubset
latefinal

The port subset that this reference represents.

Returns either a Logic signal or a List<Logic> that can be used for driving connections. The exact type depends on whether this is a simple port reference or a complex sliced reference.

For input or inOut ports, the returned value should only be used to drive logic within the module. For output ports, it can be used to drive logic either within or outside of the module.

Implementation

@override
late final Logic portSubset = port;