@internal<EOL><INDENT>def _cleanAsSubunit(self):<DEDENT>
for pi in self._entity.ports:<EOL><INDENT>pi.connectInternSig()<EOL><DEDENT>for i in chain(self._interfaces, self._private_interfaces):<EOL><INDENT>i._clean()<EOL><DEDENT>
Disconnect internal signals so unit can be reused by parent unit