portSubsetLogic property
latefinal
A Logic representation of the port subset.
If portSubset returns a Logic, this returns it directly. If it returns
a List<Logic>, this concatenates them using rswizzle()
.
For input or inOut ports, this 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
late final portSubsetLogic = portSubset is Logic
? portSubset as Logic
: (portSubset as List<Logic>).rswizzle();