docs: def getRootIntfPort(port: LPort):
      """
      :return: most top port which contains this port
      """
      while True:
          if isinstance(port.parent, LNode):
              return port
          else:
              port = port.parent