isFullyConnected property
Whether all interface ports are fully connected to module ports.
An interface is considered fully connected when every port in the
interface has a corresponding PortMap that connects it to a physical
port on the module
.
Note: Partial connections (such as slices of interface ports) are not considered fully connected. This method does not currently verify that multiple slice connections collectively cover the entire interface port.
Implementation
bool get isFullyConnected => ports.every((port) => _portMaps.any((map) =>
map.interfacePort == port &&
map.isConnected &&
map.interfacePort is! SlicePortReference));